Skip to content

v1.92.1.0 ci(free-tests): run the free suite on ubicloud-standard-4 (week-1 revert for #3617) - #3710

Merged
capy-ai[bot] merged 2 commits into
mainfrom
capy/gsta149-free-runner-std4
Oct 31, 2026
Merged

capy-ai[bot] merged 2 commits into
mainfrom
capy/gsta149-free-runner-std4

Conversation

@garrytan

@garrytan garrytan commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3710,
  "head": "05f0cfaf47f2e6240d11ccc2960105151d3abd23",
  "version": "1.91.377.0",
  "base": "main",
  "gate": {
    "typecheck": {
      "pass": 1,
      "fail": 0,
      "skip": 0
    },
    "typecheck-test": {
      "pass": 1,
      "fail": 0,
      "skip": 0
    },
    "actionlint": {
      "pass": 1,
      "fail": 0,
      "skip": 0
    },
    "touched": {
      "pass": 26,
      "fail": 0,
      "skip": 0
    },
    "remote_gate": {
      "pass": 913,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "f96cc105151a6b9419c52c327f80eddaf43ee0fd",
  "product_patch_id": "e8faf3c73e805649753aa64adf71d769e004cfc2",
  "gstack_version": "1.91.365.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 2,
    "rules": "150435b0a543019a",
    "base": "c830c9b8bafaf2a2327f6ef4cd3a133ad5939731",
    "registry": "c830c9b8bafaf2a2327f6ef4cd3a133ad5939731",
    "gate_scan": {
      "tagged": 0,
      "head": "05f0cfaf47f2e6240d11ccc2960105151d3abd23"
    },
    "reasons": [
      "gate-class",
      "runtime=2<=50"
    ]
  },
  "pregate": "requires-remote cleared @f96cc105151a (7 checks, current for 05f0cfaf47f2)",
  "requires_remote": [
    "free-tests.yml/cso-macos-launcher: https://github.com/garrytan/gstack/actions/runs/41227530520",
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41227530520",
    "free-tests.yml/cso-windows-launcher: https://github.com/garrytan/gstack/actions/runs/41227530520",
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/41227530483",
    "pregate.json/remote_gate: remote-gate tree=f96cc105151a tests=913 receipt=/home/user/.capy/work/ship-3710/remote-receipt.txt sha256=bc61598b4182"
  ],
  "issues": {
    "fixes": [],
    "refs": [
      3617
    ],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, AGENTS.md, CLAUDE.md, CONTRIBUTING.md (read-only, audit ship3710-docs-1)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "dispatches": {
      "specialist": 1
    }
  }
}

What changed

The free suite's 20 Linux shards move from ubicloud-standard-2 to ubicloud-standard-4. This PR changes CI wiring only, so there is no screenshot; the table below is the before and after.

Before (main c830c9b) After (this PR, 05f0cfa)
FREE_SUITE_RUNNER in .github/workflows/free-tests.yml ubicloud-standard-2 ubicloud-standard-4
FREE_SUITE_SHARDS '20' '20' (unchanged)
workflow_dispatch overrides (free_runner, free_shards) standard-2, -4, -8; 1 to 40 unchanged
Slowest shard, "Run free suite" step, paired runs at 5ba425a 380, 396, 388 s (runs 41225368593, 41225483835, 41225599941) 323, 335, 317 s (runs 41226487554, 41226588117, 41226688344)
docs/TESTING_INTERNALS.md runner mentions standard-2 standard-4

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), and test/free-tests-workflow-wiring.test.ts already accepts all three standard runners (file read, 26 tests pass in the touched lane).

Approvals

Date Asked Exact words Outcome Covers Still pending
2026-10-31 Merge #3710 when green “yes merge when green” (Garry, 2026-10-16 (GStack Minder crew rule 6)) standing approval every crew PR, through a merge train none

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-2 and set a week-1 revert rule: move to ubicloud-standard-4 if 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 moves FREE_SUITE_RUNNER to ubicloud-standard-4 and leaves the 20 shards, dispatch overrides and RESOURCES: line as they are.

Paired runs at main 5ba425a, 20 shards (sizing evidence from workflow_dispatch runs on a scratch branch, not this PR's checks):

Arm Runs Slowest shard, Run free suite Run wall Per-shard delta vs standard-8 (median) Setup p50
standard-8 (control) 41225347034, 41225464359, 41225580934, 41226508490, 41226608228, 41226707606 314, 327, 336, 324, 313, 330 s 405–499 s — 37–39 s
standard-2 (current) 41225368593, 41225483835, 41225599941 380, 396, 388 s 514–526 s +28 to +37 s (+16 to +23 %) 56–58 s
standard-4 (this PR) 41226487554, 41226588117, 41226688344 323, 335, 317 s 436–522 s +16 to +22 s (+10 to +15 %) 45–49 s

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.ts accepts 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_dispatch at 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 branch capy/gsta149-wk1 and are not used to clear this PR's pregate. Numbers without a run list:

  • The history figures (40 standard-2 runs, p50 308 s; 186 standard-8 runs, p50 235 s) come from a query over Free Tests history that this body does not reproduce, so treat them as context, not evidence; the paired runs decide the runner.
  • October's +3 to +8 s per shard names commit 93adf19 but no run ids.
  • The 13 %, 57 % and 30 % cost figures are arithmetic from the paired runs' shard time and the per-minute price ratio (standard-4 at half of standard-8's price), not billed job minutes.
  • The changelog fragment's standard-8 405 to 434 s wall range is the first three control runs (41225347034, 41225464359, 41225580934).

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

  • Provenance (Low, informational, outside voice): history p50s, October delta, cost arithmetic and the fragment's control range had no run list; addressed in Number sourcing above.

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_RUNNER from 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 0
  • bun run typecheck:test: exit 0
  • actionlint 1.7.11 (pinned digest): exit 0
  • bun test test/free-durations-record-workflow.test.ts test/free-tests-workflow-wiring.test.ts test/workflow-shell-lint.test.ts: 26 pass
  • UBI_OWNER=gsta149 gstack-pregate --stage tests --remote --spend-cap 2: 913 tests, 0 failed, tree f96cc105151a, $0.05
  • Free Tests run 41227530520 on this PR: macOS and Windows launcher lanes cleared from it

Open in Capy

garrytan and others added 2 commits October 31, 2026 18:03
@trunk-io

trunk-io Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@github-actions github-actions Bot changed the title ci(free-tests): run the free suite on ubicloud-standard-4 (week-1 revert for #3617) v1.92.1.0 ci(free-tests): run the free suite on ubicloud-standard-4 (week-1 revert for #3617) Oct 31, 2026
@capy-ai
capy-ai Bot merged commit ca7bd68 into main Oct 31, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant