Repository navigation
Description
Problem
pkgs/pkarr-worker's test suite cannot be run from a clean checkout at all — and no workflow runs it either, so nothing notices. Two independent breaks:
- The committed lockfile is out of sync with package.json.
package.jsonrequiresvitest: ^4.0.0, butpackage-lock.jsonpins vitest 3.2.7 (and vite 7.3.7 where the resolved tree wants 8.x).npm cirefuses: "npm cican only install packages when your package.json and package-lock.json … are in sync." - Installing per package.json breaks the runner.
npm installresolves vitest 4.1.12, andnpx vitest runthen fails for both test files withError: Runner @cloudflare/vitest-pool-workers is not supported— 0 tests run. The installed@cloudflare/vitest-pool-workersis 0.9.14, which does not support the vitest 4 runner API.
And the standing gap underneath both: grep -rn "pkarr" .github/workflows/ flake.nix justfile finds no CI wiring for this package at all, so the suite (46 tests: test/worker.test.ts 33, test/deploy-args.test.ts 13, covering the signed-packet publish/fetch path and the deploy-arg guards behind closed #3264/#3252/#3261) has no automated signal in any form.
Evidence (verified this run, laptop @ e90672d; probe copy ~/git/fleet/probe-pkarr)
npm ciin a pristine copy → EUSAGE, lock/package.json out of sync (88 package-version diffs afternpm install; the load-bearing ones:vitest 3.2.7 → 4.1.12,vite 7.3.7 → 8.3.6,@vitest/* 3.2.7 → 4.1.12).- After
npm install(vitest 4.1.12, pool-workers 0.9.14, workerd binary present):npx vitest run→ "Test Files: no tests; Tests: no tests; Errors: 2 errors", both files failing with the runner-not-supported error above. - Control in the same probe copy:
npm install -D vitest@3.2.7(the lockfile's line) →npx vitest run→ Test Files 2 passed, Tests 46 passed (46) in 1.71s. The tests themselves are healthy; the toolchain pairing is what is broken. - Related: open Consolidate Dependabot PRs #3304 and #3307: conflicting vitest lines for pkgs/pkarr-worker (5.0.5 vs 4.1.12 + pool-workers 0.23.0) — land one coherent set #5272 already tracks the conflicting Dependabot vitest lines for this package (5.0.5 vs 4.1.12 + pool-workers 0.23.0) — the version pair chosen there must be one that actually runs; this issue is the evidence for which pairs do and don't.
Why it matters
pkarr-worker is the live id door for pkarr records (https://pkarr.developing-today.workers.dev, README), and its deploy path has a history of silent-arg and retention bugs (#3264, #3252, #3261 — all closed, all pinned by deploy-args.test.ts / worker.test.ts). Right now a regression in those pins is undetectable: CI never runs the suite, and a developer who tries to run it locally hits a broken install before a single test executes.
Acceptance criteria
- From a clean checkout of pkgs/pkarr-worker, one documented command sequence installs and runs the suite green:
npm cisucceeds (lockfile regenerated and in sync) andnpm testruns all 46 tests with 0 failures. - The chosen vitest / @cloudflare/vitest-pool-workers pairing is one verified to actually execute the workers pool (evidence in the PR: the test-run output), and is reconciled with the open Dependabot situation in Consolidate Dependabot PRs #3304 and #3307: conflicting vitest lines for pkgs/pkarr-worker (5.0.5 vs 4.1.12 + pool-workers 0.23.0) — land one coherent set #5272 rather than adding a third conflicting line.
- A workflow runs the suite on changes to pkgs/pkarr-worker, with a fail-if-missing guard, following the house CI tier policy (
.github/ci-policy.md). - No changes to the Worker's source or the test files themselves are needed; if a test fails under the new pairing but passed under vitest 3.2.7, that is reported here before any test is edited.
Activity
developing-today commentedon Nov 5, 2026
CODE-1752
dezren39 commentedon Nov 5, 2026
🤖 Agent note · filed
npm ci && npm testis green from a clean checkout and a workflow runs the suite.116 remaining items
dezren39 commentedon Nov 13, 2026
Steer applied 2026-11-13 under Drew's order "fix all fixable and reblocked": Drew's recorded answer (blocked-prs-6093) applied — queue task(s) released to the queue to execute it. Set: decisions-2026-11-13-blocked-review.
dezren39 commentedon Nov 14, 2026
agent-note:v1
state: triaged
task: 9901
lane: code-b
Triage update for #6093 — the situation has changed since the last checkpoint:
Decision: work kind small_fix, priority/normal stands. Follow-on fix packet enqueued from this triage (named in the task 9901 completion): (1) in a clean worktree, npm ci + run the pkarr-worker suite and record the result; (2) add a GitHub Actions workflow that runs it (following the repo's existing *-worker-tests.yml patterns); (3) fix any fallout the first green-run attempt exposes, or report it back here.
dezren39 commentedon Nov 14, 2026
agent-note:v1
Both halves of #6093 are now covered:
Task 16419 parked awaiting PR #9773 merge; on merge, complete it fixed_merged and this issue closes via the PR.
dezren39 commentedon Nov 14, 2026
Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 16419 moved from blocked/parked to queued in the fleet unblock-all pass (worker
main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet.Merge pull request #9773 from developing-today/queue/16419-6093-pkarr-ci
dezren39 commentedon Nov 14, 2026
agent-note:v1
state: done — fixed_merged (task 16419, lane any-c completing lane code-b's PR)
worker: repo-worker-code
PR #9773 MERGED 2026-11-14 (merge commit 261339e); issue #6093 CLOSED via the PR. Verification carried from lane code-b and re-checked fresh at merge: clean-checkout npm ci + vitest 64/64 pass; Codex review failed to run (usage limits) with zero findings — no review comments exist on the PR (API-verified), CodeRabbit likewise rate-limited with no findings.