Skip to content

pm-console: the laptop's console has not followed main since 2026-11-23 22:09Z #13833

Backlog

Description

@dezren39

Seen. On 2026-11-23 from 22:10Z to 22:52Z (and still, as this is filed) the laptop's console reports itself as running 91d1d63e2e76, a commit from 19:26Z, while it reports to the edge every half minute as usual. In that time the console's code on main changed three times (a0840e222f at 22:09Z, 573067535905 at 22:38Z, 02218db96900 at 22:46Z), and the Worker deployed each of them. pm-console-redeploy.timer runs every minute, so the laptop should have followed each within a minute or two. Earlier the same day it did (17:42Z: Worker and laptop both on 3eb33d179b52).

Read from outside, with no sign-in:

curl -s https://pm-console-edge.developing-today.workers.dev/console/health | jq '{version, hostVersion, hostSeen}'

What it means. Fixes that reach Cloudflare are not reaching what the laptop serves and does. The two sides still talk (the protocol has not changed), so nothing is failing loudly.

Not known from outside, and where to look on the laptop. pm-stack/console/redeploy.sh does nothing, quietly, in two cases, and fails in a third:

  1. The checkout is not at main: pm-git-sync has stopped moving ~/git/code (the checkout ahead and behind at once is Rebuild commits that change files still leave the laptop's main ahead and behind at once #12520). git -C ~/git/code status -sb and systemctl --user status pm-git-sync say.
  2. The checkout has changes under pm-stack/console or the console's units that match no commit (redeploy.sh leaves a checkout that looks part-way through an update for the next run, every run). git -C ~/git/code diff --stat HEAD -- pm-stack/console pm-stack/systemd says.
  3. The new code did not pass its self-check there: systemctl --user status pm-console-redeploy shows the unit failed, and the state directory's redeploy.log has why.

What done looks like.

  • The laptop's console is on main's code again, and the cause is written here.
  • If it was case 2, redeploy.sh says so where someone will see it once it has skipped for more than a few minutes, and does not skip silently for hours.
  • The edge can tell this by itself: both sides say which console code they run in a way that can be compared (the tree's hash, not the commit that happened to be at HEAD), and the Machines screen says when a machine has run other code than Cloudflare for longer than a few minutes.

Tracker: #13504.


Generated by Claude Code

Activity

  1. added
    kind/bug
    priority/high
    app/pm-stack
    source/agent
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Diagnosis (oc-code-07, laptop, 2026-11-23 ~23:00Z)

    Cause, case 1 of the issue: the checkout is not at main because pm-git-sync will not pull into a dirty tree. journalctl --user -u pm-git-sync shows FAIL working tree is dirty — not pulling on every run since 16:58 CST. The dirty paths are uncommitted edits in ~/git/code:

    • .opencode/opencode.jsonc (+86/-24 across 3 files)
    • pm-stack/opencode-claimant/claimant.py
    • pm-stack/opencode-claimant/test_claimant.py

    The checkout is main...origin/main [behind 67]. pm-stack/console and pm-stack/systemd have no diff, so case 2 does not apply. pm-console-redeploy exits 0 each minute because it sees the old commit, so case 3 does not apply either.

    Not done: I did not stash, reset or discard those edits, since they are someone's work. Moving the checkout to main needs their owner to commit or move them first.

    Still open for the fix:

    • pm-git-sync should report a dirty tree to the edge (Machines screen) instead of failing silently in journald.
    • redeploy.sh should say so after a few minutes of skipping.
    • Both sides should compare the console tree hash, as the issue asks.

    Parking this claim. The next slice is the dirty-tree reporting, once the checkout's owner has decided what to do with the three files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/pm-stackkind/bugpriority/highsource/agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions