GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pm stack → Supabase phase 1 (#3142): reader flip — aggregator/dashboard reads latest orch_runs.document, orchestration.json becomes export-only · Issue #10504 · developing-today/code

pm stack → Supabase phase 1 (#3142): reader flip — aggregator/dashboard reads latest orch_runs.document, orchestration.json becomes export-only #10504

New issue
Copy link
New issue
Copy link
Closed
#10509
Closed
pm stack → Supabase phase 1 (#3142): reader flip — aggregator/dashboard reads latest orch_runs.document, orchestration.json becomes export-only#10504
#10509
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-inskind/enhancementpriority/normalOrdinary priority (the default)status:done

Description

@dezren39
dezren39
opened on Nov 15, 2026
Issue body actions

Implementation follow-on filed by task 14838 (lane any-b) on completion of the #5005 writer cutover.

Sequenced behind: task 14838 (writer cutover for #5005, phase 1 of #3142), whose packet explicitly excluded the reader flip and directed this successor to be enqueued on its completion.

Verified state at filing (2026-11-15, direct read-only checks on Supabase muse-dev2 via the Management API SQL route):

  • Migration applied: public.orch_runs + public.orch_items live, RLS enabled on both, grants match the pm-stack/shared-schema/ORCHESTRATION.md contract exactly (orch_runs: service_role {SELECT, INSERT}; orch_items: service_role {SELECT, INSERT, UPDATE, DELETE}; anon/authenticated: none).
  • The hourly orchestration pass writes each pass in one transaction (job step 2c, orchestration_writer.py, PR feat(pm-stack): orchestration-state writer for the #5005 cutover #10381 merged 2026-11-14T21:16:04Z; schema contract PR pm-stack: orchestration state schema contract (#5005 phase 1, P1 vetting slice) #8458 merged 2026-11-14T20:54:38Z).
  • Dual cycle verified: orch_runs holds the inaugural row plus every scheduled pass since step 2c went live (orch-2026-11-15T021320Z through orch-2026-11-15T111533Z); orch_items parity holds (42 total, all 42 last_seen on the newest run); the newest stored document equals the published orchestration.json exactly.

This issue (the reader flip):

  • Point the aggregator/dashboard orchestration read at the latest public.orch_runs.document; orchestration.json stays generated every pass as the export only.
  • Verify the dashboard (impl(aggregator): slice 2 — mobile, needs-Drew/needs-orchestrator tiers, time-granular roadmap, session clarity #898 shape) serves unchanged against DB-read state for one full scheduled cycle.
  • Fallback: on DB read failure, serve the last good document and surface the failure — never a partial document.
  • Rollback rehearsal: pointing the reader back at the file loses nothing (the file is never behind).

Activity

  1. dezren39
    added
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    kind/enhancement
    on Nov 15, 2026
  2. developing-today commented on Nov 15, 2026

    @developing-today
    developing-todayBot
    on Nov 15, 2026 – with developing.today
    Contributor
    More actions

    CODE-3812

  3. dezren39
    added
    queue/queuedHas a queued queue task
    on Nov 15, 2026
  4. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    Pickup — task 17362 (lane code-j)

    Reader-flip task picked up from the repo-health-code-pilot queue by the OpenChamber scheduled lane (worker repo-worker-code, lane code-j). Sequenced behind task 14838 (writer cutover, lane any-b, verified live 2026-11-15).

    Next: revalidate against fresh GitHub state, then map the aggregator/dashboard orchestration read surface and point it at the latest public.orch_runs.document.

  5. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: repo queue worker, lane code-d (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-code-d run 2026-11-15; task 17362
    • Found via: queue claim · task 17362
    • Task: task 17362 for issue pm stack → Supabase phase 1 (#3142): reader flip — aggregator/dashboard reads latest orch_runs.document, orchestration.json becomes export-only #10504 (small_fix) — claimed direct. Fresh revalidation: issue pm stack → Supabase phase 1 (#3142): reader flip — aggregator/dashboard reads latest orch_runs.document, orchestration.json becomes export-only #10504 OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit absent), no status/needs-triage. Writer cutover state per the issue's verified filing (task 14838): orch_runs/orch_items live on Supabase muse-dev2, dual cycle verified through orch-2026-11-15T111533Z, newest stored document equals orchestration.json.
    • Next: locate the aggregator/dashboard orchestration read, flip it to the latest orch_runs.document with last-good fallback, verify the dashboard shape serves unchanged.
    • Links: task 17362 · issue pm stack → Supabase phase 1 (#3142): reader flip — aggregator/dashboard reads latest orch_runs.document, orchestration.json becomes export-only #10504 · issue Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management #3142
  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 15, 2026
  7. developing-today
    added
    status:in-review
    on Nov 15, 2026
  8. dezren39
    added a commit that references this issue on Nov 15, 2026

    Merge pull request #10509 from developing-today/queue/17362-10504-rea…

    1b1022c
  9. dezren39
    closed this as completedin #10509on Nov 15, 2026
  10. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 15, 2026
  11. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — fixed and merged

    • Agent: repo queue worker, lane code-d (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-code-d run 2026-11-15; task 17362
    • Outcome: issue pm stack → Supabase phase 1 (#3142): reader flip — aggregator/dashboard reads latest orch_runs.document, orchestration.json becomes export-only #10504 implemented and merged in PR aggregator: reader flip — orchestration section from orch_runs.document (#10504) #10509 (merge commit 1b1022c); issue auto-closed by the PR.
    • What landed: the fleet-feed collector's orchestration section now resolves through src/orchestration-db.ts: latest orch_runs.document first (Management API SQL route, shared structural gate), any DB failure falls back to the orchestration.json export with the failure surfaced via the section's error status, and ORCHESTRATION_SOURCE=file is the no-loss rollback. ORCHESTRATION.md records the flip beside the writer contract.
    • Verification: orchestration-db tests 10/10; related suites clean apart from 3 registry failures reproducing identically on pristine main; tsc clean; live orch_runs latest document byte-identical to the file (run orch-2026-11-15T111533Z); A/B collector runs (main vs flip) identical on the live document; sandbox probe read the DB row through the collector's exact bws + Management API route and the resolver fell back with the failure surfaced, per contract.
    • Filed separately: issue aggregator: orchestration section omitted — publisher emits dependency status 'blocked', validator rejects it #10508 — the current published document (both copies) fails the shared structural check because the publisher emits dependency status "blocked", which the validator's DEPENDENCY_STATUSES omits; the section is omitted under both readers until that lands, after which the next collector cycle serves it from the DB with no further change.
    • Links: task 17362 · issue pm stack → Supabase phase 1 (#3142): reader flip — aggregator/dashboard reads latest orch_runs.document, orchestration.json becomes export-only #10504 · PR aggregator: reader flip — orchestration section from orch_runs.document (#10504) #10509 · issue aggregator: orchestration section omitted — publisher emits dependency status 'blocked', validator rejects it #10508 · issue Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management #3142
  12. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 15, 2026
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-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-inskind/enhancementpriority/normalOrdinary priority (the default)status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.