Repository navigation
chore(ci): fold node-slot scheduling into the priority scheduler #5073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 (optional) Once operators delete
NODE_SLOT_SCHEDULER_ENABLEDas the rollout says, reruns of pre-merge runs and dispatches from unrebased branches queue withoutnodes:Nand never start. Those runs read the old templates, which addnodes:Nonly when that variable is 'true'. Their fallback array is["self-hosted",runner,ci-job-*,ci-attempt-*]. AGENTS.md:86 says a job withoutnodes:Ncan never be admitted. Fix: keep the variable set to 'true' until no run can still read an old template, and say so in RUNNER_SETUP.md. That means outliving the 30-day rerun window and every branch that still has the gatedruns-on.Why this was flagged
The PR description's rollout says to run
gh variable delete NODE_SLOT_SCHEDULER_ENABLEDafter merge. A rerun of a run started before the merge uses that run's original workflow commit but readsvarswhen it reruns. In the base benchmark-tmpl.yml and benchmark-multinode-tmpl.yml, and in profile.yml, speedbench-al.yml and collectivex-sweep.yml, thevars.NODE_SLOT_SCHEDULER_ENABLED == 'true'branch is false once the variable is deleted. The||fallback then emits a label list withoutnodes:N. Manual workflow_dispatch of e2e-tests.yml, profile.yml or speedbench-al.yml from a feature branch cut before this merge hits the same path. AGENTS.md:86 says such a job is ineligible for priority scheduling and labels cannot be added later, so it stays queued until it times out. On the base branch, with the variable left at 'true', these jobs carrynodes:Nand get admitted. Nothing in the repo warns operators to wait before deleting the variable.Verification: Trigger: an operator deletes
NODE_SLOT_SCHEDULER_ENABLEDas the PR's Rollout section says. AGENTS.md:86 (base, unchanged) says: "A queued job without the label is ineligible for priority scheduling, and labels cannot be added later". The diff also drops the variable from RUNNER_SETUP.md:207-208, so no doc tells operators to keep it until old runs age out.