Repository navigation
v1.92.30.0 test(free): split files over the 60 s seed ceiling and the Windows doctor file, then reseed (GSTA-151 A) - #3585
Conversation
…ctor file Eight free test files the fresh recordings put over the seed ratchet's 60 s ceiling, and test/gstack-doctor.test.ts (343 s on Windows), are split by describe block or test with shared helpers moved to test/helpers/. Test bodies are unchanged. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Recorded by free-durations-record.yml (open_pr=false) run 40818261447 at ec6faf1: 1,416 Linux files on ubicloud-standard-8 and the 795 curated Windows files on windows-latest. test/setup-codex-scope.test.ts fell to 49 s and leaves the seed allowlist. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Lane timing, 3 runs per arm (GSTA-151 acceptance)Dispatched at base 4729f47 (
Every head run beats every base run on both slowest-shard measures. The spread within each arm (Linux ≤9 s, Windows ≤72 s) is smaller than the gap. What moved is balance: with the stale seed every planned shard predicted 441 s and the packer put the long files together, so the critical path was one overloaded shard. Total work, and so billed minutes, is unchanged, as the plan said (the cost levers are GSTA-149's shard count and per-job setup). Wall-clock time from dispatch includes runner queueing, so I'm not using it as a claim. Runs: head 40823621167, 40823631994, 40823640446 (Linux), 40823626427, 40823635082, 40823643737 (Windows); base 40823690437, 40823696034, 40823701378 (Linux), 40823693008, 40823698517, 40823704982 (Windows). |
… grant, GSTA-36) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ling; keep setup-codex-scope allowlisted The reseed at the main merge (free-durations-record run 41226501374, 221320e) put test/ubicloud-runner.test.ts, which main added after this branch's first reseed, at 127 s and test/setup-codex-scope.test.ts back at 66 s. The fake-API cases move into four parts by describe topic with their shared fake VM in test/helpers/ubi-runner-fake-vm.ts (46 tests before and after). The allowlist keeps main's setup-codex-scope entry. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ragment Recorded by free-durations-record.yml (open_pr=false) run 41229924108 at 4f5bd2d: 1,470 Linux files on ubicloud-standard-8 and 822 curated Windows files. The Windows recorder was red on browse/test/cookie-import-native-job.test.ts (known Edge leak) and test/hook-scripts.test.ts, plus test/free-seed-ratchet.test.ts on both OSes against the pre-reseed seed; their durations are kept. The CHANGELOG entry moves to changelog.d/ now that main runs on fragments. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…s after the split Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…grant 2, GSTA-36) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…grant 3, GSTA-36) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Rule 19 grant (GStack Minder). #3585 split test/ubicloud-runner.test.ts; the four tests this branch added move unchanged into test/ubicloud-runner.test.ts and test/ubicloud-runner-verify-quota.test.ts, and the fake API's list/show change moves into test/helpers/ubi-runner-fake-vm.ts. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Rule 19 grant (GStack Minder), after #3746 landed as v1.92.41.0. #3585 split test/ubicloud-runner.test.ts; this branch's test edits move unchanged into test/ubicloud-runner.test.ts, -run and -verify-quota. The #3746 changelog fragment is dropped: main already carries it in CHANGELOG.md. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
What changed
This PR splits every free test file that the fresh duration recordings put over the free seed ratchet's 60 s ceiling, including
test/ubicloud-runner.test.ts, which arrived from main at 127 s. It also splitstest/gstack-doctor.test.ts, the Windows lane's longest file, by measured Windows time, and it re-records both duration seeds so the shard packer balances on real numbers. Test bodies move unchanged, and no assertion, threshold, timeout or tier changes.The free-suite duration seed now covers every planned file, so the shard packer balances on measured times instead of a flat 441 s guess. No image render is available on this machine, so the comparison is below as text.
Before/after as text: the free-suite duration seed now covers every planned file
Why
GSTA-151 free-suite latency pass (Garry: "Can we also add a ci and evals and unit test audit and a reduce cost and latency without reducing coverage pass?"). The committed seed (2026-10-19) misses 117 of 1,401 files, so every CI plan predicts 441 s for every shard and the slowest shard runs about 1.46× the mean on every run. The weekly seed PR #3452 cannot land, because its own body shows the 60 s ratchet failing. Audit: GStack Minder drive
reports/GSTA-151-audit.md(F1, F2).Since the last READY (6d71fc1)
CHANGELOG.mdtook main's side, andtest/gstack-doctor.test.tskept the split, with main's two new COPIED entries moved intotest/helpers/doctor-fixture.ts.test/ubicloud-runner.test.ts(127 s, new on main) into it plus-run,-verify-quota,-reattachand-tiers, with the shared fake API and fake VM intest/helpers/ubi-runner-fake-vm.ts. It adds the matching Windows curation and test-of-test ratchet entries, and it keeps main's allowlist entry fortest/setup-codex-scope.test.ts, which now records 77 s.free-durations-record.ymlrun 41229924108 and moves the release note tochangelog.d/capy-split-files-over-the.md.docs/TESTING_INTERNALS.mdat the split ubicloud-runner files and their fake-VM helper.Splits
useDoctorCleanup()per file)Gate edits (listed for review)
scripts/lib/windows-curation.ts: the two new doctor parts joinKNOWN_WINDOWS_SAFE. New parts of POSIX-only files get the sameKNOWN_WINDOWS_INCOMPATIBLEentries their originals had, andtest/ubicloud-runner-tiers.test.tsgets an explicit exclusion because its shims now live in a helper the source scan doesn't read. At this head the curated Windows list is 822 files: 820 at base 5ba425a plus the two doctor parts, and no file left the set.WINDOWS_CURATED_FLOOR638 → 795.test/test-of-test-ratchet.test.ts: BASELINE entries, each with a reason, for split parts whose product reach (bin/ paths, ./setup) now lives in a shared helper.scripts/typecheck-test-baseline.json: one known diagnostic moved with its code into the new checker helper.test/helpers/free-fixtures-data.ts: two fixture consumers now name the replays part.scripts/free-test-seed-allowlist.json: unchanged from main. Every Linux file over 60 s in the new seed is on it, and no entry was added.Seeds
Both seeds were re-recorded at this branch by
free-durations-record.ymlrun 41229924108 (open_pr=false): 1,470 Linux files and the 822 curated Windows files, so every planned file is covered. Linux files over 5 s recorded a median 1.26× slower than this branch's earlier recording on 2026-10-29 (run 40818261447). A second recording, run 41226501374, came in at 1.29×, so the slowdown reflects the runner's current speed, not one noisy run. The Windows recorder is not a PR check. In it,test/hook-scripts.test.tsandbrowse/test/cookie-import-native-job.test.tswent red; neither file is touched here, and their durations are kept as the workflow documents. The ubicloud-runner parts record 16 to 31 s each. The Windows doctor split took the longest Windows file from 647 s to parts of 187, 162 and 170 s.Evidence
test/ubicloud-runner.test.tsappear exactly once across the five parts, and a line-by-line comparison of every test body found 0 differences. origin/main has not changed that file since the merged 5ba425a. Every part and the fake-VM helper run withUBICLOUD_API_KEY=offlineand shim binaries first on PATH, and the reap cases passUBI_REAP=0, so no test can reach a real VM.test()declarations byte-identical; the other two are loop-parameterized tests whose body moved into a helper. At this head the red team re-counted test registrations per family against base: ship-queue-train 101/101, ubicloud-runner 46/46, gstack-doctor 51/51, shared-libs evidence 21/21, claude-overlay 12/12 and host-renders-prune 6/6.Approvals
Source: gstack-approvals record for capy/split-files-over-the (display only; not an approval citation).
The rule 19 main-merge grant for this PR came from GStack Minder (GSTA-36). Merge commit 221320e used it once, and it is now spent.
Blast radius
Test code, seed data and two doc corrections only. Nothing under
bin/,lib/,setup,browse/srcor any skill template changes, so nothing a user runs changes. The only non-test code touched isscripts/lib/windows-curation.tsdata, which only the CI planners read. That is safe because the planners, the curation and the ratchets that read the edited data ran green at this head in the focused lane, the remote pregate and the PR checks.Summary
Ten free test files ran past the 60 s ceiling or held up the Windows lane, and a stale seed made every shard plan guess. They are split along describe blocks with their setup moved into helpers. The gates change only for the new file names, and both duration seeds are re-recorded at this branch. The release note is in
changelog.d/capy-split-files-over-the.md, and the version is stamped at merge.Test Coverage
The diff is test-only, so there are no new application code paths to audit (coverage gate skipped, coverage null).
Tests ran: focused 88 (free-seed-ratchet, windows-native-workflows, test-of-test-ratchet, free-fixtures, module-size-ratchet, spawnsync-timeout-tripwire and the five ubicloud-runner files, at 6f57c38)
Tests ran: remote-pregate 9844 (295 selected files on one Ubicloud VM, 0 failed, $0.05, tree ff381c7)
Pre-Landing Review
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=2 fixed=0 scope=frozen fix_checks=1 dispatches=3
Gate edits: partial (9 of 23 eligible read by gstack-gate-diff; 54 listed, tagged RH-1:10, 0 findings). Every RH-1 hunk is a test declaration removed from an original, and the name and body comparisons above show each one present in a part file.
Readers at dcd545e (tree 80ad72f): batched specialist (testing, security, state-machines) 1 INFO; red team 1 INFO; adversarial (native, Claude) 3 Low, none blocking; outside voice (OpenAI gpt-6.1-sol, cross-family) no findings; targeted (gate, secret) no findings. Two readers flagged the stale seed-ceiling TODO. The docs step corrected it in 6f57c38, and one fix-check reviewer found nothing in that commit.
Review notes
These are below the blocking floor and are not fixed in this PR.
test/windows-native-workflows.test.ts:23: the floor is 795, but 822 files are curated at this head. Main added Windows-safe files after the floor was set, so up to 27 could leave the Windows lane before the floor test fails. Raising the floor touches the same line as sibling Windows PRs, so it is left for the next curation change.scripts/free-test-seed-allowlist.json:test/setup-install-registry.test.tswent from 84 s to 117 s (1.39×), more than the runner-wide 1.26–1.29×, and the allowlist hides the growth. The allowlist reasons still cite the older 82 s / 89 s / 64 s.test/setup-codex-scope-review-boundaries.test.tsisskipIf(win32)throughout, yet it counts toward the Windows floor.test/ship-queue-train.test.tsheader still lists describes that moved; a moved comment in-freezesays "the freeze test above"; thecapturesmap intest/helpers/shared-libs-checker-evidence.tsis shared across two part files (no key overlap today); seven test-of-test BASELINE rows count only because product references moved into helpers; the docsync child runner is copied into three files.Exploratory QA
There is no user-facing surface, because the diff is test code, seed data and docs. The smoke checks ran as the focused lane (88 pass at 6f57c38) and the remote pregate.
Design Review
No frontend files changed, so the design review was skipped.
Eval Results
No prompt-related files changed, so evals were skipped.
Plan Completion
Plan: autoplan run autoplan-20261029032919 on the GSTA-151 lane machine (not bound to this branch here). Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). The PR A scope in the approval row (the splits, the doctor split and the reseed) is what the diff contains.
TODOS
No TODO items are completed in this PR. The seed-ceiling entry now lists the three files still allowlisted, with their times in the new seed.
Documentation
Status: current. The read-only audit of capy/split-files-over-the (base 5ba425a, head 6f57c38) found no needed documentation changes.
Scope: 46 committed files: test-file splits into new parts and test/helpers/, re-recorded duration seeds, Windows curation entries, the test-of-test ratchet, the typecheck baseline, plus TODOS.md, one changelog.d fragment and docs/TESTING_INTERNALS.md. The candidate has no staged, unstaged or untracked content. No product code, commands, flags or skills changed.
Documentation health:
test/ubicloud-runner*.test.tsandtest/helpers/ubi-runner-fake-vm.ts, which matches the split.test/host-renders-prune.test.tsreference still resolves. The sibling prune test files are optional pointer debt.Coverage debt: none. There is no new public surface, and test infrastructure is documented in TESTING_INTERNALS.
Diagram drift: none found.
Test plan
bun run typecheck: 0 errors;bun run typecheck:test: 814 known diagnostics, none new;git diff --check: cleanbun teston free-seed-ratchet, windows-native-workflows, test-of-test-ratchet, free-fixtures, module-size-ratchet, spawnsync-timeout-tripwire and the five ubicloud-runner files: 88 pass, 0 failUBI_OWNER=gsta151 gstack-pregate --stage tests --remote --spend-cap 2 --timeout 2700 --allow-repo-commandsat 6f57c38: 9,844 tests, 0 failed, $0.05; VM destroyed (UBICLOUD: left=0)