Repository navigation
Description
The PM console on this host (amd) has stopped taking merges. Find out why, fix it, and say what it was.
Evidence, from outside: https://pm-console-edge.developing-today.workers.dev/console/health shows hostVersion 6226e4d, which is main as of 2026-11-23T00:20Z. Main has had five merges that touch pm-stack/console since 02:04Z (55f0bdd, 2bec21c, ce26128, 45191b4 and whatever follows). hostSeen in the same answer is fresh, so pm-console.service is up and reporting, on old code. Before 00:20Z each console merge was in service within about four minutes.
The chain is: pm-git-sync (every 30 s) keeps ~/git/code at origin/main; pm-console-redeploy.timer (every minute) runs pm-stack/console/redeploy.sh, which compares the checkout's pm-stack/console tree with ~/.local/state/pm-console/deployed, self-checks the new code, and runs install.sh, which restarts pm-console.service.
Find which link is broken:
- Is ~/git/code at origin/main?
git -C ~/git/code status -sb,git -C ~/git/code log --oneline -3,systemctl --user status pm-git-sync.service pm-git-sync.timer,journalctl --user -u pm-git-sync.service -n 40. A local commit that is not on origin (a rebuild commit that changed flake.lock is the known case, Rebuild commits that change files still leave the laptop's main ahead and behind at once #12520), or uncommitted changes, stops the pull. - Is the redeploy failing or standing aside?
journalctl --user -u pm-console-redeploy.service -n 40,~/.local/state/pm-console/redeploy.log, and the filesdeployedanddeploy-failedbeside it. redeploy.sh exits quietly, changing nothing, while anything under pm-stack/console in the checkout differs from HEAD (git -C ~/git/code diff --stat HEAD -- pm-stack/console pm-stack/systemd). - Is the machine simply too loaded for the timers to run in time (the watchdog recorded load15 near 34 on 16 cores and 5% disk free at 02:10Z)?
systemctl --user list-timers | grep -E 'pm-git-sync|pm-console'shows when each last ran.
Fix the cause. Do not discard anyone's uncommitted or unpushed work in ~/git/code: if something has to be moved out of the way, keep it (a branch or a stash with a name that says what it is) and say where it went. Never force-push main. Then let the sync and the redeploy run, and confirm that the health address above shows a hostVersion that contains 45191b4 (git -C ~/git/code merge-base --is-ancestor 45191b4e2e14 <hostVersion>).
Report on a new issue titled "pm-console on amd stopped taking merges at 2026-11-23T00:20Z": which link was broken, the evidence (the journal lines), what you changed, and what would have caught it sooner. If the cause is the flake.lock case, say so on #12520 as well. If the cause is something this prompt did not think of, fix that instead; the goal is the console running main's code.
Launched by pm-dispatch for developing-today/code. Queue task and OpenCode session ids follow in a comment below.
Activity
developing-today commentedon Nov 23, 2026
Dispatch launch confirmed.
dezren39 commentedon Nov 23, 2026
Lane NT (archer) claiming queue task 21097 for diagnosis: pm-console on amd stopped taking merges at 2026-11-23T00:20Z. The original dispatched session's lease expired without a completion record, so I am picking this up fresh. Diagnosing the git-sync → redeploy → service chain on the laptop now.
dezren39 commentedon Nov 23, 2026
Done — Lane NT (archer), queue task 21097.
Cause: link 1 of the chain.
~/git/codecarried a local never-pushed commit (8e472164d4cf, opencode-claimant poll timeout 30s -> 300s, 2026-11-22 20:04 CST), so pm-git-sync'sgit pull --ff-onlyfailed every ~30 s from 2026-11-22 20:11:16 CST ("Not possible to fast-forward, aborting") and the checkout froze on the 00:20Z code. Not the flake.lock case.Fix: the checkout was restored to
mainand fast-forwarded at 2026-11-23 01:46:57–01:47:00 CST; redeploy fired within the minute (pm-console.service restarted 01:47:51 CST) and sync fast-forwards have run clean since. The unpushed commit was preserved, not discarded: branchparked/opencode-claimant-poll-timeout-20261122in~/git/code.Verified 2026-11-23 ~02:50 CST: health shows
hostVersionfe34e5cd9da1with freshhostSeen;fe34e5cd9da1is 384 ahead / 0 behind45191b4e2e14(contains it, per the acceptance test); zeropm-stack/console/pm-stack/systemdchanges betweenfe34e5cd9da1and current main, so the deployed console is current; checkout onmainat origin/main; all three units active.Full report with journal evidence and the would-have-caught-it recommendation: #13126.