Skip to content

Stable release cut no longer waits on the Windows nightly (GST-2815) - #4400

Merged
capy-ai[bot] merged 2 commits into
mainfrom
stable-cut-ignores-windows-nightly
Nov 16, 2026
Merged

capy-ai[bot] merged 2 commits into
mainfrom
stable-cut-ignores-windows-nightly

Conversation

@garrytan

@garrytan garrytan commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

The daily stable release cut now ignores the nightly Windows test results, the same way it already ignores its own job.
Why: that nightly is documented as never blocking, but its timed-out shard kept every new main commit out of stable for six nights, so the #4375 regression fix couldn't ship.

Nothing to do: once this lands, the next daily cut picks up v1.99.5.0.

What changed

What changed

The daily stable cut no longer skips main's newest gated commit because of the Windows nightly

The daily stable cut no longer skips main's newest gated commit because of the Windows nightly. Both runs are read-only dry runs against garrytan/gstack on 2026-11-16.

Before/after as text
- $ bun crew/scripts/release-cut.ts --repo garrytan/gstack --daily --dry-run   # main (0326b144)
- CANDIDATE: 81fb9008351d29fccc3e146d860a9cda8c104a2d (2026-11-14) gated by main-backstop
- SKIPPED: 0326b144af36: red check runs: windows-free-tests, windows-free-shard (4)
- SKIPPED: 8837fda39982: no main-backstop check run
- SKIPPED: caa7140eee62: no main-backstop check run
- SKIPPED: 3805969159bc: no main-backstop check run
+ $ bun crew/scripts/release-cut.ts --repo garrytan/gstack --daily --dry-run   # this branch (ef9b9369)
+ CANDIDATE: 0326b144af36676d599dcf63a9fad9a870d22ed6 (2026-11-15) gated by main-backstop
  • crew/scripts/release-cut.ts: a new NEVER_GATING_WORKFLOWS list next to CUT_WORKFLOW holds .github/workflows/windows-free-tests.yml. gateVerdict() sets aside check runs from those workflow runs by job id, exactly as it does for the cut's own workflow, whether they are running or finished.
  • Nothing else got weaker: the required free-tests check, the backstop, train and release-gate evidence, a RED release record, and every other red or running check run still block. A same-named check run from any other workflow still counts, because matching is by workflow path and job id, not by name. If the workflow runs can't be read, nothing is set aside.
  • Tests in crew/test/release-cut.test.ts: a commit whose only red or running check runs come from the nightly is green; a red required check, a red or running check run from another workflow, a same-named job outside the nightly, and a missing gate still refuse. The new test fails on the old code.
  • Docs: one sentence each in docs/releases.md (what the cut counts) and docs/support-tiers.md (Windows CI).
Why and blast radius

Why

Stable stopped moving: the nightly Windows suite is documented as never blocking a pull request, yet the daily cut treated its timed-out shard as a red check and skipped every newer commit on main. Now the cut ignores that one workflow's results, so a gated commit on main reaches stable the next day.

Blast radius

Only the daily and weekly stable cut reads gateVerdict(); nothing else imports it (grep of the repository). Matching is by workflow file and job id, so a check from any other workflow, the required free-tests check and the release-gate evidence still block, and the unit test plus a live dry run on both trees confirm it.

Summary

The stable release stalled for six nights because one Windows test shard on the nightly kept timing out. The cut now sets that workflow aside the way it already sets aside its own job, and the docs say so.

Review, tests and QA

Test Coverage

All new code paths have test coverage: the changed runtime file has a changed test naming it.
Tests ran: test 1669 (test files, from the full free CI run 43791764388 at this exact tree)

Pre-Landing Review

