Repository navigation
Weekly test health passes again with freshly recorded test times (GST-3385) - #4633
Merged
Merged
Conversation
…-3385) Re-records the per-file run times for all 1,739 free test files so the weekly health check no longer finds more than five files without one. Two files now over 60 seconds get allowlist entries with a todo to split them. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
Merged
3 tasks done
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.
The Weekly test health check has failed on main three Mondays running because more than five free test files had no recorded run time. This re-records the times for all 1,739 files so it passes again.
No test, threshold or workflow changes; two files now over 60 seconds get allowlist entries with a todo to split them. Nothing to do.
What changed
The weekly health report kept going red on one check: "Free test files missing from the duration seed". New test files had landed without a recorded run time (7 on main today), and the free suite uses those times to split files across its parallel jobs. The times are now re-recorded for every one of the 1,739 free test files, so the check reports 0 missing (limit 5). Two files that now run past the 60-second limit, test/gstack-capy-install.test.ts (71 s) and test/harness-register.test.ts (68 s), get allowlist entries with a todo to split them, and crew/test/ship-queue-train-land.test.ts leaves the allowlist because it now runs in 55 s.
Why
The free suite splits its files across parallel jobs using these recorded times, and the weekly health report fails while more than five files have none. The last three weekly refresh PRs closed unmerged, so the times fell behind.
Blast radius
Only data files change: scripts/free-test-durations.json, scripts/free-test-seed-allowlist.json and one release-note fragment. The free suite's job split reads the new times, and the CI free-suite run at this head (44951632396) passed all 1,732 files it owed, so the new split runs clean.
Pre-Landing Review
No issues found. Five readers (a batched specialist, a red team, an adversarial reader, a second-model review on GPT-6.1 Sol and a targeted reader) read the diff; none found a blocking problem. The second-model review's verdict was clean.
Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
scripts/free-test-seed-allowlist.json:21New allowlist reasons name no recording run idscripts/free-test-durations.json:3Timings from a manual standard-8 run may under-predict CI shard times (warning noise only)changelog.d/free-seed-refresh-2026-11-21.md:1Changelog history figure (16 missing on 11-16) not verified by the readerExploratory QA
Functional smoke, 2 probes, both pass: the health check's missing-times check reports "0 unseeded file(s) (limit 5)" at this head, and the recorded times match the free test list one to one (1,739 each, none missing, none extra).
Verification Results
No plan file, so no plan checks: 0 PASS, 0 FAIL, 0 BLOCKED, 0 NOT RUN. The repro on main 6263e0e reports "stale seed: 7 unseeded file(s) > 5".
TODOS
No TODO items completed in this PR.
Documentation
Scope: This branch re-records the free-test run times (
scripts/free-test-durations.json) and updates the allowlist of slow test files (scripts/free-test-seed-allowlist.json): it addstest/gstack-capy-install.test.tsandtest/harness-register.test.tsand removescrew/test/ship-queue-train-land.test.ts. It also adds a release-note fragment inchangelog.d/. The audit checked the docs that describe these files:docs/TESTING_INTERNALS.md,CONTRIBUTING.mdanddocs/pregate.md.Result: All docs are current, and no edits were needed. The docs explain how the recorded times and the allowlist work and how to refresh them. That explanation still holds after this change.
Debt:
docs/pregate.md(line 190) still quotes seed timings from the 2026-10-19 recording, so its numbers may no longer match the new recording. It was left as written.Tests
Agent notes
Recorded with
bun run test:ubicloud --record-durationson ubicloud-standard-8, GSTACK_FREE_JOBS=2, 0 files failed. Allowlist reconciled withscripts/free-seed-allowlist.ts --reconcile.Approvals
No approvals recorded for branch ci/refresh-free-seed-gsta748.
Plan: exempt: bug fix (stale data repair, --kind fix) with a repro on main 6263e0e
Plan check: exempt bug fix
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=3 fixed=0 scope=frozen ledgers_read=2 dispatches=2
Gate edits: none detected (0 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Refs GSTA-748