gstack's PR gate now runs every paid check when its import scan fails

1 month ago

gstack 1.91.128.0 to 1.91.130.0: the PR gate runs every paid check when its import scan fails, each PR plan previews a tighter exercised-path case map in shadow mode, shebang scripts get scanned, and the free-suite duration seeds refresh weekly.

Ask about this presentation

Chapters

Show transcript
  1. A failed import scan in gstack's pull request gate used to count as no consumers, so nothing ran. Now it restores the full gate, and labels the file to fix.

    Slide text
    gstack logo

    gstack's PR gate now runs every paid check when its import scan fails

    Scan error, before no consumers
    Scan error, now full gate
    Label on the plan import scan failed + the file to fix
    Fallback Shadow map Fixes Your CI
    garrytan/gstack · CHANGELOG.md 1.91.129.0
  2. Each plan now carries a shadow line: the checks a tighter map would run, counting only what each case executes. It changes nothing yet. Replayed over ten days of failed runs, it kept every failing case.

    Slide text

    Every PR plan now previews a tighter case map, without changing what runs

    The map counts only what a case executes: its touchfiles, its test's imports, its skill's shell, the bins its trials invoked
    Shadow mode: one line per plan with the cases it would drop and add, and selection stays the same
    Replayed over ten days of red PR runs, it kept all 47 failed gate cases
    Fallback Shadow map Fixes Your CI
    garrytan/gstack · CHANGELOG.md 1.91.130.0
  3. Extensionless bun and node scripts now get scanned, so forty-one files reach the checks that use them. The free suite's timing seeds refresh themselves weekly. And test health leads with cost per merged PR.

    Slide text

    Three smaller fixes

    Shebang scripts get scanned: extensionless bun and node scripts count as code, so 41 files reach the paid cases that use them1.91.129.0
    Duration seeds refresh weekly: one bot PR, through normal review, when either seed's file set changes1.91.128.0
    bun run test:health leads with cost per merged PR 1.91.129.0
    Fallback Shadow map Fixes Your CI
    garrytan/gstack · CHANGELOG.md 1.91.128.0 · 1.91.129.0
  4. The testing internals doc in the gstack repo covers the shadow map and the fallback rules. So, does your own CI run everything when it can't tell what a change touches?

    Slide text

    Does your own CI run everything when it can't tell what a change touches?

    docs/TESTING_INTERNALS.md exercised-path map, PR paid-lane fallback
    Fallback Shadow map Fixes Your CI
    garrytan/gstack · CHANGELOG.md 1.91.129.0 · 1.91.130.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