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 — ci(id): hosted-worker smoke.mjs (15 checks — the only coverage for UserDO and the worker fail-closed matrix) is run by no workflow · Issue #6370 · developing-today/code

ci(id): hosted-worker smoke.mjs (15 checks — the only coverage for UserDO and the worker fail-closed matrix) is run by no workflow #6370

New issue
Copy link
New issue
Copy link
Closed
#9969
Closed
ci(id): hosted-worker smoke.mjs (15 checks — the only coverage for UserDO and the worker fail-closed matrix) is run by no workflow#6370
#9969
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)design/ci-programDesign: ci-program - all issues of this effort carry itepic/github-dynamic-computeEpic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus/donestatus:donetask/triageQueue packet kind: verify, reproduce, and route this item
Milestone
GitHub + dynamic compute

Description

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

ci(id): hosted-worker smoke.mjs (15 checks — the only coverage for UserDO and the worker fail-closed matrix) is run by no workflow

Summary

pkgs/id/hosted-worker/smoke/smoke.mjs is a 15-check executable verification suite (two local wrangler dev passes) and the only coverage for src/user-do.ts and the application-worker fail-closed matrix in src/worker.ts. No workflow, flake check, justfile recipe, or Nix build runs it. The CI workflow added for #6095 (.github/workflows/id-hosted-worker-tests.yml) runs only npm test (= node --test test/routing.test.ts), which imports solely from src/routing.ts (test/routing.test.ts:3).

A regression in the Durable Object's identity guard, schema bootstrap, or cross-binding isolation — or in the worker's 401/403/503 fail-closed matrix — would merge with no signal anywhere.

Evidence (verified this run, laptop @1dae17e457 = origin/main)

  • pkgs/id/hosted-worker/package.json:10 — "smoke": "node smoke/smoke.mjs"; pkgs/id/hosted-worker/README.md "Tests" section lists npm run smoke alongside npm test as one of the package's three verification steps.
  • pkgs/id/hosted-worker/smoke/smoke.mjs:1-15 — Part 1: app worker fail-closed matrix (401 missing_binding, 403 missing_jurisdiction, 403 unsupported_jurisdiction, 401 invalid_binding for a subject-derived id, 503 jurisdiction_unavailable with no unrestricted fallback). Part 2: UserDO through the test-only harness (wrangler.test.toml): lazy creation, idempotent schema bootstrap, concurrent first requests, immutable identity binding (409 on mismatched binding/jurisdiction), cross-binding isolation, unrouted-request 403.
  • pkgs/id/hosted-worker/src/user-do.ts (141 lines) has no unit test: test/routing.test.ts:3 imports only { FailClosed, parseBindingId, parseJurisdiction, userStub } from ../src/routing.ts.
  • Grep for smoke.mjs / npm run smoke across .github/workflows/, pkgs/id/flake.nix, pkgs/id/nix-common.nix, and the justfile: zero references. The only hosted-worker workflow, .github/workflows/id-hosted-worker-tests.yml, runs npm test only.
  • Run on the laptop in a clean probe copy (~/git/fleet/probe-hosted-smoke, git archive of HEAD): npm install + npm run smoke → 15 PASS, SMOKE OK, exit 0 (~29s including both wrangler dev passes). The suite passes today; it is simply never run by automation.

Why it matters

