GeezerVison is showing github.com — pm-console edge: what the laptop may have done waits a day for it; look whether it happened instead · Issue #14102 · developing-today/code
pm-console edge: what the laptop may have done waits a day for it; look whether it happened instead #14102DescriptionToday. An action sent to the host that got no word back (no answer, a gateway's 502, a wait that ran out) may have been done there. The edge keeps it as the host's by name and never does it itself (#14076): the host says what became of it when it next reports. If the host does not come back, the action waits a day and is dropped, and the owner is told to check whether it happened.
That is safe, and it is slow in one case that may turn out to be common: the first moments after a laptop goes to sleep. Until Cloudflare notices that the tunnel has no connection it may answer with something other than its 530, and what the owner does in that time is then "asked" and waits for a laptop that is not coming, though the edge could do it. How long that window is has not been seen; the health answer's held counts (asked against either) will show it the first time it happens.
What done looks like.
- For the kinds where the edge can see for itself whether the thing happened (a comment by the owner with that text since the action's time; a rank now set), it looks, once it can ask GitHub again. Done there: the hold is settled as done, and the host is not handed it. Not done, and the host has still not reported after long enough that it cannot be in the middle of it: the edge does it, by the same rule as anything else it holds.
- For kinds it cannot see (or cannot tell apart from the owner doing the same thing twice on purpose), nothing changes.
- What "long enough" is comes from what an asking of the host can take (
ACT_MS) and from what is seen in service, and is written down with the reason.
- Tests in
pm-stack/console/test/edge.test.ts for each kind it looks for, both ways, and for one it must leave alone.
First, before building any of it: read the health answer after the laptop has slept with something held. If nothing is ever asked in that case, this is not worth doing, and the issue should be closed saying so.
Design record: doc/2026-11-23T06-50-00Z_architecture_pm_platform_cloudflare_core/ (the 2026-11-24T05:00Z correction).
Generated by Claude Code Activitydeveloping-today commented on Nov 24, 2026 dezren39 commented on Nov 24, 2026
Triage verdict (lane any-o, queue task 22515, 2026-11-24): foundation landed, gate unexecuted — observation routed.
Fresh verification: #14076 merged, edge source + edge.test.ts present on main; no health-answer evidence on this issue yet. The before-building gate needs a real laptop-sleep-with-held-action event, which triage cannot manufacture — routed as a bounded observation packet (task 23321): quote asked/either counts, then build or close #14102 on the evidence. developing-today-fleet commented on Nov 26, 2026 Lane code-f observation (2026-11-26): read the public edge health endpoint https://pm-console-edge.developing-today.workers.dev/console/health at approximately 2026-11-26 22:50 UTC. It reported held: {"either":0,"machine":0,"asked":0}, hostSeen: 1795733484336, woke: 1795733479048, and listening:0. This is a current snapshot, not evidence of the required real laptop-sleep-with-held-action event; a zero current count cannot establish whether anything was ever asked after sleep. No build-vs-close verdict is justified. Task 23321 remains an observation gate pending that real event. developing-today-fleet commented on Nov 28, 2026 Lane code-h observation (2026-11-28): read the public edge health endpoint https://pm-console-edge.developing-today.workers.dev/console/health at 2026-11-28 02:39 UTC. It reported held: {"either":0,"machine":0,"asked":0}, hostSeen: 1795833552262, woke: 1795833552262, listening: 0. Same as the 2026-11-26/27 snapshots: zero current held counts, and this snapshot is still not tied to a real laptop-sleep-with-held-action event — a zero current count cannot establish whether anything was ever asked after sleep. No build-vs-close verdict is justified. Task 23321 stays parked as an observation gate pending that real event. developing-today-fleet commented on Nov 28, 2026
Observation — lane oc-code-04, task 23321, 2026-11-28 ~03:25Z. No verdict; gate still awaiting a real sleep-with-held event.
Fresh reading of the public edge health endpoint https://pm-console-edge.developing-today.workers.dev/console/health at ~03:25Z: held: {"either":0,"machine":0,"asked":0} (worker woke: 1795835048486, newer than the 02:39Z snapshot). Third straight zero snapshot (code-f 11-26, code-h 02:39Z today, this one) — and like its predecessors it is a current snapshot, not tied to a real laptop-sleep-with-held-action event, so it cannot establish whether anything is ever asked after sleep. Per the issue's own before-building rule, no build-vs-close verdict is justified.
Resume: re-observe when a laptop-sleep-with-held-action event is known to have occurred, then quote the health answer's held counts from that window. developing-today-fleet commented on Nov 28, 2026
Observe gate (2026-11-28T03:26Z): public edge health snapshot held either/machine/asked = 0/0/0 (hostSeen 1795836350556, woke 1795836350556) — fourth straight zero snapshot, not tied to a real laptop-sleep-with-held-action event. No go/no-go verdict possible per the issue gate. Endpoint healthy (all self-check kinds ok, queueTransport up). developing-today-fleet commented on Nov 28, 2026 Observe gate (2026-11-28T03:48Z, lane code-i, task 23321): public edge health snapshot held either/machine/asked = 0/0/0 (hostSeen 1795837681961, woke 1795837681961, listening 0) — fifth straight zero snapshot, not tied to a real laptop-sleep-with-held-action event. No go/no-go verdict possible per the issue gate. Endpoint healthy (self-check kinds ok, queueTransport up). Task stays parked as an observation gate pending that real event. developing-today-fleet commented on Nov 28, 2026 Observe gate (2026-11-28T04:52Z, lane code-f, task 23321): public edge health snapshot held either/machine/asked = 0/0/0 (hostSeen 1795841521408, woke 1795841521408, listening 0, answered 0, deferred 0) — sixth straight zero snapshot, not tied to a real laptop-sleep-with-held-action event (woke advanced ~64 min in lockstep with wall clock since the 03:48Z snapshot; held stayed 0 throughout). No go/no-go verdict possible per the issue gate. Endpoint healthy overall (queueTransport up); one self-check kind flaked this pass: board: queue store refused the query (all other kinds ok). Task stays parked as an observation gate pending that real event. developing-today-fleet commented on Nov 28, 2026
Observe gate (2026-11-28T05:58Z, lane oc-code-04, task 23321): public edge health snapshot held either/machine/asked = 0/0/0 (hostSeen 1795845510474, woke 1795845502975, listening 0, answered 0, deferred 0) — seventh straight zero snapshot, not tied to a real laptop-sleep-with-held-action event (woke advanced in lockstep with wall clock since the 04:52Z snapshot; held stayed 0 throughout). No go/no-go verdict possible per the issue gate. Task stays parked as an observation gate pending that real event. developing-today-fleet commented on Nov 28, 2026
Observe gate (2026-11-28T06:21Z, lane code-f, task 23321): public edge health snapshot held either/machine/asked = 0/0/0 (hostSeen 1795846839117, woke 1795846866731, listening 0, answered 0, deferred 0) — eighth straight zero snapshot, not tied to a real laptop-sleep-with-held-action event (woke advanced in lockstep with wall clock since the 05:58Z snapshot; held stayed 0 throughout). No go/no-go verdict possible per the issue gate. Endpoint healthy (self-check kinds ok, queueTransport up). Task stays parked as an observation gate pending that real event.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|