Repository navigation
Description
What stopped
pm-console on amd stopped taking merges: health answered hostVersion 6226e4d93599 (main as of 2026-11-23T00:20Z) while main gained five pm-stack/console merges after 02:04Z, and hostSeen stayed fresh — service up, code old.
Which link was broken
Link 1 — pm-git-sync. Not the redeploy, not load. ~/git/code main was ahead 2, behind 22 with a clean tree: two local commits never pushed to origin, so every git pull --ff-only refused and the clone froze at the 00:20Z main. The redeploy unit was healthy throughout — it correctly had nothing new to deploy (checkout console tree == ~/.local/state/pm-console/deployed).
The blocking commit was made directly on the deploy clone's main at 02:04:53Z:
8e472164d4c— "fix(opencode-claimant): raise poll timeout 30s -> 300s so live fires pass the gate" (Move opencode executions to laptop-side scheduled tasks — retire the Muse boot handoff #3026). Changes files, so pm-git-sync by design refuses to move it aside and fails loudly — its comment says exactly this: "A local commit that changes a file still fails loudly and moves nothing: that one needs a person or an agent."bbe127c8983— "amd 571" — an empty rebuild marker. Not the blocker, and not the Rebuild commits that change files still leave the laptop's main ahead and behind at once #12520 flake.lock case either: Rebuild commits that change files still leave the laptop's main ahead and behind at once #12520's marker changed flake.lock, this one changes nothing (git diff 8e472164d4c bbe127c8983is empty) and pm-git-sync would have auto-moved it aside under arebuild-marker/tag had it been alone.
Evidence (journal lines)
Nov 22 20:11:16 amd pm-git-sync[1555519]: pm-git-sync: FAIL git pull --ff-only 8e472164d4cfa15c5154c7d84585cf95c8898773 -> 24be6fdd6f40b3ea13e89763a1c7de8ba6189ec0 in /home/user/git/code
Nov 22 20:32:20 amd pm-git-sync[1930032]: pm-git-sync: FAIL /home/user/git/code main has 2 commit(s) origin does not and is 22 behind — not pulling.
Nov 22 20:32:20 amd pm-git-sync[1930032]: pm-git-sync: commit 8e472164d4c fix(opencode-claimant): raise poll timeout 30s -> 300s so live fires pass the gate changes files or is a merge; it is not moved aside.
First failure 20:11:16 CST (2026-11-23T02:11Z), seven minutes after the commit landed; failing every 30 s since. Timers were never late (pm-git-sync last ran seconds before inspection; redeploy every minute on the dot).
What was changed
Nothing discarded, nothing force-pushed:
- Both local commits preserved: branch
unpushed-main/2026-11-23-claimant-poll-timeoutpushed to origin (holds8e472164d4candbbe127c8983), and the empty marker additionally taggedrebuild-marker/amd-571, pm-git-sync's own convention. The claimant fix is real production work (Move opencode executions to laptop-side scheduled tasks — retire the Muse boot handoff #3026) — it is on that branch ready to be landed properly. ~/git/codemain moved toorigin/main(cd688f5566c8) withgit reset --keep— the same move pm-git-sync itself performs for the empty-commit case.- The timers then did the rest, unmodified:
Nov 22 20:36:59 amd pm-git-sync[1961357]: pm-git-sync: ok clean main, up to date at cd688f5566c842f5b0245fcb02a5cd8042d30f39
Nov 22 20:37:14 amd bash[1963101]: redeploy: cd688f5566c is in service
- Verified from outside:
https://pm-console-edge.developing-today.workers.dev/console/healthanswershostVersion: cd688f5566c8, andgit merge-base --is-ancestor 45191b4e2e14 cd688f5566c8passes. Merge-to-service latency is back to about a minute (PR refactor(start-axum): facade slimming — crate split step 3 (#8969) #12778's merge was in service one minute later).
What would have caught it sooner
- pm-git-sync failed every 30 s from 02:11Z and nothing alerted: the console's Services screen surfaces redeploy failures, not sync failures, so the stall was invisible until merges visibly stopped landing. A failure-streak alert on
pm-git-sync.service(any watchdog already watching user units) would have flagged it within minutes. - The console already publishes
hostVersion/hostSeenon /console/health. A staleness watchdog comparing health'shostVersionagainstorigin/main— hostVersion hours stale while origin/main has newpm-stack/consolecommits — would have caught it with no journal access at all. - Root-cause family is "commit made directly on the deploy clone's main" (Rebuild commits that change files still leave the laptop's main ahead and behind at once #12520, laptop-repo-keeper: snapshot commits on the primary's main diverge it from origin and break deploys #2496, pm-git-sync stalled 2026-11-08→10: queue lanes worked directly in the primary clone and a stale worktree squatted the main branch #8170, pm-git-sync: projector redeploy restarts without ensuring node_modules — catch-up pull crash-looped pm-projector on missing @libsql/client #8171). The empty-marker variant is already auto-moved; the file-changing variant still requires a person by design. The two alerts above close the detection gap for that case.
Activity
developing-today commentedon Nov 23, 2026
CODE-4684
dezren39 commentedon Nov 23, 2026
Coverage note: intentionally not enqueued for triage — this is the post-incident report for queue task #21097 (issue #12776), and the fix it describes is already in service (verified via /console/health). No follow-up work is being requested; the only open thread is the preserved branch unpushed-main/2026-11-23-claimant-poll-timeout, which #3026 owns.