user-do.ts is the per-user Durable Object for the hosted data plane (#5199 / #3811): its binding/jurisdiction immutability and cross-binding isolation are the custody boundary between users' hosted data. worker.ts is the front door that strips client-supplied internal headers and must fail closed (401/403/503) rather than fall back to an unrestricted namespace. Today both are verified only when a human remembers to run the smoke locally — exactly the failure mode #6095 fixed for routing.ts, one package over in the same directory.

Distinct from #6095

#6095 filed the routing unit suite (test/routing.test.ts, routing.ts only); that suite is now wired by id-hosted-worker-tests.yml. This issue is the smoke suite (smoke/smoke.mjs), the sole coverage of user-do.ts and worker.ts, which that workflow does not run.

Acceptance criteria

  • An automated check (extending id-hosted-worker-tests.yml or an equivalent venue) runs node smoke/smoke.mjs in pkgs/id/hosted-worker, with a fail-if-missing guard for smoke/smoke.mjs so a green run can never be a silently skipped suite.
  • The check passes on current main (15/15 checks, SMOKE OK, verified at filing).
  • Breaking a pinned behaviour (e.g. allowing a mismatched binding on a bound object, or an unrestricted-namespace fallback in the app worker) fails the check.
  • The venue's runtime stays bounded (the suite completes in ~30s locally, plus wrangler install/setup time).

Activity

Next
  1. dezren39
    added
    kind/ciCI/CD pipelines, workflows, and build automation
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    source/creatorFiled by the new-issue-creator job
    priority/normalOrdinary priority (the default)
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

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

    CODE-1888

  3. dezren39
    added
    queue/queuedHas a queued queue task
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator (new-issue-creator-code-a)
    • Session / ID: cron job new-issue-creator-code-a, run 2026-11-05 14:05 CST
    • Found via: filed this run
    • Task: File the verified finding that pkgs/id/hosted-worker smoke.mjs (15 checks, sole coverage for user-do.ts + worker.ts fail-closed matrix) is run by no workflow/flake/justfile, and enqueue it for triage.
    • Expectation: effort s — done looks like a fail-if-missing-guarded automated venue running node smoke/smoke.mjs for pkgs/id/hosted-worker, green on current main (15/15 verified at filing).
    • Links: packet enqueued to queue repo-health-code-pilot (repo-task/v1, triage)
  5. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  6. 74 remaining items

  7. dezren39
    added 2 commits that reference this issue on Nov 14, 2026

    ci(id): run hosted-worker smoke suite in id-hosted-worker-tests (#6370)

    b341232

    ci(id): run hosted-worker smoke suite in id-hosted-worker-tests (#6370)

    52580a9
  8. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 14, 2026
  9. dezren39
    added 2 commits that reference this issue on Nov 14, 2026

    ci(id): drop duplicated smoke step, keep one guarded step (#6370)

    2e45961

    ci(id): run the hosted-worker smoke in CI (#6370) (#9969)

    8dc31f0
  10. dezren39
    closed this as completedin #9969on Nov 14, 2026
  11. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 14, 2026
  12. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — fixed and merged

    • Agent: queue worker (repo-worker-code), lane code-b
    • Session / ID: task 15210 (triage of ci(id): hosted-worker smoke.mjs (15 checks — the only coverage for UserDO and the worker fail-closed matrix) is run by no workflow #6370, fix in scope)
    • Result: PR ci(id): run the hosted-worker smoke in CI (#6370) #9969 MERGED 2026-11-14T12:03:38Z at 8dc31f0. id-hosted-worker-tests.yml now also runs the smoke suite: a guarded step (fails if smoke/smoke.mjs is missing) that installs devDependencies and runs npm run smoke, with the job timeout raised for the install + two wrangler boots; .github/test-suite-registry.json gained the id.hosted-worker.smoke entry mapped to that step.
    • Verification: npm run smoke in the worktree: 15 PASS, SMOKE OK, exit 0; workflow YAML validated; PR CLEAN/MERGEABLE. Codex review failed on Codex usage limits with no findings posted (disposition on PR ci(id): run the hosted-worker smoke in CI (#6370) #9969). Incidentals handled on the way: an orphaned wrangler dev from the previous claim of this task held port 8797 in the worktree (killed; suite then passed), and a duplicated smoke step from the two claims was removed before merge (commit 2e45961) — the merged diff adds exactly one smoke step.
    • CI: the workflow fired on the merge commit (run 43592944351); at note time it is still queued in the saturated runner queue (CI: hosted runner queue saturates repo-wide (~425 queued runs), so PR checks wait hours behind push and workflow_run traffic #2605). A pre-cleanup branch run failed at the duplicated-step state, as expected; the merged state is the one queued now.
    • Links: queue task 15210; PR ci(id): run the hosted-worker smoke in CI (#6370) #9969; Actions run 43592944351
  13. dezren39
    added
    status/done
    on Nov 14, 2026
  14. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — already done (verified on re-claim)

    • Agent: queue worker (repo-worker-code), lane any-d
    • Session / ID: task 15210 (triage of ci(id): hosted-worker smoke.mjs (15 checks — the only coverage for UserDO and the worker fail-closed matrix) is run by no workflow #6370)
    • Result: Verified fresh on re-claim 2026-11-14: PR ci(id): run the hosted-worker smoke in CI (#6370) #9969 is MERGED (2026-11-14T12:03:38Z, merge SHA 8dc31f0) and issue ci(id): hosted-worker smoke.mjs (15 checks — the only coverage for UserDO and the worker fail-closed matrix) is run by no workflow #6370 is CLOSED (2026-11-14T12:03:39Z); the done note from lane code-b (2026-11-14T12:06:08Z) records the fix and verification. No further work needed.
    • Note: workflow_dispatch run 43592466571 was still queued at this check; it is not a gate — the PR is merged and the issue closed. Completing task 15210 as already_done and clearing stale in-flight labels (queue/claimed, status/in-progress).
  15. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)design/ci-programDesign: ci-program - all issues of this effort carry itepic/github-dynamic-computeEpic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus/donestatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    • GitHub + dynamic computeNo due date

    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.