gstack-pr-wait ignores cancelled checks a newer pass replaced, and the npm git-dependency hint names allow-git (#4832)

`gstack-pr-wait` no longer blocks on a cancelled check that a newer run
of the same check replaced, and the `DEPS_MISSING` stop names npm 12's
`allow-git` setting when the lockfile installs a package from git.

The docs audit that /gstack-ship launches also starts after a reviewer's
install, and a refused launch no longer uses up its one retry.

Nothing for you to do. Fixes #4807 and #4815; thanks to exGeni for both
reports and the repro.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-25 18:13:02 +00:00
1 parent 959df8ccc4
commit 8aafd408e2
16 files changed
+175 -23

No files matched your search

+4 -1
View File
@@ -392,7 +392,10 @@ uses it to refuse a base merge under an open run
verdict does not admit a workflow, admission and the pregate try the
workflow's own record with the same checks, so a later install for another
workflow on a shared machine (a /gstack-ship docs child resolving another Bun, or a
failed child install) never drops /gstack-ship's admission (GST-1233). A new HEAD
failed child install) never drops /gstack-ship's admission (GST-1233). When a
reviewer's review-voice install wrote the shared verdict, admission then tries
/gstack-ship's own record with the same checks, so the docs audit
/gstack-ship launches still starts (CAPY-1). A new HEAD
still invalidates both, and a failed `./setup` (`gstack: fail setup`)
invalidates every workflow's record. `--check --for <workflow>` keeps the
Bun that workflow's own record holds. The launch file and launch directory
+4
View File
@@ -282,6 +282,10 @@ the same workflow replaced it; a run cancelled before any job is not counted.
An unreadable list is unknown, never green. `gstack-pr-wait`, `gstack-ci-gate`
and the release cut read CI through the same helper (`lib/ci-head-checks.ts`),
on top of what they read before, so none of them calls such a head green.
The one row they drop from before is a cancelled run that a newer run of the
same check replaced while that run passed or still runs, which `ci:` already
judges by that newer run (`gstack-pr-wait`, #4807); any other older red run
still gates.
When a check counts as passing only because a newer run from another check
suite replaced a red one (a branch-only `free-tests.yml` dispatch beside the red
+4 -1
View File
@@ -8180,7 +8180,10 @@ attempt of each check suite as `gstack-ship-queue ready` does: a failed check
whose rerun attempt created no jobs (GitHub's default list then hides it) and a
workflow run that failed before creating any job (`check failed: <workflow>
(run <id>, no jobs)`) block `green`, and a rerun that passed clears its
failure. A check the base
failure. `gstack-pr-wait` also judges a check by its newer run when that run
replaced a cancelled one (a workflow with `concurrency: cancel-in-progress`):
passing, or pending while it runs, as `ready` does; a failed run beside a newer
pass still blocks. A check the base
branch requires (rulesets and classic branch protection) counts as pending
until it appears. `--exclude <check,...>` leaves a named non-required check
out of the verdict, as `gstack-ci-gate --exclude` does: it neither holds