Skip to content

Hold a commit off the stable release when the weekly benchmark measures a drop (GST-3606) - #4910

Merged
capy-ai[bot] merged 2 commits into
mainfrom
stable-benchmark-hold-on
Nov 30, 2026
Merged

capy-ai[bot] merged 2 commits into
mainfrom
stable-benchmark-hold-on

Conversation

@garrytan

@garrytan garrytan commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

The stable release now holds back a commit that the weekly benchmark measured as worse than the current stable release. Security, data-loss and regression fixes still ship.
The first weekly record (weekly-2026-w48) read cleanly as NO_CHANGE, so nothing is held today.

What changed
  • BENCHMARK.hold in crew/lib/release-benchmark.ts is now true. With a standing HOLD, a regular or blocker-only cut waits, the 7-day forced cut goes red, and a hand-run cut is refused unless it carries a written waiver. This gate logic already shipped in Show the weekly benchmark in every stable release plan, ready to hold a measured drop (GST-3606) #4755 and only switches on here.
  • Every BENCHMARK: line now ends (holding) instead of (report only).
  • docs/releases.md says holding is on and gives the new schedule. The weekly run starts Friday 22:00 UTC and finishes around 05:30 UTC Saturday, before that day's daily check and Monday's regular cut. It also says a HOLD can make the week-old cut go red.
  • The tests check the new default and keep the switched-off path covered.
Why

