gstack 1.91.138.0: its cheap PR screen lets fewer bad changes through than planned

1 hour ago

gstack 1.91.138.0 replays its real PR history. Its cheap screening rule lets a bad change through on 2.8% of PRs, against the 6% its plan assumed. Merge trains fill to about 2.3 PRs, so the gate runs 22 to 29 times a week, and the slowest ready PRs wait 5 to 8 hours. Every gate still runs what it ran before. Release notes: https://github.com/garrytan/gstack/blob/main/CHANGELOG.md#1911380---2026-10-18 Commits: https://github.com/garrytan/gstack/commits/main

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00Misses
  2. 0:16Trains
  3. 0:28Waits
  4. 0:39Reds
  5. 0:54Your repo
Show transcript

Misses

gstack logo

gstack 1.91.138.0: the cheap PR screen lets fewer bad changes through than planned

2.8%
of PRs: the screen missed a red the PR caused
6%
the plan’s estimate
Replayed on 92 merged PRs, Oct 3 to 18 · rule still screen-provisional
MissesTrainsWaitsRedsYour repo
garrytan/gstack · CHANGELOG.md · Oct 18, 2026

gstack now replays its real pull request history. Its cheap screening rule lets a bad change through on under 3 percent of pull requests, under half the 6 percent its plan assumed. The rule is still provisional.

Trains

Merge trains leave half full, so the gate runs more often

average train: about 2.3 PRs of 5 seats
Gate attempts a week
22 to 29, not 12 to 20
MissesTrainsWaitsRedsYour repo
garrytan/gstack · CHANGELOG.md · Oct 18, 2026

Merge trains fill to about two pull requests, not five. So the gate runs 22 to 29 times a week, well above the 12 to 20 the train model assumed.

Waits

With trains, a ready PR waits longer to merge

Todayslowest tenth, READY to merge
3.3 h
Trains of 53-hour fill limit
5 to 8 h
MissesTrainsWaitsRedsYour repo
garrytan/gstack · CHANGELOG.md · Oct 18, 2026

Trains also cost time. Today, the slowest tenth of ready pull requests merge within about three hours. Through trains, that stretches to five to eight hours.

Reds

Red builds are now sorted by code: caused by the PR, or from outside

All 22 PR-caused red runs from the earlier study, matched
13 of 92 merged PRs had a red they caused, as the plan expected
MissesTrainsWaitsRedsYour repo
garrytan/gstack · CHANGELOG.md · Oct 18, 2026

Failed builds are now sorted in code: caused by the pull request, or from outside. It matches all 22 from the earlier study. Thirteen of 92 merged pull requests broke the build themselves, as the plan expected.

Your repo

Every gate still runs what it ran before

CHANGELOG.mdgstack 1.91.138.0 release notes
How long does a ready PR wait to merge in your repo?
MissesTrainsWaitsRedsYour repo
garrytan/gstack · CHANGELOG.md · Oct 18, 2026

None of this changes what any gate runs. How long does a ready pull request wait to merge in your repo?