feat: NMv3: add read-only results API to orchestrator#6689
Merged
jstuczyn merged 8 commits intofeat/mix-stress-testingfrom Apr 24, 2026
Merged
feat: NMv3: add read-only results API to orchestrator#6689jstuczyn merged 8 commits intofeat/mix-stress-testingfrom
jstuczyn merged 8 commits intofeat/mix-stress-testingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
76e7f2a to
cd9f5c7
Compare
f884718 to
8fe23c4
Compare
8fe23c4 to
a882e15
Compare
cd9f5c7 to
66e6a6b
Compare
a882e15 to
d4f290c
Compare
66e6a6b to
830b33e
Compare
830b33e to
1030c3f
Compare
d4f290c to
2bdd601
Compare
1030c3f to
4084616
Compare
2bdd601 to
0f82710
Compare
4084616 to
c18dbf8
Compare
0f82710 to
302c8bf
Compare
c18dbf8 to
6f73cab
Compare
302c8bf to
267c5f0
Compare
9f6388f to
2d32e37
Compare
Base automatically changed from
feat/nmv3-results-eviction
to
feat/mix-stress-testing
April 24, 2026 09:24
267c5f0 to
0a22d03
Compare
simonwicky
approved these changes
Apr 24, 2026
|
|
||
| /// Selects the most stale idle node and atomically marks it as having a test | ||
| /// in progress. Returns `None` if no node is currently eligible. | ||
| pub(crate) async fn assign_next_testrun(&self) -> Result<Option<TestRunAssignment>, ApiError> { |
Contributor
There was a problem hiding this comment.
We seem to have a mix of functions being defined here and some directly in the endpoint function.
Am I missing something? Any reason for that?
Contributor
Author
There was a problem hiding this comment.
just a stylistic choice to not have to deal with storage on the endpoint level, especially if calls interact with multiple things on the state
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-752
Summary
/v1/results/*that expose the orchestrator's local SQLite database to external consumers (grafana, harbourmaster, etc.)metrics_and_resultsbearer tokenPagination/PagedResult<T>contract, matching the other endpointsidx_testrun_test_timestampmigration index to support efficient global test-run pagination without a full-table scanresponsesblocks on all agent and results handlers now document 4xx/5xx error shapes alongside the happy-path 200This change is