Garry approved this plan on 2026-11-23, and the two record-text fixes it waited on (#4782, #4866) have landed. weekly-2026-w48 was read live with this code: BENCHMARK: NO_CHANGE weekly-2026-w48 candidate=778934c098f5 stable=v1.104.1.0 claude-opus-5-5 -1.8 [-4.0, +0.4] on 390 pairs; vs no gstack +1.5 [-3.4, +6.5]; 1 flag (holding). Regular, forced and hand cuts all pass on it.

Blast radius

Stable release cuts only. A NO_CHANGE or GAIN record changes nothing. A HOLD delays stable until a later record replaces it, the commit is reverted, or someone cuts by hand with a reason. Unreadable records hold back only a regular cut, rechecked at each daily run, and the forced cut still goes ahead with a warning. Switching it off again is a one-line change.

Documentation

Status: updated. One factual line added to docs/releases.md; no blockers.

Scope: branch stable-benchmark-hold-on, base d4f6d47c0ebf to head edec5f46f112 (1 commit, 4 files), plus the unstaged docs/releases.md edit. Nothing was staged and there were no new files. The change turns weekly-benchmark holding on (BENCHMARK.hold: true), so a measured drop now keeps its commit off stable. It also moves the benchmark schedule to Friday 22:00 UTC and makes every BENCHMARK: line end (holding). Discovery covered all tracked and new files, with searches for every phrase about the benchmark, holding, the schedule and how stale stable can get. I read docs/releases.md in full and the relevant lines of README.md and docs/install.md. I checked the claims against crew/lib/release-benchmark.ts and the cron schedule in .github/workflows/weekly-release.yml. No banned-terms list is configured.

Documentation health:

docs/releases.md                         Updated (intro: "never more than a week stale while main has gated changes" now adds that a weekly-benchmark HOLD makes the week-old cut go red instead of cutting; parent's unstaged Weekly benchmark timing edit checked against the 14:00 UTC cron and kept as written)
README.md                                Current (the update-channel summaries at lines 42 and 52 keep their short cadence wording, which already covered the existing STABLE_STALE case; details are in docs/releases.md)
docs/install.md                          Current (same cadence summary at line 19)
CONTRIBUTING.md                          Current (no release-benchmark content)
CHANGELOG.md                             Skipped (protected; older entries that say holding is off are history)
changelog.d/stable-benchmark-hold-on.md  Current (reviewed, owned by the parent, not edited)

Coverage: BENCHMARK.hold turned on, the (holding) line suffix, the Friday 22:00 UTC schedule and REFUSED_BENCHMARK/STABLE_STALE under a hold all have reference coverage (Weekly benchmark section and Outcomes table), how-to coverage (the benchmark_waiver command) and explanation coverage (Garry's 2026-11-21 and 2026-11-23 rulings) in docs/releases.md. There's no tutorial, which is fine for maintainer release tooling. No critical or common gaps.

Debt and diagram drift: no diagrams cover this area. One stale code comment is outside doc scope: .github/workflows/weekly-release.yml lines 18-19 still say benchmark_waiver works "once holds are switched on".

Review notes

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

  • INFORMATIONAL crew/lib/release-benchmark.ts a persistently unreadable weekly read holds regular cuts until the 7-day forced cut, with only a notice
  • INFORMATIONAL docs/releases.md holding switched on after one weekly record where the earlier docs said two; owner ruling needed
  • INFORMATIONAL crew/lib/release-benchmark.ts the WAIVE hint says a later record on a newer commit, but any later record replaces a HOLD
  • INFORMATIONAL docs/releases.md docs say the run finishes before Saturday's cuts and no longer state a publication deadline
Agent notes
Agent notes

Approvals

No approvals recorded for branch stable-benchmark-hold-on.
Plan: approved (record r-fdf5dcc147b1)
Plan check: approved (record r-fdf5dcc147b1)

{
  "schema_version": 1,
  "pr": 4910,
  "head": "49ab76863be261bbc665cb01813c2bb0935775bd",
  "version": "1.105.2.0",
  "base": "main",
  "gate": {
    "targeted": {
      "pass": 77,
      "fail": 0,
      "skip": 0
    }
  },
  "calls": 24,
  "session_kind": "unattended",
  "run": "ship4",
  "head_tree": "9bcd8725e9818de4115c8d539e953a91a57c65ac",
  "product_patch_id": "9298ea2b2ba819fe82881c27b6b0d504d9fbb2d0",
  "gstack_version": "1.105.2.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 8,
    "rules": "183e0616b381d889",
    "base": "d4f6d47c0ebf6384ec1705e3a94613b539fa12e4",
    "registry": "d4f6d47c0ebf6384ec1705e3a94613b539fa12e4",
    "gate_scan": {
      "tagged": 0,
      "head": "49ab76863be261bbc665cb01813c2bb0935775bd"
    },
    "reasons": [
      "runtime=8"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @9bcd8725e981 (8 checks, current for 49ab76863be2)",
  "requires_remote": [
    "pregate.json/remote_gate: remote-gate tree=9bcd8725e981 tests=39065 skipped=2 runs=46334839575/1 profiles=ci-reuse/free-tests heads=49ab76863be2 verified=2026-11-30T02:10:51.939Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "updated",
    "scope": "README.md, CONTRIBUTING.md and docs/ (docs/releases.md updated)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 4,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "dispatches": {
      "specialist": 1
    }
  },
  "gate_dispositions": []
}

Open in Capy

garrytan and others added 2 commits November 30, 2026 01:15
…ST-3606)

weekly-2026-w48 read cleanly as NO_CHANGE. The weekly run now starts Friday
22:00 UTC, so its record lands before Saturday's cuts.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…can stop the week-old cut

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

trunk-io Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@capy-ai
capy-ai Bot marked this pull request as ready for review November 30, 2026 02:13
@capy-ai
capy-ai Bot merged commit 9504650 into main Nov 30, 2026
52 of 54 checks passed
This was referenced Nov 30, 2026
capy-ai Bot added a commit that referenced this pull request Nov 30, 2026
- `gstack-ship-receipt write` no longer refuses a valid pull request because git lined up a blank line two different ways. (#4918)
- A serious planning finding no longer vanishes when the plan is revised before anyone answers its gate. (#4912)
- A full /autoplan run no longer asks you to approve a rough first draft that will just come back to you again. (#4906)
- /setup-gbrain now indexes your repo with gbrain 0.60 and works with Codex and `gbrain setup claude-code`. (#4914)
- Pull requests that can't reach the macOS regression tests no longer wait 20 minutes for a macOS runner. (#4911)
- Memory ingest now finds your Claude Code and Codex transcripts when they live outside the home folder. (#4913)
- A second review round no longer reviews code you merged in from the base branch. (#4908)
- A pregate lane can no longer be cleared with a green run of an older commit, another tree, or a run where the lane's own job failed or was skipped for no verified reason. (#4915)
- The stable release now holds back a commit that the weekly benchmark measured as worse than the current stable release. (#4910)
- A base merge that splices into a file the targeted reader read no longer voids its record. (#4916)

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