Skip to content

v1.94.40.0 ci: macOS named regressions no longer time out at bun's 5 s default - #3974

Merged
capy-ai[bot] merged 3 commits into
mainfrom
gst-1280-macos-named-timeout
Nov 3, 2026
Merged

capy-ai[bot] merged 3 commits into
mainfrom
gst-1280-macos-named-timeout

Conversation

@garrytan

@garrytan garrytan commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3974,
  "head": "6019109fbaa2f823aef79fb4678508c02c935ea1",
  "version": "1.94.39.0",
  "base": "main",
  "gate": {
    "workflow-tests": {
      "pass": 81,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "e944813e220eb909a2621700f0658f568ab6cf1c",
  "product_patch_id": "7be48587f8cb363bc655d8f0615b3bfb8cad23f1",
  "gstack_version": "1.94.39.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 2,
    "rules": "be3026b5ff4acb84",
    "base": "f8085aa0e499085c411f712d6d5c00a81d1b104a",
    "registry": "f8085aa0e499085c411f712d6d5c00a81d1b104a",
    "gate_scan": {
      "tagged": 1,
      "head": "6019109fbaa2f823aef79fb4678508c02c935ea1"
    },
    "reasons": [
      "gate-class",
      "runtime=2"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @e944813e220e (7 checks, current for 6019109fbaa2)",
  "requires_remote": [
    "free-tests.yml/cso-macos-launcher: https://github.com/garrytan/gstack/actions/runs/41724371488/attempts/1",
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41724371488/attempts/1",
    "free-tests.yml/cso-windows-launcher: https://github.com/garrytan/gstack/actions/runs/41724371488/attempts/1"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, CONTRIBUTING.md (136 paths inventoried; pregate.md, TESTING_INTERNALS.md, support-tiers.md read)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "unknown",
    "rounds": 1,
    "ledgers_read": 1
  },
  "review_targeted": {
    "classes": [
      "gate"
    ],
    "rules": "d3b7ee4eed83efb0",
    "brief_sha": "7f92a0d0a8319c3c0e076fb3b1a4689c45120b2be2c14dfc7d4cb03aafa9d6a5",
    "product_patch_id": "7be48587f8cb363bc655d8f0615b3bfb8cad23f1",
    "status": "done",
    "findings": 0,
    "raised_by": "targeted"
  }
}

What changed

macOS named regressions: the probe-model test was killed at bun's 5 s default; with a 30 s per-test limit it passes in 2.6 s. (Image render failed on this machine, so the text version is the evidence.)

Before/after as text: macOS named regressions: the probe-model test was killed at bun's 5 s default; with a 30 s per-test limit it passes in 2.6 s
--- Before · before.txt · captured output
+++ After · after.txt · captured output
+macos-named-regressions, PR #3974 head 6019109f, run 41724371488
+$ bun test --timeout=30000 "${files[@]}"
+(pass) gstack-codex-probe subcommands > probe-model reports CODEX_PROBE_STATE ... [2595.63ms]
+ 417 pass
+ 0 fail
+Ran 422 tests across 11 files. [179.32s]
-macos-named-regressions, #3917 stamp c69589bc, run 41719016775
-$ bun test "${files[@]}"
-(fail) gstack-codex-probe subcommands > probe-model reports CODEX_PROBE_STATE ... [5022.48ms]
-  ^ this test timed out after 5000ms.
- 416 pass
- 1 fail
-Ran 422 tests across 11 files. [214.34s]
 

Why

"macos-named-regressions in Free Tests failed twice on the same head" (#3917's stamp c69589b, run 41719016775, both attempts), blocking train 107. Train 107's first build lost two CSO Git fixture tests the same way (run 41712557655). The tests were fine; bun's 5 s per-test default was too short for a slow macOS runner, so the step now uses the same 30 s limit as the Linux free suite and the pregate runner.

Blast radius

One line in the macos-named-regressions job of .github/workflows/free-tests.yml. --timeout only sets bun's default, so tests that pass their own timeout keep it, and the job's 20-minute limit and the required-check aggregation are unchanged (file:line read: free-tests.yml:224, 719-728). The job passed at this head with the flag in 179 s (run 41724371488, job 126225353901).

Approvals

No approvals recorded for branch gst-1280-macos-named-timeout.

Summary

Spawn-heavy tests in the macOS named regressions (the codex probe-model test runs nine probe scripts one after another; the CSO Git hardening fixtures run git init and commit) no longer die at bun's 5 s default. On macOS the probe-model test took 941 ms, 2,079 ms and 3,428 ms in three green runs (41720189541, 41716637247, 41720760241), then hit 5,022 ms on the failing run, and 505 to 580 ms on Linux. 30 s is about 9 times the slowest green macOS time and matches FREE_TEST_TIMEOUT_MS in scripts/test-free-shards.ts and the pregate runner in .gstack/pregate.json. One step-level flag covers every file in the selection, so the next spawn-heavy case added there is covered too, with no assertion, skip or coverage change.

Test Coverage

All new code paths have test coverage (CI config only; no runtime file changed).
Tests ran: workflow-tests 81

Pre-Landing Review

No blocking issues found. Three Low, non-blocking notes from the adversarial reader: the 30000 literal could drift from FREE_TEST_TIMEOUT_MS; a real hang now takes 30 s instead of 5 s to fail (the job runs 126-214 s against a 20-minute limit and still fails closed); the lane doesn't pass --max-concurrency=1 like the free runner (predates this diff).
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=unknown ledgers_read=1
Gate edits: 1 hunk tagged (.github/workflows/free-tests.yml); reviewed by the full panel (specialists, Red Team, native adversarial, targeted gate reader), 0 findings kept open.
Outside review: openai/gpt-6.1-sol, completed, no actionable findings.

Exploratory QA

Not run: CI configuration only. The macOS job itself is the behavior check: green at this head with bun test --timeout=30000 (run 41724371488).

Design Review

No frontend files changed — design review skipped.

Eval Results

No prompt-related files changed — evals skipped.

Review bot comments

No review bot comments.

Plan Completion

Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches).

Verification Results

No Step 8.1 obligations (no plan). Free Tests run 41724371488 green at 6019109, macos-named-regressions included.

TODOS

No TODO items completed in this PR.

Documentation

Status: current. No documentation edits were needed.

Scope: Base f8085aa, branch gst-1280-macos-named-timeout. Committed change: .github/workflows/free-tests.yml (macos-named-regressions now runs bun test --timeout=30000). Staged: changelog.d/gst-1280-macos-named-timeout.md. No unstaged or untracked content.

Documentation health:

  • changelog.d/gst-1280-macos-named-timeout.md: current; the 20-minute limit and the 30 s timeout match the workflow.
  • docs/pregate.md: current; already documents --timeout=30000 and the macos-named-regressions run profile.
  • docs/TESTING_INTERNALS.md: current; no lane-timeout claims affected.
  • docs/support-tiers.md: current.

Coverage debt: none; no new public surface. Diagram drift: none.

Test plan

  • bun test --timeout=30000 test/cso-distribution.test.ts test/regression-issue3024-zsh-sourced-helpers.test.ts test/regression-issue3680-ubicloud-bsd-userland.test.ts: 81 pass, 0 fail
  • Free Tests run 41724371488 at 6019109: macos-named-regressions 417 pass, 0 fail; probe-model 2,596 ms

🤖 Generated with Claude Code

…(GST-1280)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai capy-ai Bot changed the title ci(free-tests): 30 s per-test timeout for macos-named-regressions (GST-1280) ci: macOS named regressions no longer time out at bun's 5 s default Nov 3, 2026
@github-actions github-actions Bot changed the title ci: macOS named regressions no longer time out at bun's 5 s default v1.94.40.0 ci: macOS named regressions no longer time out at bun's 5 s default Nov 3, 2026
@capy-ai
capy-ai Bot merged commit 3d1a484 into main Nov 3, 2026
49 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