Title: pkarr-worker: test suite unrunnable from a clean checkout — lockfile pins vitest 3.2.7 vs package.json ^4.0.0 (npm ci refuses), and vitest 4 breaks the pool-workers runner (0 tests run); no workflow runs it either · Issue #6093 · developing-today/code · GitHub
Open Graph Title: pkarr-worker: test suite unrunnable from a clean checkout — lockfile pins vitest 3.2.7 vs package.json ^4.0.0 (npm ci refuses), and vitest 4 breaks the pool-workers runner (0 tests run); no workflow runs it either · Issue #6093 · developing-today/code
X Title: pkarr-worker: test suite unrunnable from a clean checkout — lockfile pins vitest 3.2.7 vs package.json ^4.0.0 (npm ci refuses), and vitest 4 breaks the pool-workers runner (0 tests run); no workflow runs it either · Issue #6093 · developing-today/code
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.json require...
Open Graph 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...
X 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 ...
Opengraph URL: https://github.com/developing-today/code/issues/6093
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pkarr-worker: test suite unrunnable from a clean checkout — lockfile pins vitest 3.2.7 vs package.json ^4.0.0 (npm ci refuses), and vitest 4 breaks the pool-workers runner (0 tests run); no workflow runs it either","articleBody":"## Problem\n\npkgs/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:\n\n1. **The committed lockfile is out of sync with package.json.** `package.json` requires `vitest: ^4.0.0`, but `package-lock.json` pins vitest **3.2.7** (and vite 7.3.7 where the resolved tree wants 8.x). `npm ci` refuses: *\"`npm ci` can only install packages when your package.json and package-lock.json … are in sync.\"*\n2. **Installing per package.json breaks the runner.** `npm install` resolves vitest 4.1.12, and `npx vitest run` then fails for both test files with `Error: Runner @cloudflare/vitest-pool-workers is not supported` — **0 tests run**. The installed `@cloudflare/vitest-pool-workers` is 0.9.14, which does not support the vitest 4 runner API.\n\nAnd 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.\n\n## Evidence (verified this run, laptop @ e90672dc9e; probe copy ~/git/fleet/probe-pkarr)\n\n- `npm ci` in a pristine copy → EUSAGE, lock/package.json out of sync (88 package-version diffs after `npm 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`).\n- 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.\n- 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.\n- Related: open #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.\n\n## Why it matters\n\npkarr-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.\n\n## Acceptance criteria\n\n- From a clean checkout of pkgs/pkarr-worker, one documented command sequence installs and runs the suite green: `npm ci` succeeds (lockfile regenerated and in sync) and `npm test` runs all 46 tests with 0 failures.\n- 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 #5272 rather than adding a third conflicting line.\n- 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`).\n- 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.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-05T06:22:17Z","url":"https://github.com/developing-today/code/issues/6093"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b7a8b6d3-79c5-0b3d-a218-54aebbb5ac33 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCEE:1A09C8:34E68E:45380C:6B0617FA |
| html-safe-nonce | 4fdf997df828a15a6ce8e6264180d179ab89d0469e292dc2002a134f26417af0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0VFOjFBMDlDODozNEU2OEU6NDUzODBDOjZCMDYxN0ZBIiwidmlzaXRvcl9pZCI6IjU5MTEyMDYyNjQ4NTk2NjIzMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4654758e63d899c3049b31d6d8c9cd9bd31073d8f097b0fe4fa0a9f1ed71ceb9 |
| hovercard-subject-tag | issue:6217992741 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/6093/issue_layout |
| twitter:image | https://opengraph.githubassets.com/039c4af9a30280b3744307a0833d85626eecada4aa268139a8f3cd40f32952dd/developing-today/code/issues/6093 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/039c4af9a30280b3744307a0833d85626eecada4aa268139a8f3cd40f32952dd/developing-today/code/issues/6093 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width