Repository navigation
ci(dev publisher): verify takes an idle owned runner before it waits on the fleet #35388
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
+149
−2
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
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
Script executed:
Repository: manaflow-ai/cmux
Length of output: 5566
Script executed:
Repository: manaflow-ai/cmux
Length of output: 28753
Script executed:
Repository: manaflow-ai/cmux
Length of output: 16553
Script executed:
Repository: manaflow-ai/cmux
Length of output: 18439
Count the DMG machine when verify takes a root label.
When
verifytakes a root label andtip-dmg-buildkeeps the pool label, this expression records one job. The run still places two owned machines. Untiltip-dmg-buildis queued, the janitor reserves only one machine on the pool. Another pick can then take the machine thattip-dmg-buildneeds. The marker format carries one peak for both the root and pool labels, so changing this expression alone would also over-reserve the root label. Pick a marker shape that records the pool demand separately.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.
Thanks. The gap is real, but it lasts only seconds.
verifyandtip-dmg-buildboth haveneeds: [sign, runner], so both queue as soon as the runner job finishes, a few seconds after this marker is uploaded. From then on the janitor countstip-dmg-buildfrom its own queued job on the pool label. Before that, a marker of 2 on the root label would over-reserve the root label. So this keeps the 1-job marker. A marker that carries two pools is a format change for the janitor and the rescue, and it isn't worth that for a window of a few seconds.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.
@teamleaderleo Understood. Both jobs become eligible when
runnerfinishes. The remaining concern is the pre-queue accounting gap, which you accept. Keeping the 1-job marker avoids over-reserving the root label. I won’t pursue the marker-format change for this PR.You are interacting with an AI system.