Repository navigation
Run Free Tests shards on 8-core runners again to cut CI cost - #4749
Merged
Merged
Conversation
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…gelog fragment after the branch 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>
Merged
capy-ai Bot
added a commit
that referenced
this pull request
Nov 24, 2026
- `/ship` now tells you what to change when GitHub refuses a push for email privacy. (#4748) - The release gate's /cso check accepts the low-confidence hypotheses /cso now reports. (#4753) - /cso reports every security finding the code supports instead of dropping most of them. (#4739) - /cso can search the whole repository in one call, and a daily report now lists its low-confidence hypotheses. (#4742) - A first version's plan and try-it message now open with the owner's own words, and the build is tried the same way he will try it before he is asked. (#4759) - A first version's public export now keeps out the owner's short quotes and his reasons to leave something out, and a phone first-use check installs a build the cloud phone can actually run. (#4772) - Three intermittent test failures are fixed. (#4745) - Free Tests runs its shards on 8-core runners again. (#4749) - A land that waits on an earlier CI run now decides on what that run actually did. (#4763) - Landing a PR no longer starts a new CI run when one for the same merged code is already running or has passed. (#4760) - /ship no longer misses a file-mode change from main on files whose names start with `:`. (#4774) - make-pdf keeps quotes in alt text, link titles and raw HTML attributes inside the attribute, so a Markdown file can no longer add an `onerror`, `onload` or `javascript:` link that runs in the print browser. (#4761) - Posting a PR body that lists earlier /ship runs no longer stops for a phone number that isn't there. (#4747) - A first version's public export now catches a short owner quote whose padding or quote marks are encoded. (#4778) - A first version's public export now also keeps out a short owner quote written with spaces just inside its quote marks. (#4776) - Posting a PR body that lists earlier /ship runs no longer stops for a card number that isn't there. (#4751) - /ship no longer asks for an extra reader when you merge the base branch next to code that was already reviewed. (#4754) - /ship no longer plans narrow re-checks after a fix. (#4741) - /ship can't quietly gain new refusals. (#4740) - `gstack-upgrade` no longer refuses to run after you disable skills. (#4743) - The free test suite splits its shards from this week's recorded test times. (#4744) - gstack now writes up a failed or shelved attempt before closing it. (#4735) 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 goes back to running its shards on 8-core runners with four sub-shards each, the setup it used before #4600.
The 16-core runners made each shard faster but a whole run only about 0.4 minutes faster, while the median run cost about a third more.
Nothing to do as a reader: the same tests run in the same shards.
What changed
Free Tests got more expensive this week without getting noticeably faster: #4600 doubled each shard's cores, but the macOS jobs and the final check still decide when a run finishes. This puts the shards back on
ubicloud-standard-8, so a run costs about what it did before..github/workflows/free-tests.yml:FREE_SUITE_RUNNERgoes back toubicloud-standard-8andFREE_SUITE_JOBSto'4', two vCPUs per sub-shard as before.FREE_SUITE_SHARDSstays'10'; no job is renamed or split, so the required check names are unchanged.docs/TESTING_INTERNALS.mdrecords the move back, the audit numbers and which runner size each belongs to.There is no visible surface to picture, because the change is two workflow constants.
Why
The 2026-11-23 weekly CI audit found that on 16 cores shard jobs took 2.6 min p50 against 4.4 on 8 cores, but a whole run only went from 6.2 to 5.8 min p50, while a run's Ubicloud cost went from $0.23 to $0.31 p50. The audit puts that at roughly $80 a week at current volume, an estimate from the median gap at list price; the mean gap in its sample was smaller ($0.240 on 16 cores, n=27, against $0.230 on 8 cores, n=71).
Blast radius
Only the free-suite shard jobs change runner size. Each shard's job timeout is computed from
FREE_SUITE_JOBSand the recorded durations, so the slower shards get matching timeouts, and the wiring tests pass on this tree. Free Tests on this pull request ran on the new setting.Documentation
Status: current. The documentation already matches the change, and no edits were needed.
Scope: 3 committed files from cb06a6d to 9baea90 (
.github/workflows/free-tests.yml,changelog.d/free-tests-runner-8-core.md,docs/TESTING_INTERNALS.md), with no staged, unstaged or new files. I searched the authored docs for stale references to the free-suite runner size and sub-shard count.Documentation health:
docs/TESTING_INTERNALS.md: current. The Free Tests sizing paragraph and the duration-recorder note both sayubicloud-standard-8at k = 4, which matchesFREE_SUITE_RUNNERandFREE_SUITE_JOBS.changelog.d/free-tests-runner-8-core.md: current. It agrees with the workflow and the testing doc.CONTRIBUTING.md,docs/pregate.md,docs/ship-policy.md,docs/skills.md: current. Theirstandard-16mentions describe Ubicloud VM sizes, not the Free Tests shard runner.Coverage debt: none new. The runner constants already have reference and explanation coverage in TESTING_INTERNALS.md.
Diagram drift: none. No diagram names the runner size.
Pre-Landing Review
No blocking issues. Four reviewers, including a second-model review, raised only low notes: the changelog wrongly gave the exclusive shard four sub-shards (fixed), the fragment name did not follow the branch slug (fixed), the docs sentence did not say which runner each number belongs to (fixed), the audit numbers cannot be recomputed from the repository (they come from the weekly audit's 100-run sample), and if the macOS jobs get faster later the 16-core saving would matter again.
Eval Results
No prompt-related files changed — evals skipped.
TODOS
No TODO items completed in this PR.
Tests
bun test test/free-tests-workflow-wiring.test.ts test/free-durations-record-workflow.test.ts test/test-free-shards.test.ts: 112 pass, 0 failAgent notes
For GStack Minder (GSTA-36), thread GSTA-824, from the 2026-11-23 weekly audit (D2, proposal 1). #4600 changed both the runner and FREE_SUITE_JOBS (4 to 8), so both are reverted; I found no measurement of k = 8 on an 8-core runner. A cross-family trail read (GPT-6.2 Sol) flagged that wording and the median-based weekly estimate; both are corrected.
Approvals
No approvals recorded for branch free-tests-runner-8-core.
Plan: exempt: audited-list
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=6 fixed=0 scope=frozen dispatches=4
Gate edits: none detected (GATE_SCAN tagged=0)