Skip to content

Say in the release docs that the stable cut also waits on commit statuses (GST-2252) - #4436

Merged
capy-ai[bot] merged 2 commits into
mainfrom
docs-release-cut-green-counts-commit-statuses
Nov 17, 2026
Merged

capy-ai[bot] merged 2 commits into
mainfrom
docs-release-cut-green-counts-commit-statuses

Conversation

@garrytan

@garrytan garrytan commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

The release docs now say that the stable release cut treats a failed commit status as red and a pending one as still going, not only check runs.
This keeps docs/releases.md's definition of a green commit matching what the cut has done since #4257, so people reading the release rules see the real gate.

Details

What changed

One sentence in the "green" definition of docs/releases.md, plus its changelog entry.

Before: "…count as red even though GitHub's default list hides them. A commit with a check run still going is skipped…"

After: "…count as red even though GitHub's default list hides them. A failed commit status counts as red too, and a pending one counts as still going. A commit with a check run still going is skipped…"

Why

#4257's documentation audit found that the release docs described only check runs, while the stable cut also reads commit statuses. That gap was accepted at merge with a promised follow-up; this is it. Readers who rely on docs/releases.md to know why a commit was or wasn't cut now get the actual rule.

Blast radius

Documentation only: docs/releases.md and a changelog.d fragment. No code, prompt or test changes. The sentence was checked against the code by reading lib/ci-head-checks.ts (commit-status contexts map success to pass, pending to pending, anything else to fail) and crew/scripts/release-cut.ts gateVerdict (fail rows make the head red; pending rows return pending, so the cut moves to the next older commit).

Summary

The stable cut's green rule has counted commit statuses since #4257; the docs now say so.

Test Coverage

No runtime file changed, so no new tests. Tests ran: free 1678 (files, carried from CI run 44063031107 at this exact tree).

Pre-Landing Review

No issues found.
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen
Gate edits: none detected (0 listed, 0 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 (docs class, no numeric claims), so none ran.

Exploratory QA

Not applicable: the diff changes documentation only and has no behavior to probe.

Eval Results

No evals affected.

Issues

Refs #4257

Documentation

Status: current. The docs already match the change, so no edits were needed.

Scope: the two files the candidate selects between base 83cc10a and head 4c3e83e (docs/releases.md and changelog.d/docs-release-cut-green-counts-commit-statuses.md), plus the docs that repeat the stable cut's definition of a green commit.

File Status
docs/releases.md Current. The green-commit definition now counts a failed commit status as red and a pending one as still going, which matches lib/ci-head-checks.ts
changelog.d/docs-release-cut-green-counts-commit-statuses.md Read only. The parent owns this changelog fragment
crew/docs/recommended-harness.md Current. Its short summary links to docs/releases.md for the full definition

Coverage debt: none. Diagram drift: none.

Test plan

  • CI free-tests run 44063031107 green at 4c3e83e (carried; PREGATE: pass on the final tree)
  • Sentence checked against lib/ci-head-checks.ts and crew/scripts/release-cut.ts

Open in Capy

Agent notes

Follow-up from #4257's docs audit, which the owner accepted as a named gap to fix after merge. The behavior is crew/scripts/release-cut.ts gateVerdict, which reads commit-status contexts through headCheckRows.

Approvals

No approvals recorded for branch docs-release-cut-green-counts-commit-statuses.
Plan: exempt: bug fix
Plan check: exempt bug fix

{
  "schema_version": 1,
  "pr": 4436,
  "head": "4c3e83e40bd3533881b36683d1c0af1b0d879065",
  "version": "1.99.5.0",
  "base": "main",
  "gate": {
    "free": {
      "pass": 1678,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "free",
      "run": 44063031107,
      "attempt": 1,
      "tree": "c6671d8f0b4baf0c7783727bd2638a8c61568cc9"
    }
  ],
  "session_kind": "unattended",
  "run": "ship-4436-c6e0b71",
  "head_tree": "c6671d8f0b4baf0c7783727bd2638a8c61568cc9",
  "product_patch_id": "acb3c34fd68aeec9aebefbd483a121d555de1ace",
  "gstack_version": "1.99.5.0",
  "review_depth": {
    "depth": "light",
    "class": "docs",
    "runtime_lines": 0,
    "rules": "66e5174161eecc2c",
    "base": "83cc10acd2b99d91c120164ffe451218c39bf820",
    "registry": "83cc10acd2b99d91c120164ffe451218c39bf820",
    "gate_scan": {
      "tagged": 0,
      "head": "4c3e83e40bd3533881b36683d1c0af1b0d879065"
    },
    "reasons": [
      "runtime=0"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "pass @c6671d8f0b4b (8 checks, current for 4c3e83e40bd3)",
  "issues": {
    "fixes": [],
    "refs": [
      4257
    ],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/ and README.md (docs/releases.md and the changelog fragment changed; crew/docs/recommended-harness.md checked)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1
  },
  "gate_dispositions": []
}

…uses (GST-2252)

The release cut skips a commit whose commit status failed and waits on one still pending, since #4257. The Green definition in docs/releases.md only named check runs.

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

trunk-io Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

…(GST-2252)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai
capy-ai Bot merged commit d00d83f into main Nov 17, 2026
53 of 54 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