Pre-Landing Review: 2 issues — 0 auto-fixed, 0 asked (0 fixed, 0 skipped), 0 deferred, 2 noted
Gate edits: none detected (2 listed, 1 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Second-model review: not planned for this change (code class, no numeric claims); a same-family adversarial reader ran and found nothing blocking.

Review notes

Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.

  • INFORMATIONAL .github/workflows/free-durations-record.yml:83 The Monday duration recorder calls windows-free-tests.yml as a reusable workflow; its jobs file under free-durations-record.yml, so a red recording on main's head can still hold the cut (no worse than before).
  • INFORMATIONAL crew/test/release-cut.test.ts:357 No test pins that each NEVER_GATING_WORKFLOWS path exists, so a rename of windows-free-tests.yml would silently bring the stall back (held closed, never released).

Exploratory QA

Functional smoke on the CLI, read-only dry runs against garrytan/gstack (2 probes, status pass): this branch picks 0326b14 as the candidate; the same command on main's code skips 0326b14 for red check runs: windows-free-tests, windows-free-shard (4). The refusal paths are covered by the unit test, not a live probe.

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.

Scope Drift

Scope Check: CLEAN

Plan Completion

Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). Bug fix, exempt from planning.

TODOS

No TODO items completed in this PR.

Documentation

Documentation

Status: current. The documentation already matches the change, and no edits were needed.

Scope: base 0326b14 to head ef9b936, two commits and five committed files (crew/scripts/release-cut.ts, crew/test/release-cut.test.ts, docs/releases.md, docs/support-tiers.md, changelog.d fragment), with no staged, unstaged or new files. Cross-checked AGENTS.md, CONTRIBUTING.md, docs/ship-policy.md and docs/TESTING_INTERNALS.md.

Documentation health:

  • docs/releases.md: Current (says the stable cut sets the nightly Windows free suite's check runs aside, matching NEVER_GATING_WORKFLOWS)
  • docs/support-tiers.md: Current (Windows CI section says the stable cut ignores the nightly)
  • AGENTS.md, CONTRIBUTING.md, docs/ship-policy.md, docs/TESTING_INTERNALS.md: Current (no contradictions)
  • CHANGELOG.md: Skipped (changelog.d fragment present; the parent owns the release notes)

Coverage debt: none. The change is internal release automation and has reference coverage in docs/releases.md. Diagram drift: none.

Test plan

Test plan

  • bun run test: carried from CI run 43791764388 at this exact tree, 1669 test files, green
Agent notes

Refs GST-2815

Approvals

No approvals recorded for branch stable-cut-ignores-windows-nightly.
Plan: exempt: bug fix
Plan check: exempt bug fix

REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen ledgers_read=2 dispatches=4
Gate edits: none detected (2 listed, 1 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)

Earlier live check by the lane: on main, release-cut.ts --daily --dry-run printed DAILY: no-op: nothing gated since stable; by 2026-11-16 main's code instead falls back to the older 81fb900, still skipping 0326b14 for the nightly's red runs (see What changed). Out of scope: the shard 4 timeout itself, which PRs need which checks, and the release-gate cadence.

{
  "schema_version": 1,
  "pr": 4400,
  "head": "ef9b93693d44e7652d1e3962e6dd32ed1f777b50",
  "version": "1.99.5.0",
  "base": "main",
  "gate": {
    "test": {
      "pass": 1669,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "test",
      "run": 43791764388,
      "attempt": 1,
      "tree": "ae2f6fe7fa483de989134fa9d9c70e743fc90d4f"
    }
  ],
  "session_kind": "unattended",
  "head_tree": "ae2f6fe7fa483de989134fa9d9c70e743fc90d4f",
  "product_patch_id": "e0d64461e097d3089633321b7a8995797ac5c4d2",
  "gstack_version": "1.99.5.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 13,
    "rules": "66e5174161eecc2c",
    "base": "0326b144af36676d599dcf63a9fad9a870d22ed6",
    "registry": "0326b144af36676d599dcf63a9fad9a870d22ed6",
    "gate_scan": {
      "tagged": 0,
      "head": "ef9b93693d44e7652d1e3962e6dd32ed1f777b50"
    },
    "reasons": [
      "runtime=13"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "warn @ae2f6fe7fa48 (8 checks, current for ef9b93693d44)",
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, AGENTS.md, CLAUDE.md (plus CONTRIBUTING.md cross-checked)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "ledgers_read": 2,
    "dispatches": {
      "specialist": 3,
      "red-team": 1
    }
  },
  "gate_dispositions": []
}

The nightly Windows free suite is documented as never gating, but the
daily cut refused any commit carrying its red or unfinished check runs, so
stable stayed behind v1.99.5.0 while shard 4 kept timing out. The cut now
sets that workflow's check runs aside by workflow path, like its own job.

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

trunk-io Bot commented Nov 16, 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 merged commit 45ee345 into main Nov 16, 2026
55 checks passed
@garrytan garrytan mentioned this pull request Nov 17, 2026
capy-ai Bot added a commit that referenced this pull request Nov 17, 2026
- /autoplan's approval page no longer hides a reviewer's product objection behind "keep your direction". (#4431)
- Every skill that loads the shared preamble, on every host, now says to ask a question once and to check a file before handing it over. (#4383)
- The Captain manuals now name the `Failed or skipped:` and `Also changed:` lines that READY and lane reports carry. (#4432)
- gstack's shell locks hold again on Ubuntu 26.04, where `mkdir` reports success when another process won the race (GST-2247). (#4262)
- `test/gstack-lock-race.test.ts` runs the old pattern and the helper against a PATH shim that behaves like uutils 0.8.0 `mkdir`, so it runs on any runner image: the old pattern lets two of four racers win, the helper admits exactly one in each of 60 races and never overlaps across take, hold and release loops, and parallel `gstack-config` writers keep every key. (#4262)
- Windows Setup E2E now runs when `bin/gstack-lock.sh` changes. (#4433)
- Claude Code's skill list now says when to use each gstack skill, so Opus loads /review and /plan-eng-review when a request fits. (#4387)
- A pull request's merge head can no longer keep its `/ship` receipt without a full review. (#4365)
- `/ship` now counts review rounds per pull request, and the head that merges always gets a full review. (#4360)
- /ship's documentation audit no longer accepts a passing result when an earlier line from the same audit said "blocked". (#4434)
- /ship's documentation audit no longer spends an attempt when the audit child writes text after its result. (#4285)
- The README lists the two new guides, and the install doc counts its hooks right. (#4403)
- docs/releases.md now says the stable release cut treats a failed commit status as red and a pending one as still going, as it has since #4257. (#4436)
- /ship's `finish --docs-requested` now accepts a docs fix when the audit named the file with a line number. (#4437)
- Document the `.gstack/approval-classes.json` schema, `gstack-approval-classes` CLI commands, and owner approval citation format in `docs/ship-policy.md#approval-classes`. (#4355)
- `/eval-plan` now runs four result checks instead of leaving them to judgment. (#4384)
- The /review coverage-audit eval no longer fails a run that really read the source file when zsh stops a command line at an `echo ====` separator. (#4364)
- Sixteen in-repo documentation links reach their section again. (#4394)
- gstack agents now open every status report with what failed, what they didn't verify and what else they changed. (#4273)
- Two new short guides. (#4380)
- A skill you wrote whose contract still lists `check_after_last_edit` keeps the rest of its contract. (#4439)
- The ship policy guide now explains how to merge any pull request with `gstack-ship-queue land`, even in a repository with one maintainer. (#4377)
- /ship's test step runs a large unit suite on Linux. (#4426)
- Every skill that loads the shared preamble, on every host, now says never to print a whole environment, git config or process table. (#4382)
- Pull requests from /ship now open with at most three plain lines, and every merge lands as one commit titled with the PR title. (#4438)
- `gstack-pr-wait`, `gstack-ci-gate` and the release cut no longer call a commit green while a check on it failed. (#4257)
- `gstack-runaway` now says what a thread's cold and empty wakes cost, not just how many there were (GST-2770). (#4385)
- The optional Stop hook no longer checks for a test run after the last edit, and /verify asks for it in plain words instead. (#4428)
- /ship's test step says when it ran out of time, and you can set its budget. (#4429)
- The remote test command no longer puts every file on one command line. (#4429)
- The stable release no longer waits on the nightly Windows tests (GST-2815). (#4400)
- Ubicloud fan-outs can no longer overshoot the vCPU limit, and owners no longer delete each other's VMs. (#4430)
- hono is pinned to 4.13.16, which fixes five advisories the weekly OSV scan found in 4.13.13 (gstack#4406). (#4408)
- `package.json` overrides (#4408)
- `test/dependency-security.test.ts`: the lockfile floor check now covers `hono >= 4.13.16`. (#4408)
- The nightly Windows test run finishes again. (#4409)
- A short write-up checklist in ETHOS.md. (#4381)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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