Repository navigation
Description
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:
- The checkout is not at main:
pm-git-synchas 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 -sbandsystemctl --user status pm-git-syncsay. - The checkout has changes under
pm-stack/consoleor the console's units that match no commit (redeploy.shleaves 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/systemdsays. - The new code did not pass its self-check there:
systemctl --user status pm-console-redeployshows the unit failed, and the state directory'sredeploy.loghas 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.shsays so where someone will see it once it has skipped for more than a few minutes, and does not skip silently for hours. (Loud skip after a ten-minute grace period: pm-console: redeploy fails loudly after minutes of dirty-tree skipping (#13833) #14080.) - 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
developing-today commentedon Nov 23, 2026
CODE-5077
dezren39 commentedon Nov 23, 2026
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-syncwill not pull into a dirty tree.journalctl --user -u pm-git-syncshowsFAIL working tree is dirty — not pullingon 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.pypm-stack/opencode-claimant/test_claimant.pyThe checkout is
main...origin/main [behind 67].pm-stack/consoleandpm-stack/systemdhave no diff, so case 2 does not apply.pm-console-redeployexits 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-syncshould report a dirty tree to the edge (Machines screen) instead of failing silently in journald.redeploy.shshould say so after a few minutes of skipping.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.
pm-console: redeploy fails loudly after minutes of dirty-tree skipping (
dezren39 commentedon Nov 24, 2026
Lane any-n slice update (2026-11-24 ~04:30Z):
Diagnosis now. The checkout is on another lane's active branch (
queue/21628-12215-program-run-history-decision, HEAD 145013c) with a transiently dirty tree underpm-stack/console(their edits flip minute to minute). So both failure modes are live at once:pm-git-syncfails every run ("on branch ..., not main — not pulling", journald only), and at dirty ticksredeploy.shtakes its silentexit 0. The service has run f86b529 since 18:37 CST while the edge is at 92e3463. I moved nothing: the branch and the edits are someone's work.Slice landed: #14080 makes criterion 2 pass — a dirty-tree skip is still quiet for a ten-minute grace period, then the run exits 1 naming the stuck paths (Services screen + notifications, the same channel the self-check failure already uses).
bun test test/redeploy.test.ts: 8 pass on the laptop; marker clears when the checkout is whole again.Next slice: pm-git-sync's stuck reason (not-on-main / dirty) reported where the edge can see it, toward criterion 3's tree-hash comparison — needs the checkout owner question settled first, since no code change un-sticks the current checkout.
Merge pull request #14080 from developing-today/queue/13833-redeploy-…
dezren39 commentedon Nov 24, 2026
Triage verdict (oc-code-03, 2026-11-24): still open; partially verified from outside. Edge health (
/console/health) answers and the host is reporting (hostSeencurrent), buthostVersionisf86b52989c31, which is behind main (lastpm-stack/consolechange8eba90dd49a, 2026-11-24 02:08 -06:00). That confirms the laptop has not yet caught up. The three laptop-side causes (checkout not at main, dirty console checkout, failed self-check) need a laptop shell, which is unreachable from this lane. Follow-on: laptop triage ofpm-console-redeploy(systemctl --user status,redeploy.log,git status -sb) by a laptop-side lane, plus the requested skip-visibility change inredeploy.sh. Tracking: #14158.dezren39 commentedon Nov 24, 2026
Triage verdict (oc-code-01, 2026-11-24 08:3xZ, queue task 22719): still open, not resolved in substance. Fresh state: the issue is OPEN; the last triage (oc-code-03, 08:14Z) found the edge answering but
hostVersionat f86b529, behind main's lastpm-stack/consolechange 8eba90d. This lane cannot reach the laptop shell (fleet agent enrollshell leg: broker connection refused, no HTTPS_PROXY), so the three laptop-side causes (checkout not on main, dirty console checkout, failed self-check) stay unverified here. Follow-on: a laptop-run triage packet ofpm-console-redeploy(systemctl --user status pm-console-redeploy, the state dir'sredeploy.log,git -C ~/git/code status -sb, anddiff --stat HEAD -- pm-stack/console pm-stack/systemd) must run on a laptop with shell access. Tracker #13504; coverage #14158.dezren39 commentedon Nov 24, 2026
Triage record (felix lane, queue task 22719, 2026-11-24 ~09:37Z). Fresh outside evidence; this updates — and agrees with — the two laptop-side diagnoses already here (7116430066, 7122045392).
Verdict: still open. Criterion 1 is not met, and now provable from outside down to the tree hash.
Verified from this seat just now:
hostSeen09:37:05Z against a 09:37:27Z check,ok: true, self-check all green. The machine is not down; it talks to the edge every ~30 s as usual.versionis440365f1aa90— merge of PR feat(pm-console): notifications that say what happened and carry buttons that answer #14223, on main (2026-11-24 02:52 −06:00). Cloudflare is current.hostVersionhas moved since the 08:14Z triage: it is now9c2b4ad096e3(wasf86b52989c31). That commit is a lane commit — "docs(10391): nine-point design for iroh-native ID transport in fleet", oc-code-06 / queue task 21681, 2026-11-24T05:58:18Z — and it is not on main. Its merge-base with main is9f3485b56d09(2026-11-23 22:47 −06:00).pm-stack/consoletree at9c2b4ad096e3isac713e49f249, byte-identical to the console tree atf86b52989c31(2026-11-23 18:34 −06:00). Main's console tree is now5a4fb200a185(last console changes on main ~02:49–02:52 −06:00 today). So the laptop's HEAD walked along a lane branch while the console it serves stayed at the Nov 23 18:34 CST state — exactly the stuck-checkout picture, still live.Root-cause ranking (by evidence):
pm-git-syncnot pulling. Established, twice on the laptop and consistent with everything seen from outside. First form (23:00Z diagnosis): dirty tree — uncommitted edits in.opencode/opencode.jsonc,pm-stack/opencode-claimant/claimant.py,test_claimant.py; sync refuses to pull into a dirty tree, journald only. Second form (04:28Z): checkout parked on another lane's active branch with transiently dirtypm-stack/console, soredeploy.shalso takes its silentexit 0at dirty ticks. The freshhostVersion(a third lane's commit, not main) fits this and nothing else.pm-stack/consoleorpm-stack/systemdat that time. (It became transiently true later via the lane branch's edits, per the 04:28Z note.)pm-console-redeployexits 0 each minute because it sees the old commit.Status of the acceptance criteria:
pm-git-sync's stuck reason (not-on-main / dirty) reported where the edge can see it — is still the open follow-on.Unknown from here: the laptop's current branch name, its present dirty paths, and the current
pm-git-syncjournal line. This seat cannot check them today: TCP probes to amd-6 (100.99.113.103 ports 22 / 4799 / 4801) got no answer, andfleet agent doctorshows the push and queue rungs down (shortlist/priority only, "fleet shell has no laptop route from here"). No laptop-local facts are guessed at above.Exact next step, and whose hands: on the laptop, the owner of the lane work currently occupying
~/git/codecommits, moves, or discards that work and returns the checkout to a cleanmain(or the checkout is moved to a dedicated path so lanes stop sharing it) — thenpm-git-syncpulls,pm-console-redeployfollows within a minute or two, andhostVersion/ the console tree hash can be re-read from the edge to confirm. That is a laptop-side / Drewry-or-laptop-lane step; it cannot be done from this seat, and per the earlier diagnoses it should not be done by anyone but the edits' owner. After it unsticks, the remaining code work is the criterion-3 slice: reportpm-git-sync's stuck reason to the edge and compare console tree hashes on the Machines screen.Tracker: #13504.
dezren39 commentedon Nov 24, 2026
Fixed in service, 2026-11-24 10:19Z. Cause and what was done.
Cause. The console ran from
~/git/code, the checkout the lanes work in. That checkout is not kept at main (lanes leave it on their own branches with half-written files, andpm-git-syncrightly will not pull into that), so the console in service was whatever the checkout held. At 08:39:25Z today that became another branch's code: the console's own redeploy unit loggedredeploy: 9c2b4ad096e is in service, a commit ofoc-code-06/design-10391-iroh-transport, when the checkout was switched to it. The five passes above each found the symptom still there; none could fix it, because the console's code was a fact about a directory someone else was working in.Done (#14286). A machine's console now runs from a copy of main that is its own, under
~/.local/share/pm-console: a clone that fetches only main from GitHub and only the console's part of the tree, a release laid out per commit, and a link to the one in service.redeploy.shasks GitHub for main every minute; new console code is laid out, started in a self-check, and only then put into service, and the console has come up only when it answers its health check as that commit. A release that does not start or does not come up is taken out and the one before it put back, and the unit fails where the Services screen and notifications show it. GitHub out of reach is a failure after half an hour.Seen.
amd, by hand once at 10:19Z:redeploy: e16c2459a649 is in service; the service's working directory is~/.local/share/pm-console/releases/e16c2459…/pm-stack/console. The old unit files are kept at/tmp/pm-review-claude/units-backupon that machine.redeploy: 6dfb0637a5bb is in service.versionandhostVersionare both6dfb0637a5bb, andmachineSettingsDifferis empty (it was["needsRepos"]while the laptop ran old code).Against "what done looks like".
.release, which is what the two sides would compare; what is left is for a machine to report it, the Worker to know its own, and the Machines screen to say when they have differed for more than a few minutes.Left open for the third point.
Generated by Claude Code
dezren39 commentedon Nov 24, 2026
amd-6 disk: diagnosis + cleanup pass, 2026-11-24 ~06:26–07:31 CST (Felix lane)
Drewry authorized a repeat of the 2026-11-23 purge ("clean up disk again"). Related: #3372 (the earlier /home-at-100% incident).
Free-space timeline during the pass (3.3T /home, single NVMe)
107G free at 06:26 → 88G (06:47) → 78G (06:57) → 63G (07:08, mid-purge) → 76G (07:16, a lane temp vanished) → 69G at 07:31 and still draining. Writes are outpacing cleanup; at the observed rates the disk fills in roughly 1–3 hours unless the big debris fields below are pruned.
Top consumers (measured this pass, read-only du)
id~250 GiB,broker-pool~166 GiB; broker-pool files written minutes before sampling — actively growingtmpalone ~286 GiB: 19,907 entries incl. 1,253opencode-core-test-*scratch dirs (~1.5 GiB each, newest today 05:37) +tmp/opencode~50 GiB; worktree 10.5 GiB, storage 3.0 GiB, snapshot 2.7 GiBThe "unknown writer" — identified
No single runaway process. The drain is lane/test infrastructure debris accumulating plus live writes from lanes running on the laptop right now (13 nix/cargo processes at last check; another lane was creating worktrees from ~/git/code during this pass):
This is the same class as the 2026-11-23 cause (per-worktree cargo targets, 100–300 GB per busy day), in shared-lane + opencode-tmp form.
Cleanup performed
Untouched, per instructions
~/git/code and all 37 of its top-level worktrees (parked on
queue/21642-14039-native-lancedb-reader, HEAD 9e6b4ad — another lane's uncommitted work), ~/code-8584-turso-d1, pm-stack, ~/.local/state,/.config./git/fleet is main@2026-11-06, tracked-clean but 1,806 untracked files incl. a .cargo-target; ~/git/code-fallback-5747 is a clean detached Nov-6 fallback branch).install-units.shwas not run: there is no clean current-main checkout on the laptop to run it from (Also done this pass: fleet binary on amd-6 updated
74eee89 → 7b54ce5 (byte-identical copy of this seat's build, sha256 abcd1116930cf54f88cc7a268195560c0eec0a53a87352321b17ef201a0b1ae5, via
fleet proxy putwith hash verification). Old binary backed up as ~/.local/bin/fleet-74eee892e.bak. On-laptopfleet agent doctor(agent oc-code-04, new binary): bridge ok, queue ok, github ok (fleet route); shell leg fails only in the on-box self-route check (no proxy env in that shell context) while external fleet shell access demonstrably works. Running daemons pick the new binary up on their next restart.14 remaining items
developing-today-fleet commentedon Nov 29, 2026
Felix lane 0640-S progress (2026-11-29): PR #16804 open with the criterion-3 comparison slice.
release.mjsstamps the released commit's tree beside VERSION (TREEvar, both upload and full-deploy paths; read from the release checkout, pinned in tests viaPM_RELEASE_TREE; unstamped when a checkout cannot say).env.TREEto the edge asownTree. On each report the edge compares the machine's tree with its own and keeps when the difference began (host record / mhost record, read back on restart; a different differing tree does not restart the clock; matching clears it).treeDivergedForonce the difference has lasted 5 minutes (TREE_DIVERGED_MS); the Machines screen says "It has run other code than Cloudflare for N min." and redraws by the minute while it lasts. Unknown tree on either side → nothing is said, exactly as today.Verification: fleet-command run 46268726624 at PR head 91556bb (typecheck + full console bun suite) — result to follow here. Felix merges.
Merge pull request #16804 from developing-today/felix/13833-divergenc…
developing-today-fleet commentedon Nov 29, 2026
Lane 0737-E (alpha DRIVE, 2026-11-29) landed PR #16804 MERGED 0fc743b under standing merge authority after full-diff verification: criterion 3 comparison half — release stamps TREE, edge tracks treeDivergedSince per machine (5-min TREE_DIVERGED_MS threshold, persists across restarts, clears on match), Machines screen says "run other code than Cloudflare for N min". #13833 stays open for its live half per the PR body.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): recheck of this issue (body, all comments, labels, blocker edges).
STRENGTHS: An exemplary diagnostic body — the symptom is read from outside with a copy-paste check (
/console/healthversion comparison), the three candidate causes are enumerated with the exact laptop-side command that distinguishes each, and "what done looks like" is stated as checkable criteria, including the tree-hash comparison (criterion 3) instead of commit-at-HEAD.GAPS: None in the issue's own record. Labels are complete (
kind/bug,priority/high,status:in-review,work/assigned,app/pm-stack).FIXES I APPLIED: None needed. Progress recorded for the picker-up: the criterion-3 edge-side slice landed today — PR #16804 merged (lane 0640-S's comparison slice:
release.mjsstamps the released commit's tree beside VERSION; merged by lane 0737-E after full-diff verification, 2026-11-29).REMAINS: The head acceptance — the laptop's console actually following main again, with the cause written here — plus the Machines-screen staleness surfacing. The follow-main machinery is CF-9 (#14949); its remaining gate is the next laptop rebuild + first-fire verification.
dezren39 commentedon Nov 29, 2026
Census note — CEN-C13, 2026-11-29
Full body + comments re-read firsthand for the 2026-11-29 census. (Re-delivered: the original posting pass was lost to GitHub's addComment secondary rate limit; labels below were applied live by the census.)
Verdict: ready — code complete incl. today's criterion-3 comparison merge; the live half remains.
Blocker: none. Remainder: deployment of the tree-stamping release path + one live observation of the divergence warning (PR #16804 merged today, 2026-11-29).
Gaps: none material — labels already sane (priority/high, kind/bug).
Strengths: a model incident record — the body names the three candidate causes and exactly where to look for each; the diagnosis ruled two out with evidence before fixing the third; the fix removed the failure class (console runs from its own main-only release copy) instead of unsticking the shared checkout; and the "the fix cannot self-apply to this incident" catch on criterion 2 was noticed and written down.
Labels (applied by the census): none — no label change.
developing-today-fleet commentedon Nov 29, 2026
Priority validation 2026-11-29 (Felix): priority/high → priority/normal — the incident was fixed in service on 2026-11-24 and the criterion-3 comparison code merged today (PR #16804); what remains is deploying the tree-stamping release path and one live observation of the warning, which is ordinary follow-through, not time-sensitive.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Census audit of #13833 (pm-console: the laptop's console has not followed main since 2026-11-23 22:09Z).
Strengths: model bug report — observed window with commit SHAs for both sides, an outside repro (the edge health curl), impact stated plainly, and three named hypotheses with the exact laptop commands that discriminate them; classification was complete on arrival (kind/bug, priority/high, app/pm-stack, source/agent, user/review, work/assigned).
New evidence since filing: lane 0737-E reports PR #16804 merged today (2026-11-29) as the resolution under standing merge authority, after full-diff verification. This census does not close issues; the issue stays open for the owner verification/closure judgment.
Gaps found: no effort/* label — the only missing signal.
Actions taken: added label effort/xs (the remaining verification step). No body edit. Priority stands at priority/high.
developing-today-fleet commentedon Nov 29, 2026
Lane 1352-E (Archer, bravo SUSTAIN) claiming #13833 — outside read already shows hostVersion=50c09a1262e2 (main, 2026-11-29T18:21Z, ahead of the newest pm-stack/console commit f1e638b) on two agreeing health reads; now doing the laptop-side cause check this issue prescribes (pm-git-sync / checkout state / pm-console-redeploy unit + redeploy.log). Key: 1352-E
developing-today-fleet commentedon Nov 29, 2026
Lane 1352-E verification (2026-11-29 ~20:05Z), gh CLI + the outside read this issue prescribes:
GET https://pm-console-edge.developing-today.workers.dev/console/health:hostVersion=50c09a1262e2,hostTree=4e67e523c2da, hostSeen fresh (~19:37Z), host reporting every cycle as usual.50c09a1262e2is a main commit (merge of PR fix(console): clear JWKS cache between setups in edge test (#16903) #16926, 2026-11-29T18:21:04Z): compare main...50c09a1 = ancestor (ahead 0 / behind 54), and it is AHEAD of the newest commit touchingpm-stack/consoleon main (f1e638b, 18:12:33Z; compare 50c09a...f1e638 = behind 6). So the laptop console is running main-line code newer than the latest console change — the stuck-at-91d1d63e2e76 (2026-11-23) symptom is GONE, and the edge now exposes hostTree for exactly the self-comparison the issue asked for.developing-today-fleet commentedon Nov 30, 2026
Lane 2307-H — fresh outside read (2026-11-30T05:52Z): the console host has stopped reporting entirely.
The outside read this issue prescribes, run twice this run:
GET https://pm-console-edge.developing-today.workers.dev/console/health→ edge healthy and current (selfCheck at 2026-11-30T05:23Z, all kinds ok),version=2d46f84efbcc,hostVersion=50c09a1262e2,hostTree=4e67e523c2da…,hostSeen=1795981069465= 2026-11-29T19:37:49Z.Wake: laptop route restored (#16762) → run the body's laptop-side checks, write the cause here, then close on the 1352-E + post-recovery evidence.
Key: 2307-H
developing-today-fleet commentedon Nov 30, 2026
Lane 0307-AH (charlie ADVANCE recovery wave, 2026-11-30) — cause written here; closing on the evidence below.
The cause (original incident). Case 1 of this issue's three: the console ran from
~/git/code, the checkout the lanes work in.pm-git-syncrightly will not pull into a dirty tree, and that checkout sat on another lane's active branch with transient edits underpm-stack/console— diagnosed laptop-side 2026-11-23 ~23:00Z (comment 7116430066) and 2026-11-24 ~04:30Z (comment 7122045392). Fixed in service 2026-11-24 10:19Z (comment 7128775052): the console now deploys from its own main-only copy (PR #14286, merged). It was not case 2, so the loud-skip leg remains its own follow-on, #14080.Criterion 3 (edge self-detection). Implemented and live: PR #15960 (host reports its release tree OID as
hostTree) and PR #16804 (criterion-3 comparison half, merged by 0737-E 2026-11-29). The tree-stamping path is deployed —hostTreeis present in the live health read below.Fresh verification (this lane, 2026-11-30 ~09:39–09:41Z, via the laptop route + gh CLI):
version=fb5f233c07ba,hostVersion=542e40ed499a,hostTree=6a6a85fe4614…,hostSeen=1796031583281= 2026-11-30T09:39:43Z — seconds old at read time; the host reports every ~30s again.hostVersion542e40e is a main commit (merge of PR fix(mcpx): drop stale daemon.inlineStartPoll feature-coverage exemption (#1978) #17138, 2026-11-30T09:24:40Z): compare 542e40e…main = ancestor, 0 behind in the compare's behind_by for the host side (main 6 ahead); compare 7179a30…542e40ed499a = ahead 45 — the host runs main code 45 commits newer than the newestpm-stack/consolechange on main (7179a30, 2026-11-30T06:50:53Z). The laptop's console is on main's code again.pm-git-sync— "ok clean main, up to date at b131175" (= current main head, gh-verified 2026-11-30T09:37:06Z) on repeated runs 09:39–09:40Z;pm-console-redeploy— Starting/Finished cycling normally every ~1 min through 09:40Z, no failed unit.Closing as complete: criterion 1 met with the cause written here, criterion 2 was conditional on case 2 (not the cause; tracked in #14080), criterion 3 implemented (#15960/#16804) and observed live above.
Key: 0307-AH