Repository navigation
Description
What happened
PR #432 (feature/reader-settings-label) has a single commit
(d9d9ef7) that was already present when the PR was opened as a draft
at 2026-08-22T09:35:41Z. Its ready_for_review event fired at
09:41:56Z. Neither jvm-tests.yml ("Unit & Integration Tests (JVM)")
nor ios-app-build.yml ("Build & Test iOS (Simulator)") ever produced
a workflow run for that event — confirmed directly via
gh api repos/LibraVault/reader/actions/workflows/{jvm-tests,ios-app-build}.yml/runs,
which shows exactly one run of each workflow for this branch, tied
to the original opened event at 09:35:43Z (correctly skipped,
since the PR was still draft at that moment). No run at all exists for
the ready_for_review sub-event, despite both workflows explicitly
listing ready_for_review in their pull_request.types specifically
so a draft-opened PR gets one real CI run once marked ready (see #373,
which added that trigger for exactly this reason).
Net effect: for this PR, lint, the core:vault* coverage gate, the
test-plan-completeness check (all part of jvm-tests.yml), and the
iOS simulator build never actually executed via CI, even though the
PR proceeded through QA and risk-classification as if a real signal
existed. The checks merely read SKIPPED rather than surfacing as a
failure, so nothing in the pipeline flagged the gap.
Root cause
dev-agent.yml marks a PR ready with the default GITHUB_TOKEN:
gh pr ready "$PR_NUMBER" # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
— deliberately, per the persona prompt's own comment ("default token
is fine for this one — it's a state toggle, not creation"). But GitHub
Actions does not create new workflow runs for events produced using
the default GITHUB_TOKEN, specifically to prevent recursive
workflow-triggering chains. That restriction applies to the
ready_for_review transition just as much as it does to pushes — and
this same workflow already works around the identical restriction for
git push by using the elevated APP_GH_TOKEN instead (a fix
originally landed for issue #311). The gh pr ready call is the one
state-changing call in the persona that was never switched over, on
the (incorrect, as it turns out) assumption that a state toggle
wouldn't need the elevated token the way a push or PR-create does.
This has happened before
PR #429's second commit, ci: retrigger iOS build after ready_for_review produced no run, is an empty commit QA pushed specifically to force a
synchronize event after hitting this exact gap — its message calls it
"a known pipeline race, also observed on feature/reading-presets." That
workaround fixed CI signal for #429 specifically, but no issue tracked
the root cause, so it silently recurred on #432 with no workaround
applied at all (#432 needed zero revisions, so it never got a second
commit to accidentally paper over the gap).
The PRs most likely to be affected are, ironically, the ones that need
no revision — a single correct commit, opened as a checkpoint draft
and then marked ready with nothing left to push. Those are exactly the
PRs where the pipeline currently produces the least amount of real
verification.
Suggested direction
- Simplest: switch the
gh pr ready "$PR_NUMBER"call in
dev-agent.ymlto useAPP_GH_TOKEN, matching every other
cross-workflow-triggering call in the same file. - Alternative: keep the default-token
gh pr readycall, but always
follow it with a trivial commit pushed via the elevated token (the
same shape as fix(ios): in-reader theme change now persists as the global default #429's manual workaround), to guarantee asynchronize
event regardless of which token performed the ready-toggle.
Where
.github/workflows/dev-agent.yml— thegh pr ready "$PR_NUMBER"
call (currently under the defaultGITHUB_TOKEN).github/workflows/jvm-tests.yml,.github/workflows/ios-app-build.yml
— the workflows that silently never get a realready_for_reviewrun
Related
- dev-agent's early-draft-PR checkpoint re-triggers full JVM/iOS CI on every intermediate push #373 — added the
ready_for_reviewtrigger to both workflows in the
first place, on the (reasonable at the time) assumption that the
event would actually fire a run. - changes/paths-filter job failure silently passes required CI checks (ios-app-build.yml, jvm-tests.yml) #416 — a related but distinct gap:
'skipped'conclusions from these
same two workflows can also mask apaths-filterinfra failure. Not
the same root cause as this issue (this one has nothing to do with
dorny/paths-filter), but the same class of problem: aSKIPPED
required check silently reading as "passed" for a reason that isn't
"the PR was draft" or "the diff doesn't touch this surface."
Found during principal review of PR #432.
Activity
libravault-xyz commentedon Aug 22, 2026
Flagging priority: 'gh pr ready never triggers required checks' means a PR can go ready-for-review and reach status:needs-review/human-merge without jvm-tests.yml/ios-app-build.yml ever having run on the ready commit — a real gap in required-check coverage, not just a workflow-hygiene nit.
libravault-xyz commentedon Aug 22, 2026
Automated pipeline health check: Same silent trust-gate skip as #388/#408/#409/#437/#441 — see #453 for the full writeup. This issue's
issues:openeddev-agent run (run 32585970814) was skipped in ~1s because its author (github-actions[bot]) is associated asCONTRIBUTOR, notOWNER/MEMBER/COLLABORATOR. No comment was ever posted about it, so it's sat onstatus:triageuntouched since 2026-08-22 ~16:51 (ironic, given this issue is itself about a different silent-pass-through gap in the pipeline's required checks).Not self-healing — a human should manually apply
status:ready-for-devif this is ready to scope, or address #453 first.Generated by Claude Code
fix(ci): explain dev-agent trust-gate skip instead of silently droppi…
github-actions commentedon Aug 24, 2026
Pipeline is at capacity (6/3 active runs) — skipping this run. Re-apply status:ready-for-dev once activity settles, or re-trigger manually via workflow_dispatch.
github-actions commentedon Aug 24, 2026
Opened #483 — switches the backstop step's
gh pr readycall to the App token and adds a belt-and-suspenders forcedsynchronizecommit (also under the App token) on triage-mode completion, so CI actually runs regardless of which token performs the draft->ready toggle. See the PR description for a NEEDS HUMAN DECISION note: I couldn't update.claude/agents/dev-agent.md's matching instruction myself (this run's tool permissions hard-block edits to.claude/agents/**), so the persona still tells the agent to self-ready — the fix works correctly regardless, but a human should consider that follow-up edit to remove the now-redundant race.fix(ci): use App token for qa-agent.yml draft-backstop gh pr ready (#548
ci: retrigger CI after ready_for_review produced no run
fix(vault): make the "Screen Security" toggle take effect immediately (…
github-actions commentedon Aug 27, 2026
Another live occurrence: PR #684 (
fix/icloud-folder-scan-blocks-main-actor) hit this exact gap. Both commits landed beforeready_for_reviewfired (01:29:29Z), so neither actualiOS App Build & Testrun (33030206589,33030247122) had anything butskippedbuild jobs, and no workflow run exists at all for theready_for_reviewevent itself — confirmed viagh api repos/LibraVault/reader/actions/workflows/318109220/runs. Routed #684 tostatus:needs-human-mergefor this reason (see my review there) since it never got a real Xcode build/test signal on any commit. Flagging as another data point for prioritizing this fix — this is exactly the "single correct commit stack, marked ready with nothing left to push" shape the original report already predicted would be the most common and least visible case.github-actions commentedon Aug 27, 2026
Another live occurrence: PR #687 (
feature/686-frame-rate-hint). Both commits (89106b9,fc23bcf) landed beforeready_for_reviewfired (06:48:25Z), so the only twoJVM Testsruns for the branch (33047049679,33047170529) both have theirtestjobskipped, and no workflow run exists at all for theready_for_reviewevent itself (confirmed viagh api repos/LibraVault/reader/actions/workflows/jvm-tests.yml/runs). Same gap hitios-app-build.yml/ui-tests.yml's jobs too. Routed #687 tostatus:needs-human-mergefor this reason (full review on the PR) despite the change itself reviewing clean and my own local./gradlewrun going green — another data point for the 'single correct commit stack, marked ready with nothing left to push' shape this issue already predicted as the most common and least visible case.