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: production enablement point gated on the provisioning verdict (#3403) by dezren39 · Pull Request #13753 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

Second slice of #3403. Adds the single enablement point through which production hosted signup and migration may run. Production enablement is created only from a plan issued by validateEnablement (identity-tracked, not structurally matched), and each mode is checked against an issued enablement.

  • src/enablement.ts: createProductionEnablement (refuses unvalidated_plan, unknown_enablement_mode, no_enablement_mode) and requireProductionEnablement (refuses production_disabled, mode_not_enabled).
  • src/provisioning.ts: module-private WeakSet of issued plans, isValidatedEnablementPlan, plans frozen.
  • Registry row updated for provisioning-surface.test.ts and enablement.test.ts.

Evidence

  • Ran on the laptop worktree at 1fb1f4f64ee: node --experimental-transform-types --test over the hosted-worker suite: 134 pass / 0 fail (enablement 10 new tests, provisioning 17, provisioning-surface 14).
  • Typecheck: ~/tools/fleet-build-lock tsc --noEmit clean.
  • Test was written first and failed on the missing module.
  • Registry check: no new unwired entries for the files in this PR. export.test.ts remains unwired on main (pre-existing, not touched).

Evidence level: ran on the laptop; not run in CI.

Merge Danger

Low. No live deployment; no production path calls requireProductionEnablement yet, so behaviour is unchanged for existing code. validateEnablement now returns a frozen object; existing callers only read fields.

Refs #3403. Does not close #3403: the live provisioning evidence run and the production signup/migration caller remain.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T21:11:23Z",
    "session_id": "ses_e5df5f10edcffexqoTg41haj1V",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/3403-enablement-20261123T203838Z-a361f9ab",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/3403-enablement-20261123T203838Z-a361f9ab",
      "repo": "developing-today/code",
      "branch": "queue/3403-production-enablement",
      "sha": "1fb1f4f64eea45da6c47eff5088d15757db755b5"
    },
    "auth_subject": "oc-code-03",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Run Proof on this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
id: production enablement point gated on the provisioning verdict (#3403
1fb1f4f
)

Production signup and migration may be enabled only through a plan
issued by validateEnablement. createProductionEnablement refuses
look-alike plans (unvalidated_plan); requireProductionEnablement
refuses when no issued enablement is active (production_disabled) or
when the mode is not enabled (mode_not_enabled). Issued plans and
enablements are frozen and identity-tracked, not structurally matched.

Wires provisioning-surface and enablement tests into the hosted-worker
registry row.

Refs #3403
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 41 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 54d2e7dd-7af3-4047-a962-8546cf2d4ac2
Commits

Reviewing files that changed from the base of the PR and between bf7040d and 1fb1f4f.

Files selected for processing: 5

  • .github/test-suite-registry.json
  • pkgs/id/hosted-worker/package.json
  • pkgs/id/hosted-worker/src/enablement.ts
  • pkgs/id/hosted-worker/src/provisioning.ts
  • pkgs/id/hosted-worker/test/enablement.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 23, 2026
id: gate hosted jurisdiction provisioning on verified DO and R2 support #3403
Closed
@dezren39
dezren39 merged commit cec643b into main Nov 24, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the queue/3403-production-enablement branch November 24, 2026 00:14
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
@dezren39 dezren39 mentioned this pull request Nov 24, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
This was referenced Nov 26, 2026
id: implement ID serverless edition v1 on Cloudflare Workers (design #2046) #5524
Closed
Audit programme: seven-lane review of PRs, issues and designs (2026-11-23) #13871
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

id: gate hosted jurisdiction provisioning on verified DO and R2 support

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.