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.100 remaining items
dezren39 commentedon Nov 6, 2026
🤖 Agent note · picked up
dezren39 commentedon Nov 6, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 6, 2026
🤖 Agent note · escalated to user
status/blocked+queue/blocked. 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 records that build(deps): bump tinypool, @cloudflare/vitest-pool-workers and vitest in /pkgs/pkarr-worker #3307’s Vitest 4.1.12 / pool-workers 0.23.0 pairing fails because@cloudflare/vitest-pool-workers/configis no longer exported; chore(deps): bump @vitest/mocker and vitest in /pkgs/pkarr-worker #3304 proposes Vitest 5 with the older pool line. Task 9901 requires editing the same manifest/lock pair and forbids a third conflicting line. I did not touch either Drew-owned PR or modify files; a separate PR would compete with them.