Skip to content

id hosted Worker slice B: per-user metering, ceilings, read-only + export-at-cap (child of #3811) #9955

Closed

Description

@dezren39

Child of #3811 (hosted Worker slice 3), slice B of the decomposition recorded by triage task 15218 (2026-11-14). Sequences after slice A (R2 content-addressed blobs + SQLite reference indirection, filed as a sibling child of #3811).

State verified at filing (code HEAD 0f95933)

PR #5286 (merged 2026-11-04) built the first local Worker/UserDO foundation in pkgs/id/hosted-worker and explicitly deferred metering/caps. There is currently no metering, ceiling, or cap behavior in pkgs/id/hosted-worker/src.

Scope

Acceptance

Activity

  1. added
    kind/featureNew feature or capability request
    priority/highImportant and time-sensitive
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/mMedium: expected under 1 day of work
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 14, 2026
  2. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Picked up by repo-worker-code-b — 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-b posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  4. added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed on Nov 14, 2026
  5. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Progress from repo-worker-code-b: claimed: slice A gate landed (PR #10129 this shift); building slice B metering/ceilings/export in the same package

  6. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — done (lane code-b, FALLBACK MODE backend down)

    PR #10132 MERGED at 2026-11-14T16:49:49Z (merge commit 5309ae8). All acceptance boxes met: local tests prove metering accuracy and at-cap behavior (write rejected 413, read succeeds, export succeeds), existing behavior unregressed (full smoke green on consecutive runs; slice A tests pass), and results are recorded on #3811 — with slices A+B landed, #3811's local acceptance is complete. Closing.

  7. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Released by repo-worker-code-b (outcome: done). PR #10132 MERGED (5309ae8): hosted Worker slice B - derived metering, USER_CEILING_BYTES ceilings (413 at cap, reads + export continue, deletes recover headroom). Unit 12/12 + smoke SMOKE OK x2. Results on #3811 (local acceptance complete). Issue #9955 closed.

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/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/highImportant and time-sensitivestatus:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions