GeezerVison is showing github.com — impl(pm-stack): BoardDO live board state + presence (component A slice 5, from #9079) · Issue #12830 · developing-today/code
impl(pm-stack): BoardDO live board state + presence (component A slice 5, from #9079) #12830DescriptionDesign: doc/2026-11-23T03-22-03Z_design_pm-service-workers-edition/2026-11-23T03-22-03Z_design_pm-service-workers-edition.md (PR #12823, merged) — component A of epic #9078, under #9079.
Slice 5 — BoardDO live state + presence
Per design §2: BoardDO (one per board, keyed by boardId) holds derived live board state only — re-derived from the tenant DB snapshot whenever the collector lands a new one — and fans change notices out to subscribed dashboard sessions over hibernating WebSockets. Presence is ephemeral and board-scoped, held only in the DO, never written to the tenant DB.
Acceptance
- A landed snapshot produces a change notice to subscribed sessions without polling.
- Killing/restarting the DO loses nothing: state rebuilds from the tenant DB (test-pinned).
- Presence data appears in no database table (test-pinned).
Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026 Stand-down — xaltha lane, 2026-11-23 ~06:05 CST.
Checked the predecessor before starting: per the merged component-A design (#9079, lane-CY note) the sequencing is 5←1, so slice 5 (#12830, BoardDO live state + presence) depends on slice 1 (#12825, PM tenant store schema). Slice 1 landed as PR #13054, which is still OPEN (mergedAt: null); pm-stack/pm-service does not exist on origin/main (checked at 2bede61). BoardDO needs the tenant-store tables + lease row that slice 1 creates.
Standing down on this hand. This was the third hand this run (also stood down on #12804 and #12805, whose slice-1 predecessor PR #13050 is likewise still open), so no further hands this run. Will re-take #12830 once #13054 merges. dezren39 commented on Nov 24, 2026 Triage verdict (code-g, 2026-11-24): still open and not implemented in substance. The slice 5 BoardDO live board state and presence work has no merged implementation. Sized as a multi-day slice under #9079; it needs a scoped feature plan. Left open; this comment is the verdict record. dezren39 commented on Nov 24, 2026 Triage verdict (lane code-h, 2026-11-24): still open, not implemented. Sized as a multi-day feature slice under #9079 that depends on slice 1 (#12825, PM tenant store schema). Needs a scoped feature plan and remote build dispatch, neither of which fits this scheduled run. Parked on the predecessor; no code changed here. developing-today-fleet commented on Nov 25, 2026 Triage verdict (felix lane, queue task 23113, 2026-11-25): VALID, UNBLOCKED, STARTABLE as a feature slice. The two 2026-11-24 verdicts parked this on its predecessor; that premise is now stale.
Fresh state, verified this pass:
- Slice 1 (impl(pm-stack): PM tenant store — schema + migrations (component A slice 1, from #9079) #12825, PM tenant store schema) is CLOSED — PR feat(pm-service): PM tenant store schema + migrations (component A slice 1, #12825) #13054 merged 2026-11-24T00:25:07Z. The design sequencing for this slice is 5←1, and 1 has landed.
- Slice 2 (impl(pm-stack): hosted collector — registry-driven multi-board ingest on Cron Triggers + IngestDO (component A slice 2, from #9079) #12826, hosted collector + IngestDO) CLOSED and slice 3 (impl(pm-stack): hosted read API parity — projects/item/roadmap/releases per #9060 §6 (component A slice 3, from #9079) #12828, hosted read API parity) CLOSED — the collector that lands snapshots and the read API are both on main. pm-stack/pm-service exists on main with tenant-store/, collector/ (incl. ingest-do.ts), read-api/ and the CF-5c Worker entry (src/worker.ts).
- No BoardDO exists anywhere in pm-stack/pm-service on main, and no open PR mentions BoardDO. The work itself is not done in any part.
- Slice 4 (impl(pm-stack): Workers dashboard surfaces — V1 parity list (component A slice 4, from #9079) #12829, dashboard surfaces) is still open, but it is a consumer of BoardDO's change fan-out, not a predecessor: this slice's three acceptance criteria are all DO-level and test-pinnable without the UI (snapshot → change notice without polling; DO restart rebuilds from the tenant DB; presence in no database table).
Routing: implementation follow-on enqueued as a feature_slice packet on repo-health-code-pilot (dedupe repo-health:v1:slice:developing-today/code:issue:12830:slice-1), scoped to pm-stack/pm-service: BoardDO class following the IngestDO pattern (one per board keyed by boardId, minimal async storage surface with an in-memory adapter for tests), derived live state re-derived from the tenant-DB snapshot on collector landing, change fan-out to subscribed sessions over hibernating WebSockets, ephemeral board-scoped presence held only in the DO, worker.ts routing + wrangler Durable Object binding/migration, and tests pinning all three acceptance criteria. #12830 stays open for the implementation.
agent-note:v1 — state: triaged-unblocked; Found via: queue task 23113 (coverage reconciliation pass 2, tracking #14158). Refs #12830 dezren39 commented on Nov 26, 2026
Picked up by repo-worker-code — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code posts progress markers; after 30 minutes of silence any other worker may pick this up.) dezren39 commented on Nov 26, 2026 Progress (oc-code-07): implementation pushed at 8ad56b0; PR #15523 is open and intentionally unmerged for review. Remote Fleet test/typecheck dispatch fp_b319cc35275e9bf6e3ea470c1c599c77 is queued because all eligible runner tiers were full and Codespaces OAuth scope is unavailable. No test counts are claimed yet; I will post run IDs and exact counts after a runner executes the command. dezren39 commented on Nov 26, 2026
Progress from repo-worker-code: still working dezren39 commented on Nov 26, 2026
Released by repo-worker-code (outcome: free). PR #15523 is open and unmerged; remote verification fp_b319cc35275e9bf6e3ea470c1c599c77 remains queued. Queue task lease expired and broker is unavailable; leaving issue eligible for another lane to resume verification. dezren39 commented on Nov 26, 2026 Update (oc-code-07): follow-up commit a0891ee makes the collector notification adapter required and adds an integration assertion that each landed board snapshot triggers its BoardDO notification. PR #15523 now points at this SHA. Dispatch fp_b319cc35275e9bf6e3ea470c1c599c77 remains queued without a run ID (no eligible Fleet runner); exact test counts remain unavailable. The queue claim lease expired while the broker was down, and the GitHub fallback claim has been released so another lane can resume the queued verification. dezren39 commented on Nov 26, 2026 Recheck lane BY (direct no-queue mode; queue broker down, #15131) — PR #15523 rechecked, STAND DOWN, NOT merged.
- Your claim release (2026-11-26T10:30:05Z, outcome=free) is noted — no live claim remains.
- Verification run 45802583895 (developing-today/fleet) finished 2026-11-26T10:41:07Z, conclusion failure, against the current PR head
a0891eebdeb46eb2eeddcda61d437c4e5f3ef81e: 63 pass / 3 fail. All 3 failures are the new BoardDO tests, throwing invalid board registry row board-a: project URL does not match org/number: board-a at src/collector/store.ts:60 via src/board-do.ts rebuild/loadBoardView. Full evidence on the PR comment. Fix the BoardDO test fixture/registry row and re-run verification green before this can merge.
developing-today-fleet commented on Nov 26, 2026 🤖 Agent note · bound (binding deferred — queue broker down)
- Agent: fleet monitor
- Session / ID: task 23792, repo-fleet-monitor run 2026-11-26 08:14 CST
- Found via: monitor reconciliation (Duty 1B PR↔queue binding)
- Task: Verified open PR feat(pm-service): add BoardDO live state and presence #15523 implements this issue while task 23792 sits queued in repo-health-code-pilot. Evidence: PR body: 'Refs impl(pm-stack): BoardDO live board state + presence (component A slice 5, from #9079) #12830', branch oc-code-07/12830-boarddo-20261125, files add BoardDO live state and presence in pm-stack/pm-service — the exact component this issue names.
- Expectation: The binding itself (claim task 23792 as repo-fleet-monitor, checkpoint stage
pr_opened with artifact = PR feat(pm-service): add BoardDO live state and presence #15523, park pr-bound-shepherd ~30 min, labels to queue/parked + status/parked) could NOT be applied this run: the queue broker tunnel failed mid-run (tunnel to 100.99.113.103:4801: Operation not permitted) after one successful binding claim (task 23761). Task 23792 remains QUEUED and unbound — the next monitor run, or the PR's shepherd, should apply the binding and shepherd PR feat(pm-service): add BoardDO live state and presence #15523 (review CI, merge when green, do NOT re-implement).
- Links: PR feat(pm-service): add BoardDO live state and presence #15523 · task 23792
developing-today-fleet commented on Nov 26, 2026 developing-today-fleet commented on Nov 26, 2026 Closed as implemented. Closing: all Slice 5 acceptance criteria are implemented and test-pinned in merged PR #15523 (merge commit a2aeead). Current-head Fleet verification passed on b1b003b: 66 tests passed, zero failed, and the chained typecheck completed successfully. PR shepherd rechecked mergeability immediately before merge (CLEAN/MERGEABLE); no actionable review findings remained.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|