GeezerVison is showing github.com — defect(fleet-command): ref=pull/<N>/merge fails checkout (fetches refs/heads/pull/...) — command never runs, reported as command failure · Issue #15592 · developing-today/code
defect(fleet-command): ref=pull/<N>/merge fails checkout (fetches refs/heads/pull/...) — command never runs, reported as command failure #15592DescriptionDefect
fleet-command.yml cannot verify a pull request's merged result when dispatched with ref=pull/<N>/merge: the target checkout treats the ref as a branch and fetches +refs/heads/pull/<N>/merge*, but GitHub's PR merge ref lives at refs/pull/<N>/merge (not under refs/heads/), so git fetch exits 1 in ~0.2 s and the target command never runs. The run's only signal is "Execute target command step failed", indistinguishable from a genuine test failure without reading the job log.
Evidence
- Run https://github.com/developing-today/fleet/actions/runs/45821104244 (dispatch_id
lane-rl-15250-verify, repo developing-today/code, ref pull/15250/merge): job log, "Fetching the repository" group — git fetch ... +refs/heads/pull/15250/merge*:refs/remotes/origin/pull/15250/merge* failed with exit code 1 on all three checkout retries; every later step skipped.
- Same failure signature in runs 45801023113, 45802811267, 45804193651 (all ref
pull/15250/merge). Three separate verification lanes recorded these as test failures; the drill test in question had in fact never run.
- Workaround proven 2026-11-26: dispatch with the merge ref's commit SHA instead (
fe6053bba00e614122542c6524580b0226dc1cc6 for PR 15250) — checkout succeeds and the command runs (run 45821953891, "Execute target command" step success).
Fix shape (not prescribed)
In the fleet-command checkout, map a pull/<N>/merge (or pull/<N>/head) ref input to the real ref (refs/pull/<N>/merge) before fetching, or fetch by the resolved commit SHA; and surface a checkout failure distinctly from a command failure in the run summary so lanes do not record it as a test result.
Refs: #15249, #15250 (criterion-3 verification was blocked on this).
Acceptance criteria
- A reproduction exists: checking out
ref=pull/<N>/merge for a real PR fails before the fix and succeeds after it.
- The checkout path no longer fetches
refs/heads/pull/... for pull refs; head/branch refs keep working as before.
- A regression test covers the pull-ref checkout alongside the existing ref forms.
Activityadded kind/bugSomething isn't working (prefixed form of the classic bug label) effort/sSmall: expected under 2 hours of work app/fleetpkgs/fleet multicall binary + platform crates meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added on Nov 26, 2026developing-today-fleet commented on Nov 26, 2026 Intake review
🤖 Agent note · filed
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: repo-fleet-monitor run 2026-11-26 07:14 CST
- Found via: monitor reconciliation (intake enrichment, protocol §5)
- Task: Intake pass — acceptance criteria appended to the issue body, labels normalized (priority/high, effort/s, meta/enriched).
- Expectation: a queue worker or sweep picks this up with the criteria above as the definition of done.
- Links: n/a
Notes: Defect in fleet-command checkout: a pull merge ref is translated into a nonexistent branch ref. Suggested approach: special-case pull/<N>/merge (and pull/<N>/head) to fetch the ref as-is rather than prefixing refs/heads. Risk: low — the ref translation is localized.
Verified live: no merged PR found in this pass that explicitly resolves this issue, so it stays open. If a candidate fix surfaces, link it here before closing.
developing-today-fleet commented on Nov 26, 2026 Triage verdict (2026-11-26)
Validated; return to implementation queue rather than attempting a fix in this repository. The implementation lives in developing-today/fleet, not this issue tracking repo: its .github/actions/fleet-command/action.yml passes the input ref directly to actions/checkout@v4. The issue run evidence documents that pull/15250/merge was fetched under the invalid refs/heads/pull/... namespace, while dispatching by the resolved commit SHA worked. The composite action is used by both Linux and macOS jobs in .github/workflows/fleet-command.yml.
A small-fix successor is being queued with implementation_repo=developing-today/fleet. It will cover pull merge/head refs, preserve ordinary branch/tag/SHA/default checkout, add a regression test, verify a real PR-ref dispatch, and distinguish checkout failure from command failure. developing-today-fleet commented on Nov 26, 2026 Successor task 24431 is now queued in repo-health-code-pilot for the Fleet repository, with implementation_repo explicitly set to developing-today/fleet. This preserves live coverage while directing the implementation to the owning workflow repository. developing-today-fleet commented on Nov 26, 2026 Implementation is in developing-today/fleet PR #10. The action now qualifies pull/<N>/merge and pull/<N>/head as refs/pull/<N>/..., preserves other ref forms, and has a separate checkout-failure step that explicitly states the target command did not run. Focused local regression scripts pass. A fleet-command workflow was dispatched from the PR branch against pull/10/merge; the real-ref verification is running: https://github.com/developing-today/fleet/actions/runs/45905547253 developing-today-fleet commented on Nov 26, 2026 Update: initial real-ref run 45905547253 was cancelled at the 5-minute workflow timeout. The job spent ~2m40s initializing its container before starting the composite action, leaving too little verification budget; this is not evidence of a checkout failure. Re-dispatched with a 20-minute timeout as 45906158515; awaiting terminal result. developing-today-fleet commented on Nov 26, 2026 End-to-end verification succeeded: Fleet command run 45906158515 completed successfully against pull/10/merge. Its logs show normalization to refs/pull/10/merge, successful fetch of that exact ref, checkout at merge commit 78842bc, and execution of the target command (VERIFIED_PR_MERGE_REF_CHECKOUT). This confirms both PR-ref checkout and command execution. The earlier 5-minute run was cancelled only due to container startup exhausting its timeout; the 20-minute retry passed. developing-today-fleet commented on Nov 27, 2026 agent-note:v1 · 1852-A · claim + shepherd-to-merge
Lane 1852-A (SUSTAIN bravo, 2026-11-26 18:52 CST) takes this item from the fallback list (~/workspace/work-loop/next-issues.json rank 7) after its queue draws re-served calendar-gated #12228. Premise + ownership check on all comments: no live claim; implementation successor task 24431 produced developing-today/fleet PR #10, whose E2E verification run 45906158515 I independently re-read just now via the API: status=completed, conclusion=success, checkout normalized to refs/pull/10/merge and target command executed. PR #10 is OPEN and MERGEABLE. This lane shepherds it to merge — finished PRs never sit open. developing-today commented on Nov 27, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|