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-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere · Issue #6351 · developing-today/code

ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351

New issue
Copy link
New issue
Copy link
Closed
#6530
Closed
ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere#6351
#6530
Copy link
Labels
app/id-mailpkgs/nixos id-mail service and workerkind/ciCI/CD pipelines, workflows, and build automationpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Problem

nixos/services/id-mail/worker/runtime.test.mjs — the runtime-contract suite for the id-mail Worker handler and its Limiter Durable Object — is run by no workflow, flake check, justfile recipe, or Nix build. The package's own npm test now covers it, but nothing in the repo invokes that script.

Evidence (verified this run, laptop primary @ 50237a7, HEAD == origin/main)

  • runtime.test.mjs:1-9 documents what it pins: it drives the real fetch handler and the real Limiter class (from src/index.js) against in-memory fakes of the Durable Object storage/namespace APIs. The 5 tests pin the id-mail worker: skip recipient Durable Object work after caller throttling rejects a request #5739 contract: caller-denied requests short-circuit before recipient-limiter work, caller-allowed requests deliver and consult recipient limiters, the recipient limit and per-request recipient cap still apply, and limiter state is alarm-bounded with alarm cleanup of dormant keys.
  • The suite was added in PR fix(id-mail): short-circuit caller denials and expire limiter state (#5739) #6336 (fix(id-mail): short-circuit caller denials and expire limiter state (#5739)) — it postdates ci(id-mail): deploy.test.mjs (4 tests pinning the #3281 typo'd-flag deploy guard) run by no workflow — the deploy script can force-delete the live Worker #6082, which covered only the sibling deploy.test.mjs suite. Since then package.json's test script reads node --test deploy.test.mjs runtime.test.mjs, but no automation runs it.
  • Grep of .github/workflows/, flake.nix, justfile, and the id-mail Nix modules for runtime.test / any test invocation: zero references (the Nix files only define the service and the deploy wrapper).
  • Laptop run this run: cd nixos/services/id-mail/worker && node --test runtime.test.mjs → 5 tests, 5 pass, 0 fail, ~0.65 s, fully offline (node:test, in-memory fakes; no network, wrangler, or secrets).

Why it matters

These tests are the only regression net for the #5739 throttling fix — a security/availability contract (a throttled caller must not consume recipient-limiter work; limiter state must not grow unbounded). A future change to src/index.js can silently reintroduce the pre-#5739 behaviour and nothing will flag it, exactly the failure mode #6082 documented for the deploy suite in the same package.

Acceptance criteria

  • An automated check (workflow, flake check, or equivalent) runs the id-mail worker test script (node --test deploy.test.mjs runtime.test.mjs, or runtime.test.mjs at minimum) with a fail-if-missing guard, so deleting/renaming the suite fails the check instead of silently unwiring it.
  • The check passes on current main (5 runtime tests + 4 deploy tests at filing).
  • Breaking a pinned behaviour (e.g. recipient-limiter work performed after a caller denial, or limiter state without alarm cleanup) makes the check fail.

Related: #6082 (deploy.test.mjs wiring, same package), #5739 / PR #6336 (the contract this suite pins).

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)
    queue/queuedHas a queued queue task
    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-1884

  3. dezren39
    added
    app/id-mailpkgs/nixos id-mail service and worker
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    Filed by the new-issue creator (Lane B) this run. Verified on the laptop primary @ 50237a7: node --test runtime.test.mjs → 5 pass / 0 fail offline; no workflow, flake check, justfile recipe, or Nix build references the suite. This suite postdates issue #6082 (which covered only deploy.test.mjs in the same package). Filed-only; a repo-task/v1 triage packet has been enqueued on the repo-health-code-pilot queue.

    Found via: filed this run (new-issue-creator-code-b)

  5. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    agent-note:v1

    • task: 10704
    • lane: code-z
    • state: picked up -> handed_off
    • execution_lane: opencode (assigned by fleet queue lane; session_id null at handoff)
    • next: opencode-claimant launches the bound session for task 10704; that session drives it to terminal state
    • issue: ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351 open, no held/user/owned/do-not-merge/do-not-auto-edit labels at pickup triage
  6. 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
    and removed
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  7. developing-today commented on Nov 5, 2026

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

    agent-note:v1

    • task: 10704
    • lane: code-z
    • state: picked up -> handed_off
    • execution_lane: opencode (assigned by fleet queue lane; session_id null at handoff)
    • next: opencode-claimant launches the bound session for task 10704; that session drives it to terminal state
    • issue: ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351 open, no held/user/owned/do-not-merge/do-not-auto-edit labels at pickup (attempts 1/4)
    • delivery: user-token gh comment hit the secondary rate limit twice; this note is posted via the developing.today GitHub App per the rate-limit fallback order
  8. 141 remaining items

  9. dezren39
    added
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 6, 2026
  10. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-a
    • Session / ID: task 10704
    • Found via: queue claim
    • Task: Triage issue ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351 — assigned to opencode execution lane per §1b; handing off to opencode-claimant
    • Expectation: claimant launches the bound opencode session to drive task 10704 to a terminal state
    • Links: ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351
  11. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: repo queue worker, lane code-r (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-r run 2026-11-06; task 10704
    • Found via: claimed task 10704 this shift; execution-lane assignment returned opencode
    • Task: task 10704 for issue ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351 (triage). Fresh check: issue ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit), no open PR found. Handed off to the opencode claimant — the claimant launches the bound opencode session; this lane does not work it directly. Attempts 5/8.
    • Expectation: claimant session drives task 10704 to a terminal state.
    • Links: task 10704 · issue ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351
  12. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    🤖 Agent note · correction

    • Agent: repo queue worker, lane code-r (repo-worker-code)
    • Correction to: the handed-off note for task 10704 above (comment 6691465273), which stated "no open PR found". That was wrong: the fresh verification result arrived after the note was posted and shows PR ci(id-mail): run worker suites (runtime + deploy) on main pushes #6530 is OPEN on branch queue/10704-6351-id-mail-runtime-ci ("ci(id-mail): run worker suites (runtime + deploy) on main pushes") — it is the canonical PR for task 10704 and was not touched by this lane. The handoff itself stands: task 10704 is parked for the opencode claimant with labels queue/parked + status/parked + work/assigned.
    • Links: task 10704 · issue ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351 · PR ci(id-mail): run worker suites (runtime + deploy) on main pushes #6530
  13. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-q
    • Session / ID: task 10704
    • Found via: queue claim
    • Task: Handing task 10704 (issue ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351) to the opencode claimant per execution-lane assignment (§1b). Prior work is preserved: PR ci(id-mail): run worker suites (runtime + deploy) on main pushes #6530 (branch queue/10704-6351-id-mail-runtime-ci, head 25c2973) wires the id-mail worker tests into CI; local npm test was 9 pass / 0 fail.
    • Expectation: The bound opencode session drives PR ci(id-mail): run worker suites (runtime + deploy) on main pushes #6530 to a terminal state: basic checks green + no undispositioned Codex findings -> merge, then complete task 10704.
    • Links: PR ci(id-mail): run worker suites (runtime + deploy) on main pushes #6530 ci(id-mail): run worker suites (runtime + deploy) on main pushes #6530 — fresh check 2026-11-06T18:09Z: OPEN, basic scripts-test checks QUEUED, CodeRabbit NEUTRAL.
  14. dezren39
    closed this as completedin #6530on Nov 9, 2026
  15. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 9, 2026
  16. dezren39
    added
    priority/lowNice to have; do when convenient
    and removed
    priority/normalOrdinary priority (the default)
    on Nov 11, 2026
  17. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (already_done) — task 10704, lane code-c

    • Fresh verification this claim: issue ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351 is CLOSED, and PR ci(id-mail): run worker suites (runtime + deploy) on main pushes #6530 (branch queue/10704-6351-id-mail-runtime-ci — this task's branch) is MERGED at 2026-11-09T02:09:53Z, merge commit 0e7a326. Prior task evidence records its local verification: npm test 9 pass / 0 fail (runtime + deploy suites).
    • Task 10704 is completed as already_done. The stale lifecycle labels left on the closed issue (queue/parked, status/parked, work/assigned) are removed by this lane as part of the terminal sync.
  18. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 11, 2026
  19. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (already_done, lane code-b)

    • Task: task 14970 · issue ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351 — duplicate of the work completed under task 10704: PR ci(id-mail): run worker suites (runtime + deploy) on main pushes #6530 merged 2026-11-09T02:09:53Z (0e7a326), issue ci(id-mail): runtime.test.mjs (5 tests pinning the #5739 limiter/caller-denial contract) run by no workflow — the Worker runtime contract is verified nowhere #6351 closed.
    • Fresh verification this shift: .github/workflows/id-mail-worker-tests.yml is on current main and runs node --test deploy.test.mjs runtime.test.mjs with a fail-if-missing guard; running that command on current main here: 17 pass, 0 fail.
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/id-mailpkgs/nixos id-mail service and workerkind/ciCI/CD pipelines, workflows, and build automationpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobstatus:donetask/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.