Repository navigation
test(submit): event-gate the stack_link shared-deadline test (RIG-8606) - #56
Merged
rigel-nemo[bot] merged 1 commit intoNov 17, 2026
Conversation
Refs RIG-8606 Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Checks read:
|
rigel-nemo
Bot
deleted the
ci-pipelines/rig-8606-event-gate-the-stack-link-shared
branch
November 17, 2026 16:41
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.
What does this do
Rewrites
graph_jj_calls_and_gh_stack_share_one_deadlineso it no longer depends on wall-clock sleeps. The fakejjandgh-stackscripts block until the test releases them, which happens only after the shared deadline has passed.Why do we need it
The old test used 0.4 s jj sleeps and a 3.5 s gh-stack sleep inside a 4 s budget. Under load, the graph rebuild used the whole budget, and the test saw the wrong warning.
Summary
graphmode gates the second graph jj call.ghmode gates gh-stack. A thread creates anexpiredfile at the deadline to release them.process.rsstay as they are.Verification
Run with the pinned nightly toolchain:
cargo fmt --check: clean.cargo clippy --all-targets: only the existingtoo_many_linesclass.cargo test --features no-e2e-tests: 473 passed, 0 failed. The forge e2e tests need credentials and were not run.cargo testruns: 50/50 passed.got Linked. Reverted.Risks
Test-only change. The test waits out a 5 s budget once.
Stepped up from implement-rust after 14 min of reading with no edits.
Spec impact
Spec-impact: none
Checks skipped:
jj-vine has no pre-push hook config on rigel-release; GitHub Actions ci.yml runs its checks (RIG-10545)Refs RIG-8606
Co-authored-by: Matt Wilkinson matt@rigel.build