Repository navigation
v1.92.1.0 ci(free-tests): run the free suite on ubicloud-standard-4 (week-1 revert for #3617) - #3710
Merged
Merged
Conversation
…ert rule for #3617) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
5 tasks done
4 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.
What changed
The free suite's 20 Linux shards move from
ubicloud-standard-2toubicloud-standard-4. This PR changes CI wiring only, so there is no screenshot; the table below is the before and after.FREE_SUITE_RUNNERin.github/workflows/free-tests.ymlubicloud-standard-2ubicloud-standard-4FREE_SUITE_SHARDS'20''20'(unchanged)workflow_dispatchoverrides (free_runner,free_shards)Why
#3617 moved the free suite to standard-2 to save money and pre-registered a week-1 rule: move to standard-4 if standard-2's slowest shard runs slower than standard-8's. On one tree the rule is breached, since standard-2's slowest shard sits 44 to 83 s above standard-8's whole range, and standard-4 lands inside it at about 57 % of standard-8's per-run cost.
Blast radius
The constant feeds only
free-plan's runner output, which every free-suite shard reads; the recorder, Windows and macOS lanes, shard count and permissions are untouched. This PR's own Free Tests run 41227530520 ran all 21 free-suite jobs green on the new runner (script ran), andtest/free-tests-workflow-wiring.test.tsalready accepts all three standard runners (file read, 26 tests pass in the touched lane).Approvals
Source: gstack-approvals record for capy/gsta149-free-runner-std4 (display only; not an approval citation).
Summary
#3617 moved the free suite to
ubicloud-standard-2and set a week-1 revert rule: move toubicloud-standard-4if the slowest-shard p50 exceeds standard-8's. GSTA-203's audit flagged the slowdown on mixed trees, so I measured it on one tree, and the rule is breached. This PR movesFREE_SUITE_RUNNERtoubicloud-standard-4and leaves the 20 shards, dispatch overrides andRESOURCES:line as they are.Paired runs at main 5ba425a, 20 shards (sizing evidence from
workflow_dispatchruns on a scratch branch, not this PR's checks):standard-2's slowest shard sits 44–83 s above standard-8's whole range, so the run gets about 100 s slower. standard-4's slowest shard falls inside standard-8's 313–336 s range. Production history agrees with the standard-2 numbers. Across 40 green standard-2 runs since 10-31 12:33, the slowest-shard suite p50 was 308 s, against 235 s over 186 standard-8 runs since 10-30 on lighter trees.
Cost. standard-4 runs about 13 % more shard-minutes than standard-8 at half the per-minute price, roughly 57 % of standard-8's per-run cost. standard-2 was about 30 %.
Why the October A/B missed it. It measured +3 to +8 s per shard at 93adf19. At 5ba425a the delta is +28 to +37 s, and setup (installs and builds, which are CPU-bound) is about 20 s slower per shard. I haven't established which files moved; the paired runs above settle the runner choice either way.
Tests:
test/free-tests-workflow-wiring.test.tsaccepts any of the three standard runners for the constant, and actionlint is clean.Number sourcing
The outside voice (openai/gpt-6.1-sol) checked all 12 sizing runs through the GitHub jobs API: each exists, ran as
workflow_dispatchat 5ba425a on the runner its row claims, and its slowest "Run free suite" step and setup medians match the table exactly, with walls within 1 s. These sizing runs are on scratch branchcapy/gsta149-wk1and are not used to clear this PR's pregate. Numbers without a run list:Test Coverage
No runtime code changed; Step 7 coverage audit skipped (no runtime file changed).
Tests ran: typecheck count unavailable (exit 0)
Tests ran: typecheck-test count unavailable (exit 0)
Tests ran: actionlint count unavailable (exit 0)
Tests ran: touched 26
Tests ran: remote pregate 913 tests, 0 failed on tree f96cc105151a (Ubicloud, $0.05)
Pre-Landing Review
No issues found.
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen dispatches=1
Gate edits: none detected (the one gate-class hunk is the runner label; no check, threshold or test was weakened)
Outside review: openai/gpt-6.1-sol, approve, no findings on the diff; numbers check above found missing provenance only, no wrong number.
Review sizing: one batched specialist pass (testing, security, api-contract, state-machines) on Claude Opus 5.5 plus the cross-family outside voice, under crew rule 30a; the plan's red-team, native adversarial and targeted gate readers were not dispatched for this one-line runner revert.
Review notes
Eval Results
No prompt-related files changed — evals skipped.
Design Review
No frontend files changed — design review skipped.
Plan Completion
Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). This is #3617's pre-registered week-1 revert.
Issues
Refs #3617
TODOS
No TODO items completed in this PR.
Documentation
Scope: a read-only audit of the free-suite runner change (
FREE_SUITE_RUNNERfrom ubicloud-standard-2 to ubicloud-standard-4), covering docs/TESTING_INTERNALS.md, the changelog.d fragment and a search of all docs for other mentions of the free suite's runner.Result: current. Both TESTING_INTERNALS mentions name ubicloud-standard-4, and no other doc names the free suite's runner. No edits were made.
Debt: none.
Test plan
bun run typecheck: exit 0bun run typecheck:test: exit 0bun test test/free-durations-record-workflow.test.ts test/free-tests-workflow-wiring.test.ts test/workflow-shell-lint.test.ts: 26 passUBI_OWNER=gsta149 gstack-pregate --stage tests --remote --spend-cap 2: 913 tests, 0 failed, tree f96cc105151a, $0.05