Repository navigation
Free Tests splits the suite from freshly recorded test times (GST-3303) - #4578
Merged
Merged
Conversation
The seed dated from 11-09 and lacked 67 files, each packed at the 54 s 99th-percentile guess, so shards and sub-shards were balanced against about an hour of work that doesn't exist. Re-recorded on ubicloud-standard-8 with bun run test:ubicloud --record-durations (1,727 files, none failed); six files newly over the 60 s ceiling are admitted with a todo, as the 11-09 refresh did. The runner-sizing dispatch input also accepts ubicloud-standard-16 for paired experiments. Refs: GST-3303 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…ial option Step 14.5 docs audit docs-4578-a1: the free_runner dispatch input already accepts -16 in this PR. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This was referenced Nov 20, 2026
Merged
capy-ai Bot
added a commit
that referenced
this pull request
Nov 21, 2026
- Habits from nine teams, written into gstack. (#4585) - Three more habits from teams that run evals. (#4602) - The /ship conductor trial plan gives its real-problem judge one more attempt on fresh labels after it missed its agreement bar twice, and stops the trial incomplete if it misses again (GST-3003). (#4611) - The /ship conductor trial plan now stops a trial only at the final remote-gate refusal, gives both arms the same note that the brief overrides team rules, and counts every report the no-gstack arm returns (GST-3003). (#4609) - The /ship conductor trial plan now ends a trial at the remote gate when its case base isn't main, gives the no-gstack arm a test runner, and audits every trial for exposure to the plan (GST-3003). (#4605) - The /ship conductor trial plan now runs an uncounted pilot in every arm before its counted trials and takes one planned look at half the cases (GST-3003). (#4587) - gstack's own use on Capy can be counted, and is kept out of real-use numbers. (#4576) - Free Tests shards finish closer together. (#4578) - The weekly test-time recording can land again on its own. (#4581) - The job-log tree.json step's recommended sleep is long enough for real runners. (#4589) - Pull requests no longer wait on the Trunk flaky-test upload, and the quick tier's flaky passes now reach Trunk. (#4579) - Windows Setup E2E finishes sooner on install changes. (#4575) - Skills no longer stop on Codex when they clean up temp files. (#4612) - /review on Codex with OpenAI models no longer holds back a review that ran its adversarial pass. (#4622) - Crew threads on Capy now check in at 500M own tokens, standing threads rotate at 250M and any subagent past 50M gets a look, half the old lines, because Capy's token counts read about half what they did before 2026-11-15. (#4582) - gstack no longer offers to add a `## Skill routing` section to your project's CLAUDE.md. (#4629) - The README and docs no longer say gstack makes your agent fix more bugs. (#4598) - `/eval-plan` now writes eval plans that waste less money. (#4591) - /cso checks every folder above a source file before it looks at the file, so it never looks through a symlinked folder. (#4592) - Plan reviews no longer read a /design-review audit summary as the branch's design doc. (#4623) - Node's built-in test files now run with `node --test` in repos that use vitest or jest. (#4626) - A quarantined test that the runner skipped now fails the run instead of passing it. (#4590) - A flaky free test is fixed: the spawnSync overflow check no longer fails about once an hour on CI. (#4613) - Free Tests runs its shards on 16-core runners. (#4600) - /office-hours asks for ground truth first. (#4468) - Every startup session ends with a dated test. (#4468) - /plan-tune's dream cycle now logs each send of your typed answers to Anthropic. (#4621) - Landing a ready PR no longer depends on a hand-copied gate decision, and the ready note, release PR and squash message say the right thing. (#4596) - /ship no longer asks for a fresh review because of a stacked parent that main already had. (#4580) - Results PRs with large captured agent sessions can be reviewed. (#4574) - /ship no longer stalls on review notes a reviewer already cleared, counts review rounds the way the review policy reads them, and keeps security findings out of the PR body. (#4595) - /ship's review readers are now told never to stop processes they didn't start. (#4607) - /ship's review no longer stops when Capy's own drive sync database grows past 100 MB. (#4606) - /ship's preflight now honors your repository's time limit for rerunning CI-skipped tests, and tells you when a fresh worktree needs its packages installed. (#4608) - The slowest free test file is now six files. (#4588) - Step 11.5 keeps a reviewed head current across base-only merges. (#4577) - On a Capy install, only the owner's opt-in sends telemetry. (#4597) - New page: working across agent systems. (#4583) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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.
Free Tests should report about 45 seconds sooner. It splits the suite into shards using a record of how long each test file takes, and that record was eleven days old and missing 67 files, so some shards got far more real work than others.
The times are now re-recorded for every file, so the shards should finish close together and the slowest one sets the result less often.
Nothing to do: every test still runs, and no check name changes.
What changed
scripts/free-test-durations.jsonis re-recorded for all 1,727 free-suite files with the documented recorder, on the same Ubicloud size the weekly recording uses. No file failed while recording.scripts/free-test-seed-allowlist.jsonwith its time and a follow-up to split it, the same way the 11-09 refresh admitted its long files.ubicloud-standard-16, for paired trials of a bigger runner. Pull request runs don't change size.Numbers
Before, from the 215 pull request runs between 11-06 and 11-20 where all 11 shards passed: from the first shard starting to the last one finishing took 274 s at the median and 346 s at p90, and the slowest shard's test step took 220 s at the median and 262 s at p90. Inside one run, the slowest and fastest of shards 1 to 10 were 75 s apart at the median. In the latest run, each shard's four parallel groups ranged from 77 to 106 s for the fastest group up to 167 to 218 s for the slowest.
Replaying that run's per-file times through the planner: the old record gives a slowest shard of 246 s, the new one 177 s.
After, on this branch with the same runner, three runs of the same tree: first shard start to last shard end took 234, 227 and 220 s, and the slowest shard's test step took 186, 192 and 184 s. The shards finished 37 to 44 s apart. That is about 45 s off the shard phase at the median, from three runs; 22% of the earlier runs already had a slowest test step of 192 s or less, so read it as a shift of the typical run, not a guarantee for every run.
A bigger runner isn't worth it yet. One run on ubicloud-standard-16, with twice as many parallel groups per shard, brought the slowest shard to 170 s: 16 to 22 s more for twice the cores. Its slowest group was a single file, test/review-pass.test.ts, which takes about 4.4 minutes alone. Splitting that file is the next step before more cores pay off, so the default runner stays as it is.
Pre-Landing Review
No blocking issues. One review round on d490fc4 read the whole change: three specialist checks (testing, security, state machines), a red-team read, an adversarial read, a second-model review (GPT-6.1 Sol, verdict clean) and a targeted secrets read (no findings). The out-of-date runner list in the testing docs, which two readers noticed, is fixed by the documentation update below; the other notes are listed next and left for later.
Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
sf-590108056e01security finding, details recorded privatelysf-6ca068bff78esecurity finding, details recorded privatelyscripts/free-test-durations.json:1Two files sit within 0.3 s of the 60 s ceiling; next recording may flip them and need an allowlist editscripts/free-test-seed-allowlist.json:15New allowlist reasons name no run id; recording VM size not verifiable from the diffscripts/free-test-seed-allowlist.json:14Older allowlist reasons quote outdated times (ship-queue-land 60 s now 67 s, a second ship test 67 s now ~80 s, review-pass 221 s now ~263 s).github/workflows/free-durations-record.yml:211A stale-seed issue opened by the recorder workflow closes only by hand when the seed lands another wayExploratory QA
Surface: the runner-size check in the Free Tests plan step, run as written with sample settings. Bounded smoke check, 2 probes, both passed.
ubicloud-standard-16is acceptedubicloud-standard-32) is still refusedLimits: the step ran outside GitHub Actions, so routing a job onto the -16 runner is not exercised here. The recorded times and the allowlist are data, checked by the seed test in Free Tests.
Verification Results
No plan file, so there were no plan-specific checks.
Documentation
Status: updated. One fact in one doc was corrected and nothing is blocked.
Scope: I compared ci/free-seed-refresh with base 593d7e1 (4 files: free-tests.yml, the free-test duration seed, the seed allowlist and a changelog.d fragment). I searched every tracked doc and template for runner-size and seed-allowlist references.
free_runneroverride list now includesubicloud-standard-16Coverage debt: none new. The six newly allowlisted slow test files already have their follow-up (the post-11-21 slow-test pass). Diagram drift: none.
Tests
Agent notes
Tracking: GST-3303, change 2 of the CI speed plan (rebalance; a paired ubicloud-standard-16 trial follows on this branch). The weekly seed PR #4249 has been open and failing its seed check since 11-09, which is why the record went stale.
Plan: exempt: audited-list
Local: test/free-seed-ratchet plus the free-tests workflow tests (113 pass), actionlint 1.7.11 clean. Recording log on the lane machine at ~/.capy/work/c2/record.log.
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=6 fixed=0 scope=frozen ledgers_read=3 dispatches=4
Gate edits: none detected (2 listed, 2 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Approvals
No approvals recorded for branch ci/free-seed-refresh.
Plan: exempt: audited-list
Plan check: exempt audited-list