feat: NMv3: submission of stress testing result into nym-api#6709
Merged
jstuczyn merged 12 commits intofeat/mix-stress-testingfrom Apr 27, 2026
Merged
feat: NMv3: submission of stress testing result into nym-api#6709jstuczyn merged 12 commits intofeat/mix-stress-testingfrom
jstuczyn merged 12 commits intofeat/mix-stress-testingfrom
Conversation
1d4db7d to
f99fc63
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Base automatically changed from
feat/nmv3-orchestrator-prometheus
to
feat/mix-stress-testing
April 24, 2026 10:00
f99fc63 to
ca10f32
Compare
7d2ffc5 to
b18612e
Compare
simonwicky
reviewed
Apr 27, 2026
simonwicky
approved these changes
Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NYM-749
Summary
Allow the network monitor orchestrator to submit stress-testing results to the nym-api over a signed, authenticated channel.
spawning background tasks.
ResultSubmittertask periodically drains freshly-completedtestrunrows, wraps them in a signedStressTestBatchSubmission, and POSTs them to nym-api. Watermark isadvanced only on POST success (at-least-once delivery — losing measurements is worse than occasional duplicates).
POST /v3/nym-nodes/stress-testing/batch-submit— staleness check, authorised-set membership, monotonic-timestamp replay protection, signature verify, then per-entry insert.GET /v3/nym-nodes/stress-testing/known-monitors/{identity_key}— lets orchestrators self-check authorisation after announcing their key.testrun_id, stored alongside the submitter's pubkey as a composite primary key. Retried submissions drop duplicates viaINSERT OR IGNORE.Results are persisted but not yet consumed — downstream usage lands in a follow-up PR.
This change is