Skip to content

close-cards never BUILT the airc CLI it invokes (#356) - #2343

Merged
joelteply merged 2 commits into
canaryfrom
fix/close-cards-builds-airc
Aug 21, 2026
Merged

joelteply merged 2 commits into
canaryfrom
fix/close-cards-builds-airc

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Dead since ~2026-08-05. Every merged PR since has silently failed to close its queue card — the board drifts from reality on every merge.

Root cause, from the log not a guess

The job dies at Verify environment on test -x .airc-src/airc. gh/python3/bash all resolve. The step above checks out CambrianTech/airc — a Rust workspace (crates/airc-cli), no committed binary, no releases — then asserts an executable nothing produced. There was no build step. This never worked; it isn't a regression from a moved path.

It corrects my own card

#356 said "a binary path and a CLI verb that no longer exist." Path: confirmed. Verb: unverified, and stays that way — the job never reaches queue close-merged. The first green run is what tests it.

Fix

  • cargo build --release -p airc-cli + rust-cache scoped to airc's workspace (no rebuild unless airc moved)
  • one AIRC_BIN at job scope — the old form spelled the path at 4 sites, which is how a path outlives its layout
  • verify step fails loud, names the missing artifact, lists the target dir. test -x gave no explanation, so a build failure read as "environment broken"

Honest limit

Not validated locally and cannot be — this fires only on pull_request.merged. YAML parses, step order checked. The first merge after this lands is the proof; if the verb is also broken, the new error says so instead of dying two steps early.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Dead since ~2026-08-05 — every merged PR since has silently failed to close
its queue card, so the board has been drifting from reality on every merge.

THE DEFECT, read from the failing job log rather than guessed: the job dies at
`Verify environment` on `test -x .airc-src/airc`. gh/python3/bash all resolve
fine. The step above checks out CambrianTech/airc — which is a Rust WORKSPACE
(crates/airc-cli et al), commits no binary, and publishes NO releases — and
then asserts an executable that nothing had ever produced. There was no build
step. The premise was never satisfiable, so this never worked at all; it was
not a regression from a moved path.

That also CORRECTS my own card #356, which said the workflow 'calls a binary
path and a CLI verb that no longer exist'. The PATH half is confirmed. The VERB
half is UNVERIFIED and stays that way: the job never reaches `queue
close-merged`, so nothing has ever tested whether that verb still exists. The
first green run is what will tell us.

FIX:
- cargo build --release -p airc-cli, with Swatinem/rust-cache keyed on airc's
  own workspace so a Continuum merge does not rebuild airc unless airc moved.
- ONE name for the artifact: AIRC_BIN at job scope, referenced by every caller.
  The old form spelled `.airc-src/airc` at four sites, which is how a path
  outlives the layout it describes.
- The verify step FAILS LOUD and names the missing artifact + lists the target
  dir. `test -x` asserted a path with no explanation, so a build failure read
  as 'environment broken' — a silent failure wearing an environment error's
  clothes.

NOT VALIDATED LOCALLY, and cannot be: this workflow fires only on
pull_request.merged. YAML parses and step order is checked; the first merge
after this lands is the live proof, and if the verb half is also broken the new
error message will say so plainly instead of dying two steps earlier.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply enabled auto-merge (squash) August 21, 2026 01:39
…not a gate

FOUND BY THIS PR BLOCKING ITSELF. #2343 touches only auto-close-queue-cards.yml.
The Rust gate's path filter listed '.github/workflows/continuum-rust-tests.yml'
— ITSELF and no sibling — so it matched nothing, and all three REQUIRED checks
(cargo test --lib, windows-msvc, ts-rs drift) stayed 'expected' forever.

GitHub's own summary said it exactly: '3 expected, 2 successful checks'. Not
failing. Not skipped. EXPECTED, permanently. Auto-merge was enabled and sat
waiting on checks that could never report, and --auto would have waited
forever because nothing was ever going to arrive.

THE CLASS, which is what makes this worth fixing rather than working around:
any REQUIRED check gated behind a path filter makes every PR outside those
paths unmergeable by construction. Not a CI failure — an absence that reads as
pending. Every workflow-only and (given these paths) every docs-only PR in this
repo was permanently stuck, silently, however long that has been true.

FIX: '.github/workflows/**'. CI config changes SHOULD run CI — a workflow edit
can break every gate in the repo, so it is exactly the change that most wants
the gate. Cheap, and it keeps the required contexts always reported so the
protection rule stays meaningful instead of becoming a deadlock.

Deliberately NOT the alternatives: --admin bypasses the protection rather than
fixing it (and is the wrong habit to build); a skip-job reporting a fake success
under the same required name makes the gate lie. Running the real gate is the
honest option.

This commit rides on #2343 so the PR unsticks ITSELF — the same run that proves
the fix is the run that lets it merge.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@github-actions github-actions Bot added size: M and removed size: S labels Aug 21, 2026
@joelteply
joelteply merged commit 2958ba4 into canary Aug 21, 2026
5 checks passed
@joelteply
joelteply deleted the fix/close-cards-builds-airc branch August 21, 2026 01:54
joelteply added a commit that referenced this pull request Aug 21, 2026
…t deadlocks this one

This PR is the demonstration. It touches only docs/, so none of the three REQUIRED
contexts (`cargo test --lib`, `cargo check windows-msvc`, `ts-rs binding drift`)
were ever scheduled. A required check that never RUNS never REPORTS: GitHub holds the
PR at "expected" indefinitely and auto-merge waits on a result that cannot arrive.
The PR is not slow — it is permanently unmergeable, with nothing on the page saying so.

This already happened once. On 2026-08-20, PR #2343 (workflow-only edit) hit it, and the
fix was to add `.github/workflows/**` to the filter — recorded in a long comment in this
file. That fixed the INSTANCE. Today a docs-only PR hit the identical deadlock because
`docs/**` was not on the list either. Any path list is a list of the deadlocks already
discovered; the next PR touching something unlisted mints a fresh one, and each costs a
human the time to work out why a green-looking PR will not merge.

So the fix is structural: no `paths:` filter at all. A required check runs on every pull
request, unconditionally. The cost is a cargo build on PRs that could not have broken the
build. That is the cheaper half — the other half is an unmergeable PR nobody can explain.

If this ever needs to be cheap, the gate belongs INSIDE the job (detect a no-op change,
skip the heavy steps, still report success) — never in a trigger that suppresses the
report itself. Noted in the file so the next person reaches for the right lever.

Verified: YAML parses, all three job ids and their `name:` contexts unchanged, so the
required-context names on canary's branch protection still match.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Aug 21, 2026
* docs: preserve two design docs that have been sitting UNTRACKED for 11 days

Both authored 2026-08-09, still untracked on 2026-08-20. Nothing referenced them, so
nothing would have complained when a tree clean took them — which is exactly the class
of loss that leaves no trace to investigate afterwards.

- docs/cognition/TYPED-OBSERVATION-REFACTOR.md — spec for killing the stringly
  act->observe channel, output of a 6-agent design workflow that read every seam.
- docs/vision/PERSISTENT-CITIZENS-AND-THE-WORLD.md — Joel's north-star vision doc.
  Explicitly not a near-term plan; it states in its own header that benchmarks remain
  the near-term priority. Committing it changes no priority.

Content unreviewed and unmodified — this commit is custody, not endorsement. Neither
doc is wired into the docs index; if either is stale, it should be corrected or deleted
deliberately in git rather than evaporating from an untracked working tree.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(ci): a required check runs on EVERY PR — drop the path filter that deadlocks this one

This PR is the demonstration. It touches only docs/, so none of the three REQUIRED
contexts (`cargo test --lib`, `cargo check windows-msvc`, `ts-rs binding drift`)
were ever scheduled. A required check that never RUNS never REPORTS: GitHub holds the
PR at "expected" indefinitely and auto-merge waits on a result that cannot arrive.
The PR is not slow — it is permanently unmergeable, with nothing on the page saying so.

This already happened once. On 2026-08-20, PR #2343 (workflow-only edit) hit it, and the
fix was to add `.github/workflows/**` to the filter — recorded in a long comment in this
file. That fixed the INSTANCE. Today a docs-only PR hit the identical deadlock because
`docs/**` was not on the list either. Any path list is a list of the deadlocks already
discovered; the next PR touching something unlisted mints a fresh one, and each costs a
human the time to work out why a green-looking PR will not merge.

So the fix is structural: no `paths:` filter at all. A required check runs on every pull
request, unconditionally. The cost is a cargo build on PRs that could not have broken the
build. That is the cheaper half — the other half is an unmergeable PR nobody can explain.

If this ever needs to be cheap, the gate belongs INSIDE the job (detect a no-op change,
skip the heavy steps, still report success) — never in a trigger that suppresses the
report itself. Noted in the file so the next person reaches for the right lever.

Verified: YAML parses, all three job ids and their `name:` contexts unchanged, so the
required-context names on canary's branch protection still match.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant