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 — id: implement hosted Worker API + per-user DO provisioning and metering (from #2046/#2852 slice 3) · Issue #3811 · developing-today/code

id: implement hosted Worker API + per-user DO provisioning and metering (from #2046/#2852 slice 3) #3811

New issue
Copy link
New issue
Copy link
Closed
Closed
id: implement hosted Worker API + per-user DO provisioning and metering (from #2046/#2852 slice 3)#3811
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/highImportant and time-sensitivesource/queue-workerFiled or worked by the queue/worker pilotstatus/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Child implementation packet of #2852, gated by the settled synthesis in #2046. Implement the first hosted data plane from #2044/#2045 and #2258 spec §5.

Scope: one Worker HTTPS/WebSocket front door; lazy per-user Durable Object with SQLite; account-to-DO lookup by stable binding_id (not email and not a rebindable key); R2 for content-addressed blobs with references in SQLite; schema bootstrap, metering, ceilings, and read-only + export-at-cap behavior. Use the binding/account records from slice 1. Reuse the HTTP/WS application seam; do not try to run Iroh QUIC inside Workers.

Gate: honor #2283's jurisdiction-aware routing design before choosing namespace/bucket bindings; if its design is still open, preserve an explicit jurisdiction seam and park before deployment configuration. Only hibernating WebSockets; no always-on per-user process/container.

Acceptance: local Worker/DO tests prove lazy creation, user isolation, R2 indirection, metering/cap behavior, and fail-closed routing; PR references this issue and #2852.

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    source/queue-workerFiled or worked by the queue/worker pilot
    priority/highImportant and time-sensitive
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Nov 1, 2026
  2. developing-today commented on Nov 1, 2026

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

    CODE-1547

  3. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
    • Session / ID: queue task 5817
    • Found via: id: design: ID serverless edition v1 (Cloudflare Workers) #2046 design synthesis handoff
    • Task: Implement hosted Worker API + per-user DO provisioning and metering as its own gated phase under id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852.
    • Resume: not-before 2026-11-02T00:00:00Z; honor id: design: ID serverless edition v1 (Cloudflare Workers) #2046 decisions and named prerequisites before editing.
    • Dedupe: repo-health:v1:fix:developing-today/code:issue:3811
  4. dezren39
    added
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  5. github-actions
    assigned
    dezren39
    on Nov 1, 2026
  6. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
    • Session / ID: queue task 5817
    • Found via: repo-health-code-pilot atomic claim
    • Task: Implement Worker API + per-user DO provisioning and metering under id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852, phase 3 from id: design: ID serverless edition v1 (Cloudflare Workers) #2046.
    • Next: Verified id: implement hosted Worker API + per-user DO provisioning and metering (from #2046/#2852 slice 3) #3811 is open and has no competing PR. Checkpointed the open id: design: jurisdiction-aware per-user store routing (signup jurisdiction field, DO/blob/directory pinning) #2283/design(id): #2283 jurisdiction-aware per-user store routing #3843 gate; no repository edits yet.
  7. 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 2, 2026
  8. 57 remaining items

  9. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    agent-note:v1 — slice A (#9954) results recorded for #3811 (lane code-b, 2026-11-14)

    Slice A landed: PR #10129 MERGED 2026-11-14T16:43:11Z (6af3277).

    • R2 BLOBS bindings added to pkgs/id/hosted-worker wrangler.toml + wrangler.test.toml (local emulation only; id: PoC: verify DO jurisdiction mechanics and confirm vendor residency guarantees #2285/id: gate hosted jurisdiction provisioning on verified DO and R2 support #3403 untouched).
    • Blob bytes live only in R2 under their sha256; the UserDO's SQLite blobs reference table (hash, size, owner binding_id, created_at; schema v2) is the sole access path. PUT dedups identical bytes across users (own reference per uploader); GET is reference-checked; DELETE removes only the caller's reference (shared-byte reclamation deferred to the GC work, documented in code).
    • Bucket binding resolves through the routing seam (blobsBindingFor, id: design: jurisdiction-aware per-user store routing (signup jurisdiction field, DO/blob/directory pinning) #2283), fail-closed when unconfigured.
    • Proof: unit tests 8/8 (round-trip, isolation-by-hash, dedup, delete semantics) and the workerd smoke fully green (SMOKE OK) including all pre-existing routing/kv checks.

    Sibling slice B (#9955, metering/ceilings) sequences after this and is now unblocked on its slice-A gate.

  10. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    agent-note:v1 — slice B (#9955) results recorded for #3811; local acceptance complete (lane code-b, 2026-11-14)

    Slice B landed: PR #10132 MERGED 2026-11-14T16:49:49Z (5309ae8).

    • Metering derived from the DO's tables per read (requests counter, kv/blob counts + bytes, storage total) via GET /v1/usage — cannot drift from the data.
    • USER_CEILING_BYTES ceiling: writes fail closed at cap (413 ceiling_exceeded; kv PUT gates on overwrite delta, blob PUT on new-reference size, dedup re-PUTs don't double-charge; malformed config fails writes closed). Reads continue at cap, GET /v1/export stays available (export-at-cap), and deletes — including a new kv DELETE — stay available to recover headroom.
    • Proof: unit tests 12/12 (accuracy + at-cap + export + dedup), workerd smoke SMOKE OK on consecutive runs, typecheck clean. The smoke's blob section was made hermetic (fresh bindings per run) after persisted local state surfaced a stale-reference false failure.

    With slices A (#9954, PR #10129) and B both landed, #3811's local acceptance is complete; what remains for #3811 is production deployment, which stays gated on #2285/#3403.

  11. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1 — triage (queue task 18270, openchamber scheduled lane code-g)

    Verdict: the requested slice-3 implementation is present and merged. Fresh GitHub checks:

    • feat(id): hosted data-plane scaffold — binding-backed per-user Durable Object (#5199) #5286 merged 2026-11-04: binding-backed per-user Durable Object scaffold
    • feat(id): hosted Worker slice A — R2 content-addressed blobs + SQLite reference indirection #10129 merged 2026-11-14: R2 content-addressed blobs + SQLite reference indirection
    • feat(id): hosted Worker slice B — per-user metering, ceilings, read-only + export-at-cap #10132 merged 2026-11-14: per-user metering, ceilings, read-only + export-at-cap
    • jurisdiction design id: design: jurisdiction-aware per-user store routing (signup jurisdiction field, DO/blob/directory pinning) #2283 is CLOSED; the landed scaffold documents jurisdiction-aware routing and a fail-closed seam.

    No follow-on is needed. I left #3811 open because its issue state appears to be maintained by the owning design/implementation workflow; this triage only records that acceptance is now covered.

  12. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    lane: repo-worker-code (openchamber-scheduled-lane code-j)
    state: parked
    Fresh state 2026-11-17: #3811 OPEN. Gate #2283 (jurisdiction-aware routing) is CLOSED, so the gate is cleared. Parent #2852 is OPEN. The implementation spans a Worker front door, per-user Durable Object with SQLite, R2 blobs, metering and caps, and needs a worktree plus local Worker/DO tests and CI. Not finishable safely in this run. Parked with a resume brief.

  13. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    state: parked
    task: 19379 (repo-health-code-pilot, lane code-g, origin openchamber-scheduled-lane)

    Picked up the implementation task. Fresh check: #3811 is OPEN, gate #2283 is CLOSED (cleared), parent #2852 is OPEN. The implementation needs its own worktree under ~/git/fleet/, local Worker/DO tests, and CI, which won't fit in this scheduled run. No code was started.

    Resume condition: a session with a full budget creates the worktree and writes the tests first: lazy DO creation, per-user isolation, R2 indirection, the cap, and fail-closed behaviour. Then implement against them.

  14. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Triage reconciled (task 19379, lane any-d): the triage of record is task 18270's verdict (2026-11-17T01:06Z, comment above) — the slice-3 implementation is present and merged. Re-verified fresh this shift:

    • PR feat(id): hosted data-plane scaffold — binding-backed per-user Durable Object (#5199) #5286 MERGED 2026-11-04 — hosted data-plane scaffold: binding-backed per-user Durable Object (the Worker front door + lazy per-user DO/SQLite + binding_id lookup in this issue's scope).
    • PR feat(id): hosted Worker slice A — R2 content-addressed blobs + SQLite reference indirection #10129 MERGED 2026-11-14 — R2 content-addressed blobs + SQLite reference indirection.
    • PR feat(id): hosted Worker slice B — per-user metering, ceilings, read-only + export-at-cap #10132 MERGED 2026-11-14 — per-user metering, ceilings, read-only + export-at-cap.
    • Gate id: design: jurisdiction-aware per-user store routing (signup jurisdiction field, DO/blob/directory pinning) #2283 (jurisdiction-aware routing) is CLOSED.

    Every scope element of this issue maps to one of those merged PRs. The two later pickup notes (06:51Z, 07:15Z) parked this task as unimplemented without addressing the merged PRs; no branch, worktree, or open PR for #3811 exists, and no code was started under them — this note supersedes those parks so the task stops recirculating as implementation work. No follow-on is needed (per the triage of record). The issue itself stays open: its state is maintained by the owning #2852 program workflow, which can close it against the merged PRs above.

  15. dezren39
    added
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/triagedTriaged and routed (see agent note)
    on Nov 17, 2026
  16. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Program tending — loose end (tracking: #1352)

    • Child id hosted Worker slice B: per-user metering, ceilings, read-only + export-at-cap (child of #3811) #9955 — id hosted Worker slice B: per-user metering, ceilings, read-only + export-at-cap (child of id: implement hosted Worker API + per-user DO provisioning and metering (from #2046/#2852 slice 3) #3811) — has closed; this parent may be ready to update or close.
      child id hosted Worker slice B: per-user metering, ceilings, read-only + export-at-cap (child of #3811) #9955 closed
  17. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Program tending — loose end (tracking: #1352)

    • Child id hosted Worker slice A: R2 content-addressed blobs + SQLite reference indirection (child of #3811) #9954 — id hosted Worker slice A: R2 content-addressed blobs + SQLite reference indirection (child of id: implement hosted Worker API + per-user DO provisioning and metering (from #2046/#2852 slice 3) #3811) — has closed; this parent may be ready to update or close.
      child id hosted Worker slice A: R2 content-addressed blobs + SQLite reference indirection (child of #3811) #9954 closed
  18. dezren39
    removed their assignment
    on Nov 20, 2026
  19. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Done check — #3811 closes (Lane CJ, archer, 2026-11-22)

    Picked up via fleet agent next (shortlist rung; dep-chain head per Lane BN's audit). Premise + ownership check: issue open, no live claim by another worker (last activity 2026-11-20 program-tending notes), children #9954/#9955 both closed. The triage of record (task 18270, 2026-11-17) already found acceptance covered and left the issue open only because its state "appears to be maintained by the owning workflow" — this pass runs the done check that triage deferred.

    Acceptance, verified against current main (HEAD 30723235085):

    • Worker front door + lazy per-user DO with SQLite, lookup by stable binding_id — PR feat(id): hosted data-plane scaffold — binding-backed per-user Durable Object (#5199) #5286 merged 2026-11-04 (scaffold, id(hosted): scaffold binding-backed per-user Durable Object #5199).
    • R2 content-addressed blobs + SQLite reference indirection — PR feat(id): hosted Worker slice A — R2 content-addressed blobs + SQLite reference indirection #10129 merged 2026-11-14 (slice A, id hosted Worker slice A: R2 content-addressed blobs + SQLite reference indirection (child of #3811) #9954, closed).
    • Metering, ceilings, read-only + export-at-cap — PR feat(id): hosted Worker slice B — per-user metering, ceilings, read-only + export-at-cap #10132 merged 2026-11-14 (slice B, id hosted Worker slice B: per-user metering, ceilings, read-only + export-at-cap (child of #3811) #9955, closed).
    • Jurisdiction gate: id: design: jurisdiction-aware per-user store routing (signup jurisdiction field, DO/blob/directory pinning) #2283 CLOSED; routing tests enforce present/supported jurisdiction and fail closed when the restriction is unavailable.
    • Tests prove the criteria — and I ran them, not just read them: in a fresh laptop worktree off origin/main, pkgs/id/hosted-worker npm test = 36 pass / 0 fail (routing, blobs incl. cross-user isolation, usage incl. cap fail-closed + export, front-door, currency, cbor, id-uri vectors). Lazy creation + concurrent-first-request bootstrap are covered by smoke/smoke.mjs on main (not run here; wrangler harness).

    Parent #2852 stays open on its own scope (provisioning + SSO→ID binding) — closing #3811 does not close it. The #9083 tenancy program builds on this plane per its §9 and tracks its own slices (#12796–#12802).

    Closing as completed.

  20. dezren39
    closed this as completedon Nov 23, 2026
  21. dezren39
    added 2 commits that reference this issue on Nov 23, 2026

    docs(pm-stack): E7 — user→tenant in #3811-era docs (#12802)

    f47ed4a

    Merge pull request #13127 from developing-today/xaltha/12802-e7-docs

    29ade66
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/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/highImportant and time-sensitivesource/queue-workerFiled or worked by the queue/worker pilotstatus/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this item

    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.