Skip to content

feat: NMv3: per kind scheduling - #7095

Open
jstuczyn wants to merge 6 commits into
feat/nmv3-per-kind-storagefrom
feat/nmv3-per-kind-scheduling
Open

feat: NMv3: per kind scheduling#7095
jstuczyn wants to merge 6 commits into
feat/nmv3-per-kind-storagefrom
feat/nmv3-per-kind-scheduling

Conversation

@jstuczyn

@jstuczyn jstuczyn commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

The orchestrator can now assign liveness work as well as stress work.

  • assign_next_mixnode_testrun becomes assign_next_testruns(&AssignmentRequest), taking a TestPairing (kind + role) and returning a wave. Per-role eligibility adds the node types a role may assign plus the fields its probe needs.
  • Kind selection: a per-request cursor rotates over TestKind (via strum, so a new kind joins by existing), skipping disabled kinds and falling through when one has nothing due. Within a kind, the pairing whose next node is furthest behind wins, so the two liveness roles interleave by need rather than by a fixed share.
  • The node refresher learns each gateway's plain client websocket port.
  • Config: liveness cadence (15m), lease (1m), per-role wave sizes (100 mixnode / 50 gateway), enable flag. Nine new prometheus series: assignments and wave sizes per pairing, in-progress counts and lease expiries per kind.

This change is Reviewable

@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-nextra Ready Ready Preview Aug 25, 2026 1:42pm
nym-explorer-v2 Ready Ready Preview Aug 25, 2026 1:42pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
nym-node-status Ignored Ignored Aug 25, 2026 1:42pm

Request Review

@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f47e5ef2-10db-422f-a15a-3b6b856ad7b5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant