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

1 month 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.

Ask about this presentation

Chapters

Show transcript
  1. 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.

    Slide text
    gstack logo

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

    VERDICT GREEN
    FLAKY 1
    Rerun Twice By hand Reuse Limits
    garrytan/gstack · CHANGELOG.md · 1.91.163.0
  2. 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.

    Slide text

    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 again FAILED TWICE
    Rerun Twice By hand Reuse Limits
    garrytan/gstack · CHANGELOG.md · 1.91.163.0
  3. 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.

    Slide text

    Rerunning failed jobs by hand follows the same rule

    $ gh run rerun --failed
    every earlier red passes GREEN, flaky noted
    new red in a later attempt stays red
    Rerun Twice By hand Reuse Limits
    garrytan/gstack · CHANGELOG.md · 1.91.163.0
  4. 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.

    Slide text

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

    before next push paid for a full gate
    now gate-reuse binds the flaky green
    Rerun Twice By hand Reuse Limits
    garrytan/gstack · CHANGELOG.md · 1.91.163.0
  5. 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?

    Slide text

    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.md the full rerun rules
    Which test flakes most often in your setup?
    Rerun Twice By hand Reuse Limits
    garrytan/gstack · CHANGELOG.md · 1.91.163.0

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York