Repository navigation
ci(nightly): route benchmarks get their own job, so route-sweep fits its hour - #9751
Merged
Merged
Conversation
Quest-Claim: 96d36b09ee4e408c
…-bench Nightly's route-sweep job hit its 60-minute timeout every night since the benchmark steps came back: the bake-off growth alone takes 15 to 25 minutes and warmth's growth never finished. The sweeps stay in test route-sweep; the bake-off, warmth, and node-layer benchmarks move to test route-bench, its own Nightly matrix entry, in one nextest run so the three growth sweeps share the cores instead of queueing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…marks, and the Test step fails before the job times out Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kixelated
marked this pull request as ready for review
November 27, 2026 11:16
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 13 minutes. View limit details
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. |
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.
Finishes quest/m0/nightly/route-sweep-split.md.
Nightly's
Tests (test route-sweep)has been cancelled at its 60-minute job timeout every night since its benchmark steps came back: after about 25 minutes of builds,bakeoff::benchmark_bakeoff_growthtakes 15 to 25 minutes, andwarmth::benchmark_warmth_growthwas still running when the job was cancelled (45667362304, 45867457463). The node layer benchmarks never ran.Summary
test route-sweepkeeps the sweeps: the mesh sweep, then the bake-off prototype's and the multicast router's ignored sweeps and searches, now one nextest run instead of two.test route-bench(test/route-bench.sh) runs every routebenchmark_test (bake-off, multicast router, warmth, node layer) in one nextest run, so the three long growth sweeps run side by side on the runner's cores instead of one after another. Same release build with debug assertions and overflow checks as before.route-benchpasses--success-output immediate, so a green Nightly log now holds the tables these benchmarks exist to print; before, nextest swallowed them on success.test route-benchis a new entry in Nightly'stestsmatrix. The matrix comments drop the stale handoff sweep line (deleted in moq-dev/moq#9200) and move the bandwidth probe line back underrs quic-sim, where it belongs.testsjob's Test step gets the 55-minute step timeout thenightlyjob already has, so a recipe that overruns fails the job (where Nightly's failure triage looks) instead of getting cancelled.MOQ_BAKEOFF_RELAYSis no longer set: the bake-off failure table now covers 32 relays too (about 20 s more, on a spare core, since the arms that hunt skip big meshes), and the node layer already ran at both sizes.#[ignore]reasons point attest/route-bench.sh.Public API: none. Wire: none.
Decisions
route-benchmatrix entry, not one per benchmark family. Each entry would rebuild moq-net's release lib tests (about 8 minutes), and warmth's growth alone sets the floor either way, so a split adds builds without shortening the longest job.benchmark_tests (about 10 to 20 s each) toroute-benchtoo, soroute-sweepholds only sweeps and every route table prints in one place.Validation
Local runs of both recipes (Ryzen 9950X, nextest held to 4 threads like the runner), first on an idle host, then on the final head under load from other jobs:
just test route-sweepjust test route-benchThe final head's
route-benchlog printed every table (7171 lines).CI estimate from the last three nights' logs: the bake-off growth took 899 to 1135 s on the runner against 713 s here (1.3 to 1.6 times; the quest saw up to 1535 s, 2.2 times).
route-sweep: about 26 minutes (16 to 19 min integration build, 80 to 92 s mesh sweep, 7.5 min lib build, under a minute of sweeps).route-bench: about 20 to 32 minutes for warmth's growth plus an 8 to 17 minute lib build, so 30 to 50 minutes. Under the hour, with the least margin on a night as slow as the 1535 s one.just checkpassed on both heads.Caused by
No single PR: the benchmark steps accumulated in route-sweep across moq-dev/moq#8880, moq-dev/moq#8986, and moq-dev/moq#9149 while an empty filter failed the job early; moq-dev/moq#9200 fixed the filter and exposed the total.
Models
Size: S
Implementer: Claude Code, claude-opus-5-5, unknown (arm A)
(Written by Claude Opus 5.5)
Review
Rewritten by
quest reviewafter each round.Head: a5c3168
Base: origin/main at 406c107
Risk: high,
it changes .github/workflows/nightly.yml, which is always high: workflows run with the repository's secretsClassified: high by the always-high paths
Risk file: bb7b1c0de60b
Reviewer: Codex, gpt-6.2-sol, medium effort
Session:
01a21c7f-e13a-7ac1-a7b9-3a721a201742, round 2Score: 10/10,
Successful runs now print the benchmark tables, and the revised filters preserve both the sweep and benchmark coverage.Rounds: 2; first round 1 (high 1); findings 1 (high 1): fixed 1, refuted 0, open 0
Findings: none
Notes, the author's to take or leave:
.github/workflows/nightly.yml:506:Clarify when the Test step timeout takes effectThe last round's findings, at eda3f66:
test/route-bench.sh:12:Show successful route benchmark tables in Nightly;`test/route-bench.sh:14` passes `--success-output immediate`, so nextest prints each successful benchmark's table as it finishes.Reviewer: Claude Code, claude-opus-5-5, medium effort, second
Session:
992c8c93-9a0f-419b-b1ac-f6802ac3ce2d, round 2Score: 9/10,
Both earlier findings are settled: the 32-relay bake-off rows are cheap because the hunting arms are skipped, and the comment and step timeout now match measured runs while the Nightly epic tracks the overrun risk. The new route-sweep/route-bench filters split the ignored tests cleanly.Rounds: 2; first round 2 (medium 2); findings 2 (medium 2): fixed 1, refuted 1, open 0
Findings: none
The last round's findings, at eda3f66:
test/route-bench.sh:12:Bake-off failures table now also runs at 32 relays;rs/moq-net/src/route/tests/bakeoff.rs:877-878 skips the hunting arms on meshes over 16 relays, and the author measured the 32-relay rows at 17.6 s (84 s for the whole test under load) on a spare nextest thread, so they don't lengthen route-bench's wall time..github/workflows/nightly.yml:451:Unmeasured runtime claim, and the tracking quest is deleted;The nightly.yml comment now gives the measured 15 to 25 minutes (899 to 1535 s across cited runs). The Test step has `timeout-minutes: 55` (.github/workflows/nightly.yml:509), so an overrun fails the job instead of being cancelled, and quest/m0/nightly/README.md:25 still tracks confirming that a scheduled run on main passes.