gstack 1.91.163.0 reruns a failed eval test once instead of the whole gate

1 hour ago

gstack 1.91.163.0 for Claude Code: when one test turns gstack's eval gate red, the gate reruns that test once in the same run. If the rerun passes, the gate goes green with a flaky note, and the next push reuses that green result. If it fails again, the red is real. Manual reruns of failed jobs follow the same rule. Release notes: https://github.com/garrytan/gstack/blob/main/CHANGELOG.md#1911630---2026-10-19 Commits: https://github.com/garrytan/gstack/commits/main

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00Rerun
  2. 0:11Twice
  3. 0:24By hand
  4. 0:38Reuse
  5. 0:51Limits
Show transcript

Rerun

gstack logo

gstack 1.91.163.0 reruns a failed eval test once instead of the whole gate

VERDICT GREEN
FLAKY 1
RerunTwiceBy handReuseLimits
garrytan/gstack · CHANGELOG.md · 1.91.163.0

When one test turns gstack's eval gate red, the gate now reruns just that test, once. If it passes, the gate goes green and marks the test as flaky.

Twice

A test that fails its rerun is a real red

Fresh rerun at the same head, in the same run attempt
Behavior case reruns its whole 3-trial panel
fails againFAILED TWICE
RerunTwiceBy handReuseLimits
garrytan/gstack · CHANGELOG.md · 1.91.163.0

The rerun starts fresh at the same commit, and a behavior test reruns its whole three-trial panel. If the test fails a second time, the report calls it failed twice, and the gate stays red.

By hand

Rerunning failed jobs by hand follows the same rule

$ gh run rerun --failed
every earlier red passesGREEN, flaky noted
new red in a later attemptstays red
RerunTwiceBy handReuseLimits
garrytan/gstack · CHANGELOG.md · 1.91.163.0

Rerunning failed jobs by hand follows the same rule. An attempt that passes every earlier red is green. A red that first appears in a later attempt stays red until its own rerun passes.

Reuse

The next push reuses a flaky green instead of paying for a full gate

beforenext push paid for a full gate
nowgate-reuse binds the flaky green
RerunTwiceBy handReuseLimits
garrytan/gstack · CHANGELOG.md · 1.91.163.0

Before this release, a push after a flaky run still paid for a full gate. Now the next push reuses that green result, and the log and the pull request comment name the flaky tests.

Limits

Some reds never get a rerun

Harness, INFRA and INCOMPLETE reds never rerun
Thresholds and trial counts are unchanged
Pass-rate history keeps each run's first execution
CHANGELOG.mdthe full rerun rules
Which test flakes most often in your setup?
RerunTwiceBy handReuseLimits
garrytan/gstack · CHANGELOG.md · 1.91.163.0

Harness failures, infrastructure failures and incomplete runs never rerun, and thresholds and trial counts stay the same. Which test flakes most often in your setup?