Repository navigation
fix(ci): auto-close-queue-cards calls a verb that exists (#356) - #2347
Merged
Merged
Conversation
Dead on every merge since ~2026-08-05. Two independent breaks stacked, and the
earlier fix cleared only the first — so the job stayed 100% dead while looking
like it had been repaired.
1. NO BINARY (already fixed): the job checked out airc SOURCE and asserted
`test -x .airc-src/airc`, a path nothing ever produced. A build step was
added earlier and that half was genuinely correct.
2. NO SUCH VERB (this commit): the step then called
`airc queue close-merged <url>`. That subcommand has never existed. The
Rust CLI exposes `queue-card close-merged-meta` and
`queue-card close-merged-refs` — two JSON transforms over `gh pr view`
output that leave the CLOSING to the caller. Verbatim from the run on
PR #2346: `error: unrecognized subcommand 'queue'` /
`tip: a similar subcommand exists: 'queue-card'`.
NOT INVENTED HERE: airc hit this exact bug in its OWN copy of this workflow and
fixed it on 2026-08-13 (airc#576). Continuum's file is a fork of the pre-fix
version that never got the update, so the composition is now aligned with
upstream and the header says to diff against it first next time.
VERIFIED LOCALLY, END TO END, before pushing — built airc-cli from canary and
ran the real sequence against a real merged PR (#2346):
- `close-merged-meta` → real merge facts (2026-08-21T13:12:13Z, canary,
8a7e0bc…, url, title/body lengths)
- `close-merged-refs` → empty + exit 0 (that PR closes no card)
POSITIVE CONTROL, because empty-and-working and empty-and-broken print the
same and that ambiguity is the whole defect class here. Synthetic body with
`Closes #1142` / `Refs #9999` / `Resolves CambrianTech/airc#77` yields exactly:
#1142
CambrianTech/airc#77
— closing keywords lift, bare mentions correctly do not, cross-repo is captured
for the report-don't-close branch.
ALSO REMOVED: the post-merge nudge step, deleted rather than repaired. It called
`queue next` (same dead namespace) but probed with `--help` and `exit 0`-ed on
failure, so for two weeks it printed "not available in this airc build;
skipping" — which reads as a capability being off, not a defect. That is why it
outlived the loud break beside it. It is not rewritten because that would mean
guessing: `queue-card next` requires `--owner` and `--raw-json-file` and takes
no `--limit`, while the old call passed a nonexistent `--limit` and omitted both
required args — and a stale comment justified dropping `--owner` on the belief
it might be unsupported, the opposite of true. Restoring it needs a real
invocation verified against a live run, not another soft-failing stub.
Consequence of the whole outage: merged PRs never closed their queue cards, so
the board drifted from reality on every merge — cards whose work shipped days
ago read as idle lanes and drew nudges, the exact litter this job exists to
prevent. Nobody saw the red X because it lands AFTER merge, when attention has
already moved to the next thing.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dead on every merge since ~2026-08-05. Two breaks stacked; the earlier fix cleared only the first, so the job stayed 100% dead while looking repaired.
1. No binary (fixed earlier) — checked out airc source, asserted
test -x .airc-src/airc, a path nothing produced.2. No such verb (this PR) — then called
airc queue close-merged, which has never existed. The CLI exposesqueue-card close-merged-metaandqueue-card close-merged-refs; they're JSON transforms and leave the closing to the caller. From the run on #2346:Not invented here. airc hit this exact bug in its own copy of this workflow and fixed it 2026-08-13 (airc#576). Continuum's file is a fork of the pre-fix version. It now matches upstream, and the header says to diff against it first next time.
Verified locally before pushing
Built
airc-clifrom canary, ran the real sequence against real merged PR #2346:close-merged-meta→ real merge facts (2026-08-21T13:12:13Z,canary,8a7e0bcc6…)close-merged-refs→ empty, exit 0 (that PR closes no card)Positive control — because empty-and-working prints identically to empty-and-broken, which is this whole defect class. Synthetic body with
Closes #1142/Refs #9999/Resolves CambrianTech/airc#77:Closing keywords lift; bare mentions correctly don't; cross-repo captured for the report-don't-close branch.
Also removed: the post-merge nudge
Deleted, not repaired. It called
queue next(same dead namespace) but probed with--helpandexit 0-ed on failure — so for two weeks it printed "not available in this airc build; skipping", which reads as a feature being off rather than a defect. That's why it outlived the loud break beside it.Not rewritten because that means guessing:
queue-card nextrequires--ownerand--raw-json-fileand takes no--limit; the old call passed a nonexistent--limitand omitted both required args, and a stale comment justified dropping--owneron the belief it might be unsupported — the opposite of true.Why it mattered
Merged PRs never closed their queue cards, so the board drifted on every merge — shipped work read as idle lanes and drew nudges, the exact litter this job exists to prevent. The red X lands after merge, when attention has already moved on.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo