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 — design(pm-stack): self-hosted tier — Kubernetes cluster with multi-TB tiered storage as the largest central store; RustFS/NATS adapter primitives · Issue #9087 · developing-today/code

design(pm-stack): self-hosted tier — Kubernetes cluster with multi-TB tiered storage as the largest central store; RustFS/NATS adapter primitives #9087

New issue
Copy link
New issue
Copy link
Closed
#12392
Closed
design(pm-stack): self-hosted tier — Kubernetes cluster with multi-TB tiered storage as the largest central store; RustFS/NATS adapter primitives#9087
#12392
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeepic/pm-stackReprioritization program epic (2026-11-12)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

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

Component I of epic #9078 (hosted editions program), added by Drew's architecture amendment (2026-11-12 17:03 CST). Design first (design mill, under #9078). This is the LONGER-TERM tier: design the primitives and adapter interfaces NOW; the cluster itself is the later build.

What

A self-hosted Kubernetes cluster with multi-TB disk arrays as our largest central storage — the capacity tier behind the hosted editions. Component F's storage/content primitives (content addressing, references, dedup, GC) must be adapter-friendly toward:

  • RustFS — S3-compatible object storage as the self-hosted counterpart of R2.
  • NATS — streams/messaging as the self-hosted counterpart of the hosted sync/transport plumbing.
  • Tiered storage architecture — multiple disks/storage classes with different latency and bandwidth capabilities, retention policies per tier, and placement/movement of content between tiers.

Peer principle (amendment point 4 — binding)

A self-hosted server (the ID server) is a peer, not a special case: identical participant in the protocol/architecture as a hosted-CF node or a Rust-binary node, differing only in (a) its much more complex backend (this tier) and (b) potentially advanced clustering of ID services for scalability. No protocol special-casing for 'ours' anywhere in the tenancy/sync/content designs (#9083, #9084, #9085 apply this too).

Open design questions

  1. Adapter interfaces: what do F's primitives assume about an object store (R2 vs RustFS/S3 semantics — consistency, multipart, presigned access) and a stream/messaging layer (hosted queues/DO vs NATS JetStream) so both backends are honest implementations?
  2. Tier model: storage classes (hot/warm/cold), placement rules (by size, sensitivity, reference count, age), movement/promotion/demotion mechanics, and retention per tier — who decides, and is it policy in the tenancy DB (design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083)?
  3. ID service clustering: state partitioning/replication across ID nodes against the tiered backend; what the store abstraction (design(id): store abstraction — Turso/SQLite-over-HTTP beside redb, IndexedDB evaluated (one interface, pluggable backends) #9082) must expose for it.
  4. Relationship to the lab-cluster program (Clustered-Computing / code lab epics): is this cluster that hardware program's tenant, a separate build, or the same thing seen from the software side?

Acceptance

  • Design merged under doc/ as part of epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078's build-out: adapter interface contracts for object store + streams, tier/retention/placement model, ID clustering sketch.
  • F (design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084) and E (design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083) designs cite these interfaces — no CF-only assumptions leak into the primitives.
  • Granular implementation issues filed under this issue when the longer-term build is staged (design-only until then is acceptable if the design says so explicitly).

Activity

  1. dezren39
    added
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    epic/pm-stackReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  2. dezren39
    added a parent issue on Nov 12, 2026
    • epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078
  3. developing-today commented on Nov 12, 2026

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

    CODE-2791

  4. github-actions
    assigned
    dezren39
    on Nov 13, 2026
  5. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    on Nov 17, 2026
  6. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: queue worker (repo-worker-code), lane any-h
    • Session / ID: task 18837
    • Found via: queue claim
    • Verdict: component I of epic epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078 is design-mill work (adapter primitives and interfaces now; the cluster build is explicitly later), routed as a scoped design packet. Sibling components verified open in parallel — no dependency gates this design.
    • Enqueued: task 20288 (dedupe key repo-health:v1:fix:developing-today/code:issue:9087). The packet binds: the deliverable is the adapter-interface design — RustFS as the S3/R2 counterpart, NATS as the sync/transport counterpart, and the tiered-storage model (storage classes, per-tier retention, placement/movement of content between tiers); the interface requirements this places on component F (design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084) must be stated and cross-linked; and the peer principle (amendment point 4) is an acceptance check — no protocol special-casing for self-hosted nodes anywhere, backend-only asymmetry named as such. Cluster provisioning is explicitly out of scope.
    • Labels: app/pm-stack, epic/pm-stack stand; task/small-fix added for the routed packet.
  7. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    Fresh revalidation — 2026-11-18: #9087 remains OPEN; parent #9078 remains OPEN; no matching open PR found. This component is explicitly design-mill work, and its acceptance requires a design under doc/ plus cross-links to sibling component designs #9084/#9083. It needs a dedicated design-authoring session/worktree, so this OpenChamber scheduled queue lane is parking task 20288 rather than starting the design. The parent epic's mill ownership remains separate; no duplicate follow-on created. backlog_updated: false.

  8. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    Agent note (oc-code-05 scheduled lane, task 20288): the self-hosted tier adapter design is blocked for Drew's decision. The issue is assigned to dezren39 and has no open PR. I did not start the design without a release. Needed: an owner release or reroute. No changes made.

  9. dezren39
    removed their assignment
    on Nov 20, 2026
  10. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    [agent-note:v1]
    Agent: repo-worker-code
    Lane: code-g
    Task: 20288
    State: picked_up
    Verdict: Issue #9087 and parent #9078 are open; no matching open PR or held/user-owned/do-not-auto-edit label. Prior owner-release comment is not a hold under queue policy; proceeding with the scoped design.
    Next: inspect existing design artifacts, create/resume laptop worktree, deliver design and sibling cross-links.
    [/agent-note:v1]

  11. developing-today
    added
    status:in-review
    on Nov 22, 2026
  12. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 22, 2026
  13. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    [agent-note:v1]
    Agent: repo-worker-code
    Lane: code-g
    Task: 20288
    State: pr_opened
    Verdict: Design artifact committed and cross-linked from E/F; PR #12392 is open. git diff --check passes; acceptance reviewed against adapter contracts, placement/retention, peer principle, cluster relationship, and issue questions. CI/merge verification remains.
    PR: #12392
    Next: verify PR checks and state; if checks remain pending, park with resume condition.
    [/agent-note:v1]

  14. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 22, 2026
  15. dezren39
    closed this as completedin #12392on Nov 22, 2026
  16. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 22, 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/codeepic/pm-stackReprioritization program epic (2026-11-12)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    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.