Diffinery

codician/diffinerypublic

Open-source, agent-first GitHub and GitHub Actions alternative that runs on your own Cloudflare account: git hosting, pull requests, code review and drop-in GitHub Actions YAML on Workers, Durable Objects, R2 and Containers.

Unit tests (1/2)

took 1m 57s Raw logs

Matrix: shard: 1

Set up job
Diffinery runner: job test (Unit tests (1/2)) for codician/diffinery@39c1fe78b81cRunner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in lhr10, WEUR, container 1892c97303a3c393e88fb0b4adb1a9713ac281e66ced8c94f7eb37b43192ae81Runner size: large (4 vCPU, 12 GiB of memory, 20 GB of disk), this job uses what a smaller runner doesn't have; runs-on: diffinery-large (or -medium, -small, -tiny) sets a sizeHost: AMD EPYC (family 25, model 1), 4 vCPUs, 2000 MHzWorkspace: /workspace/diffineryHost: 5% of the vCPUs' time went to other work on the host (steal)Job completed with conclusion: successResources: 2.0 of 4 vCPUs busy on average (3.9 at the 95th percentile), peak memory 2.1 GiB of 11.9 GiB, peak disk 2.3 GB of 19.2 GB
Run actions/checkout@v43s
##[group]Run actions/checkout@v4##[endgroup]Syncing repository: codician/diffineryFetching the repository (depth 1)remote: Enumerating objects: 884, done.        Receiving objects:   0% (1/884)
Receiving objects:   1% (9/884)
Receiving objects:   2% (18/884)
Receiving objects:   3% (27/884)
Receiving objects:   4% (36/884)
Receiving objects:   5% (45/884)
Receiving objects:   6% (54/884)
Receiving objects:   7% (62/884)
Receiving objects:   8% (71/884)
Receiving objects:   9% (80/884)
Receiving objects:  10% (89/884)
Receiving objects:  11% (98/884)
Receiving objects:  12% (107/884)
Receiving objects:  13% (115/884)
Receiving objects:  14% (124/884)
Receiving objects:  15% (133/884)
Receiving objects:  16% (142/884)
Receiving objects:  17% (151/884)
Receiving objects:  18% (160/884)
Receiving objects:  19% (168/884)
Receiving objects:  20% (177/884)
Receiving objects:  21% (186/884)
Receiving objects:  22% (195/884)
Receiving objects:  23% (204/884)
Receiving objects:  24% (213/884)
Receiving objects:  25% (221/884)
Receiving objects:  26% (230/884)
Receiving objects:  27% (239/884)
Receiving objects:  28% (248/884)
Receiving objects:  29% (257/884)
Receiving objects:  30% (266/884)
Receiving objects:  31% (275/884)
Receiving objects:  32% (283/884)
Receiving objects:  33% (292/884)
Receiving objects:  34% (301/884)
Receiving objects:  35% (310/884)
Receiving objects:  36% (319/884)
Receiving objects:  37% (328/884)
Receiving objects:  38% (336/884)
Receiving objects:  39% (345/884)
Receiving objects:  40% (354/884)
Receiving objects:  41% (363/884)
Receiving objects:  42% (372/884)
Receiving objects:  43% (381/884)
Receiving objects:  44% (389/884)
Receiving objects:  45% (398/884)
Receiving objects:  46% (407/884)
Receiving objects:  47% (416/884)
Receiving objects:  48% (425/884)
Receiving objects:  49% (434/884)
Receiving objects:  50% (442/884)
Receiving objects:  51% (451/884)
Receiving objects:  52% (460/884)
Receiving objects:  53% (469/884)
Receiving objects:  54% (478/884)
Receiving objects:  55% (487/884)
Receiving objects:  56% (496/884)
Receiving objects:  57% (504/884)
Receiving objects:  58% (513/884)
Receiving objects:  59% (522/884)
Receiving objects:  60% (531/884)
Receiving objects:  61% (540/884)
Receiving objects:  62% (549/884)
Receiving objects:  63% (557/884)
Receiving objects:  64% (566/884)
Receiving objects:  65% (575/884)
Receiving objects:  66% (584/884)
Receiving objects:  67% (593/884)
Receiving objects:  68% (602/884)
Receiving objects:  69% (610/884)
Receiving objects:  70% (619/884)
Receiving objects:  71% (628/884)
Receiving objects:  72% (637/884)
Receiving objects:  73% (646/884)
Receiving objects:  74% (655/884)
Receiving objects:  75% (663/884)
Receiving objects:  76% (672/884)
Receiving objects:  77% (681/884)
Receiving objects:  78% (690/884)
Receiving objects:  79% (699/884)
Receiving objects:  80% (708/884)
Receiving objects:  81% (717/884)
Receiving objects:  82% (725/884)
Receiving objects:  83% (734/884)
Receiving objects:  84% (743/884)
Receiving objects:  85% (752/884)
Receiving objects:  86% (761/884)
Receiving objects:  87% (770/884)
Receiving objects:  88% (778/884)
Receiving objects:  89% (787/884)
Receiving objects:  90% (796/884)
Receiving objects:  91% (805/884)
Receiving objects:  92% (814/884)
Receiving objects:  93% (823/884)
Receiving objects:  94% (831/884)
Receiving objects:  95% (840/884)
Receiving objects:  96% (849/884)
Receiving objects:  97% (858/884)
remote: Total 884 (delta 0), reused 884 (delta 0)        Receiving objects:  98% (867/884)
Receiving objects:  99% (876/884)
Receiving objects: 100% (884/884)
Receiving objects: 100% (884/884), 4.17 MiB | 14.39 MiB/s, done.From https://diffinery.com/codician/diffinery * [new ref]         39c1fe78b81c21cde2fdb336ad62f0c36b13c942 -> origin/diffinery-checkoutNote: switching to '39c1fe78b81c21cde2fdb336ad62f0c36b13c942'.You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by switching back to a branch.If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -c with the switch command. Example:  git switch -c <new-branch-name>Or undo this operation with:  git switch -Turn off this advice by setting config variable advice.detachedHead to falseHEAD is now at 39c1fe7 Merge 7bc0788d40b3cb45095121c6805feef0e0c14e31 into 2b6234cffe87ed01a53fde14ee77899f2e29dc5dHEAD is now at 39c1fe78b81c21cde2fdb336ad62f0c36b13c942
Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b14s
Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1'##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1with:  dest: ~/setup-pnpm  run_install: null  cache: false  cache_dependency_path: pnpm-lock.yaml  package_json_file: package.json  standalone: false##[endgroup]##[group]Running self-installer...Progress: resolved 1, reused 0, downloaded 0, added 0Packages: +1+Progress: resolved 1, reused 0, downloaded 1, added 0Progress: resolved 1, reused 0, downloaded 1, added 1, donedependencies:+ pnpm 10.28.0 (12.15.0 is available)Done in 2.3s##[endgroup]Installation Completed!
Run actions/setup-node@v412s
##[group]Run actions/setup-node@v4with:  node-version: 22  cache: pnpm##[endgroup]Found in cache @ 22.22.0 (pre-installed node satisfies '22')Cache Size: ~216 MB (226934503 B)Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b
Run pnpm install --frozen-lockfile8s
##[group]Run pnpm install --frozen-lockfile##[endgroup]Scope: all 8 workspace projectsLockfile is up to date, resolution step is skippedProgress: resolved 1, reused 0, downloaded 0, added 0Packages: +251++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Progress: resolved 251, reused 203, downloaded 0, added 0Progress: resolved 251, reused 245, downloaded 0, added 163Progress: resolved 251, reused 245, downloaded 0, added 250Progress: resolved 251, reused 245, downloaded 0, added 251, done.../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js.../node_modules/workerd postinstall$ node install.js.../node_modules/workerd postinstall$ node install.js.../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js.../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js.../node_modules/workerd postinstall: Done.../esbuild@0.25.12/node_modules/esbuild postinstall: Done.../esbuild@0.28.1/node_modules/esbuild postinstall: Done.../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js.../esbuild@0.25.11/node_modules/esbuild postinstall: Done.../node_modules/workerd postinstall: Done.../esbuild@0.28.2/node_modules/esbuild postinstall: DonedevDependencies:+ turbo 2.11.7+ typescript 5.9.3Done in 8.1s using pnpm v10.28.0
Build6s
##[group]Run pnpm -r --if-present build##[endgroup]Scope: 7 of 8 workspace projectsapps/cli build$ esbuild src/bin.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/diffinery.mjs "--banner:js=#!/usr/bin/env nodeimport { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);"apps/diffinery build$ node islands/build.mjs && node scripts/build-docs.mjscontainers/runner build$ esbuild src/main.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/agent.mjs --external:bufferutil --external:utf-8-validate "--banner:js=import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);"apps/cli build:   dist/diffinery.mjs  468.9kbapps/cli build: ⚡ Done in 108msapps/cli build: Donecontainers/runner build:   dist/agent.mjs  684.1kbcontainers/runner build: ⚡ Done in 144mscontainers/runner build: Doneapps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KBapps/diffinery build: docs: 84 pages (+2 generated at runtime), 19 site pages, 11 images, CLI 0.1.0 (250 KiB), editor extension 0.1.1 (24 KiB), JetBrains plugin 0.1.0 (64 KiB), Claude Code plugins diffinery 0.1.3, diffinery-ci 0.2.3apps/diffinery build: Done
Unit tests1m 20s
##[group]Run pnpm -r --if-present run test --shard=1/2##[endgroup]Scope: 7 of 8 workspace projectsapps/vscode test$ vitest run --shard=1/2packages/git-core test$ vitest run --shard=1/2packages/workflow-yaml test$ vitest run --shard=1/2packages/git-core test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:packages/git-core test:   - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extensionpackages/git-core test:   - ESM syntax in a file loaded as CommonJS (../../vitest.shared.ts:10:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.jsonpackages/git-core test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.packages/git-core test:  RUN  v4.1.11 /workspace/diffinery/packages/git-coreapps/vscode test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:apps/vscode test:   - ESM syntax in a file loaded as CommonJS (vitest.config.ts:1:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.jsonapps/vscode test:   - ESM syntax in a file loaded as CommonJS (../../vitest.shared.ts:10:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.jsonapps/vscode test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.apps/vscode test:  RUN  v4.1.11 /workspace/diffinery/apps/vscodepackages/workflow-yaml test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:packages/workflow-yaml test:   - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extensionpackages/workflow-yaml test:   - ESM syntax in a file loaded as CommonJS (../../vitest.shared.ts:10:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.jsonpackages/workflow-yaml test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.packages/workflow-yaml test:  RUN  v4.1.11 /workspace/diffinery/packages/workflow-yamlapps/vscode test:  ✓ test/repos.test.ts (6 tests) 131msapps/vscode test:  ✓ test/package.test.ts (2 tests) 362msapps/vscode test:      ✓ ships the license in both builds  335msapps/vscode test:  Test Files  2 passed (2)apps/vscode test:       Tests  8 passed (8)apps/vscode test:    Start at  19:51:28apps/vscode test:    Duration  1.28s (transform 372ms, setup 0ms, import 678ms, tests 493ms, environment 5ms)apps/vscode test: Donepackages/workflow-yaml test:  ✓ test/expr.test.ts (48 tests) 47mspackages/workflow-yaml test:  ✓ test/cron.test.ts (23 tests) 65mspackages/workflow-yaml test:  ✓ test/parse.test.ts (31 tests) 273mspackages/workflow-yaml test:  Test Files  3 passed (3)packages/workflow-yaml test:       Tests  102 passed (102)packages/workflow-yaml test:    Start at  19:51:28packages/workflow-yaml test:    Duration  2.07s (transform 1.53s, setup 0ms, import 2.69s, tests 385ms, environment 1ms)packages/workflow-yaml test: Donepackages/git-core test:  ✓ test/merge-base.test.ts (3 tests) 1589mspackages/git-core test:      ✓ is a best common ancestor, the only one when there is one, on random histories with and without clock skew  1465mspackages/git-core test:  ✓ test/diff-budget.test.ts (5 tests) 1972mspackages/git-core test:      ✓ a file rewritten from scratch is diffed in one pass, as one replaced block  709mspackages/git-core test:      ✓ a three-way merge too large to compute is a conflict, quickly  1224mspackages/git-core test:  ✓ test/pack-stream.test.ts (3 tests) 254mspackages/git-core test:  ✓ test/pack-limits.test.ts (6 tests) 21826mspackages/git-core test:      ✓ resolves a long delta chain in one pass, whatever order the pack lists it in  14386mspackages/git-core test:      ✓ counts what each object costs in memory, not only its content  6018mspackages/git-core test:      ✓ refuses a small pack whose objects inflate past the memory budget  1404mspackages/git-core test:  Test Files  4 passed (4)packages/git-core test:       Tests  17 passed (17)packages/git-core test:    Start at  19:51:28packages/git-core test:    Duration  23.56s (transform 1.58s, setup 0ms, import 2.89s, tests 25.64s, environment 1ms)packages/git-core test: Doneapps/cli test$ vitest run --shard=1/2apps/diffinery test$ vitest run --passWithNoTests --exclude 'test/e2e/**' --shard=1/2containers/runner test$ vitest run --shard=1/2apps/diffinery test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:apps/diffinery test:   - import "../../vitest.shared" without a file extension (vitest.config.ts:3:26). Add the file extensionapps/diffinery test:   - ESM syntax in a file loaded as CommonJS (../../vitest.shared.ts:10:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.jsonapps/diffinery test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.apps/diffinery test:  RUN  v4.1.11 /workspace/diffinery/apps/diffinerycontainers/runner test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:containers/runner test:   - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extensioncontainers/runner test:   - ESM syntax in a file loaded as CommonJS (../../vitest.shared.ts:10:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.jsoncontainers/runner test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.apps/cli test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:apps/cli test:   - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extensionapps/cli test:   - ESM syntax in a file loaded as CommonJS (../../vitest.shared.ts:10:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.jsonapps/cli test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.containers/runner test:  RUN  v4.1.11 /workspace/diffinery/containers/runnerapps/cli test:  RUN  v4.1.11 /workspace/diffinery/apps/cliapps/diffinery test: (node:557) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test: (node:551) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test:  ✓ test/unit/usage.test.ts (23 tests) 514mscontainers/runner test:  ✓ test/jail.test.ts (12 tests) 416msapps/diffinery test: (node:625) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test: stderr | test/unit/stuck-runs.test.ts > runs stuck after their jobs finished > a lost job event is sent again, so the run's workflow carries on and the next run in the group startsapps/diffinery test: failed to notify workflow Error: network connection lostapps/diffinery test:     at Object.sendEvent (/workspace/diffinery/apps/diffinery/test/unit/stuck-runs.test.ts:85:31)apps/diffinery test:     at Actions.completeJob (/workspace/diffinery/apps/diffinery/src/repo/actions.ts:2739:22)apps/diffinery test:     at Object.runTest (/workspace/diffinery/apps/diffinery/test/unit/stuck-runs.test.ts:102:5)apps/diffinery test:     at /workspace/diffinery/apps/diffinery/test/unit/stuck-runs.test.ts:119:5apps/diffinery test:     at async file:///workspace/diffinery/node_modules/.pnpm/@vitest+runner@4.1.11/node_modules/@vitest/runner/dist/chunk-artifact.js:1903:20apps/diffinery test: stderr | test/unit/stuck-runs.test.ts > runs stuck after their jobs finished > a lost job event is sent again, so the run's workflow carries on and the next run in the group startsapps/diffinery test: run stuck after its jobs finished: sending their completion events again d27a3dd8e25b47839dd0fd3348a028f4 waitingapps/diffinery test: stderr | test/unit/stuck-runs.test.ts > runs stuck after their jobs finished > a run whose workflow failed is finished, failing and naming the jobs that never started; the late workflow changes nothingapps/diffinery test: run stuck after its jobs finished: finishing it 4602744b26104dcda3812a94b69447cc erroredapps/diffinery test: stderr | test/unit/stuck-runs.test.ts > runs stuck after their jobs finished > a run still stuck STUCK_RUN_FINISH_MS after its jobs finished is finished, though its workflow looks aliveapps/diffinery test: run stuck after its jobs finished: sending their completion events again fc459a614bbd4eecb069777c6fa4de14 waitingapps/diffinery test: stderr | test/unit/stuck-runs.test.ts > runs stuck after their jobs finished > a run still stuck STUCK_RUN_FINISH_MS after its jobs finished is finished, though its workflow looks aliveapps/diffinery test: run stuck after its jobs finished: finishing it fc459a614bbd4eecb069777c6fa4de14 waitingapps/diffinery test:  ✓ test/unit/runner-sizes.test.ts (22 tests) 661msapps/diffinery test: stderr | test/unit/stuck-runs.test.ts > runs stuck after their jobs finished > a waiting run in the group repairs the stuck one when it plans: a cancelled run whose jobs ended long ago frees the groupapps/diffinery test: run stuck after its jobs finished: sending their completion events again 157d506c78bc43d1b121314b556eeb7e waitingapps/diffinery test: stderr | test/unit/stuck-runs.test.ts > runs stuck after their jobs finished > a waiting run in the group repairs the stuck one when it plans: a cancelled run whose jobs ended long ago frees the groupapps/diffinery test: run stuck after its jobs finished: finishing it 157d506c78bc43d1b121314b556eeb7e waitingapps/diffinery test:  ✓ test/unit/auto-merge.test.ts (28 tests) 2789msapps/diffinery test:      ✓ leaves other agents, people, drafts and rules without allowAgentAutoMerge alone  347msapps/diffinery test: (node:723) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test:  ✓ test/unit/stuck-runs.test.ts (7 tests) 4258msapps/diffinery test:      ✓ a lost job event is sent again, so the run's workflow carries on and the next run in the group starts  388msapps/diffinery test:      ✓ clears runs that waited before newer runs replaced older ones: the oldest doesn't take the group ahead of the newest  3150msapps/diffinery test: stderr | test/unit/suppression.test.ts > Email Sending's answer to a send > puts a refused recipient on the list (source send) and audits it; temporary failures change nothingapps/diffinery test: email failed test Ann@Example.com E_RECIPIENT_SUPPRESSED: recipient is suppressedapps/diffinery test: stderr | test/unit/suppression.test.ts > Email Sending's answer to a send > puts a refused recipient on the list (source send) and audits it; temporary failures change nothingapps/diffinery test: email failed test bob@example.com E_DAILY_LIMIT_EXCEEDED: nopeapps/diffinery test:  ✓ test/unit/suppression.test.ts (11 tests) 532msapps/diffinery test: (node:730) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test:  ✓ test/unit/review.test.ts (19 tests) 253msapps/diffinery test: stderr | test/unit/moderation.test.ts > suspension > refuses tokens and sessions at once, stops Actions, and unsuspending restores the tokensapps/diffinery test: mail queue not bound; dropping 1 email(s)apps/diffinery test: stderr | test/unit/moderation.test.ts > suspension > refuses tokens and sessions at once, stops Actions, and unsuspending restores the tokensapps/diffinery test: mail queue not bound; dropping 1 email(s)apps/diffinery test:  ✓ test/unit/moderation.test.ts (9 tests) 952mscontainers/runner test:  ✓ test/relay.test.ts (4 tests) 7972mscontainers/runner test:      ✓ splits a single-PUT upload (containerd) into PATCH chunks under the limit  6353mscontainers/runner test:      ✓ answers a streamed PATCH (docker) like the registry would, then completes with an empty PUT  1340msapps/diffinery test:  ✓ test/unit/today.test.ts (13 tests) 99msapps/diffinery test:  ✓ test/unit/job-permissions.test.ts (8 tests) 164msapps/cli test:  ✓ test/pr.test.ts (21 tests) 8396msapps/cli test:      ✓ pr create infers the repo from origin and the head from the current branch  5369msapps/cli test:      ✓ pr view, checks, diff, comment, review, ready and merge default to the current branch's pull request  613msapps/cli test:      ✓ pr checks --watch waits for the first check right after a push, and gives up after 2 minutes  1257msapps/cli test:  ✓ test/migrate.test.ts (4 tests) 8779msapps/cli test:      ✓ creates the repo, pushes branches and tags, and copies issues, PRs, variables and secret names  6625msapps/cli test:      ✓ repo clone authenticates for that command only  1044msapps/cli test:      ✓ without --local, starts a server import and follows it to completion  503msapps/cli test:      ✓ --private and --to override the target  595msapps/diffinery test: (node:1349) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test: stderr | test/unit/rate-limit.test.ts > rate limit checks > lets requests through when no limiter is configured or the limiter failsapps/diffinery test: rate limiter failed RL_ANON Error: downapps/diffinery test:     at Object.limit (/workspace/diffinery/apps/diffinery/test/unit/rate-limit.test.ts:91:67)apps/diffinery test:     at overLimit (/workspace/diffinery/apps/diffinery/src/lib/rate-limit.ts:73:22)apps/diffinery test:     at /workspace/diffinery/apps/diffinery/test/unit/rate-limit.test.ts:92:18apps/diffinery test:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)apps/cli test:  ✓ test/misc.test.ts (9 tests) 622msapps/cli test:  ✓ test/setup.test.ts (16 tests) 10756msapps/cli test:      ✓ signs in through the browser, then sets up git, even when an agent runs it without a terminal  5164msapps/cli test:      ✓ offers auto-merge for the person's pull requests on a terminal, and turns it on with yes  653msapps/cli test:      ✓ turns auto-merge on without asking with --auto-merge, and never asks with --no-auto-merge or for an agent  436msapps/cli test:        ✓ leaves gh to GH_ENTERPRISE_TOKEN when it's in the environment, since gh won't sign in over it  330msapps/cli test:      ✓ checks each part with the token from the environment, clones, reports, and writes no token to disk  1419msapps/cli test:      ✓ says what to change, exits 1, and still reports, when a check fails  456msapps/cli test:      ✓ names the token that's missing or refused, with where to get a new one  453msapps/diffinery test:  ✓ test/unit/apps.test.ts (8 tests) 1672msapps/diffinery test:      ✓ refuses JWTs GitHub refuses  725msapps/cli test:  ✓ test/login.test.ts (12 tests) 846msapps/cli test:      ✓ opens the authorize page with a PKCE challenge, trades the code with the verifier, and saves the token  356msapps/cli test:  Test Files  5 passed (5)apps/cli test:       Tests  62 passed (62)apps/cli test:    Start at  19:51:52apps/cli test:    Duration  14.87s (transform 5.84s, setup 0ms, import 10.49s, tests 29.40s, environment 2ms)apps/cli test: Doneapps/diffinery test: (node:1863) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)containers/runner test:  ✓ test/import.test.ts (7 tests) 14535mscontainers/runner test:      ✓ pushes history in chunks under a size limit the server enforces, then every ref, and cleans up  11978mscontainers/runner test:      ✓ pushes every version of a large file first and whole, so the server never rebuilds one from a delta  1647mscontainers/runner test:      ✓ splits a refused batch of a large commit's files again, rather than retrying it whole  819msapps/diffinery test: stderr | test/unit/killswitch.test.ts > kill switches > counts repositories that couldn't be stopped, and needs a reasonapps/diffinery test: kill switch: stopping work in repository broken failed Error: goneapps/diffinery test:     at Object.stopActions (/workspace/diffinery/apps/diffinery/test/unit/killswitch.test.ts:24:36)apps/diffinery test:     at worker (/workspace/diffinery/apps/diffinery/src/lib/killswitch.ts:155:63)apps/diffinery test:     at Function.from (<anonymous>)apps/diffinery test:     at stopIn (/workspace/diffinery/apps/diffinery/src/lib/killswitch.ts:166:27)apps/diffinery test:     at changePause (/workspace/diffinery/apps/diffinery/src/lib/killswitch.ts:225:21)apps/diffinery test:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)apps/diffinery test:     at /workspace/diffinery/apps/diffinery/test/unit/killswitch.test.ts:123:12apps/diffinery test:     at async file:///workspace/diffinery/node_modules/.pnpm/@vitest+runner@4.1.11/node_modules/@vitest/runner/dist/chunk-artifact.js:1903:20apps/diffinery test:  ✓ test/unit/killswitch.test.ts (5 tests) 300msapps/diffinery test:  ✓ test/unit/coordinator.test.ts (8 tests) 28mscontainers/runner test:  ✓ test/docker-wrapper.test.ts (4 tests) 13633mscontainers/runner test:      ✓ lets docker commands that arrive while the daemon is starting through, with the head start on  6587mscontainers/runner test:      ✓ gives up with a message, not a hang, when the daemon never comes up  2720mscontainers/runner test:      ✓ starts the registry relay and the daemon together  2428mscontainers/runner test:      ✓ starts the daemon again without the relay when the relay never comes up  1889msapps/diffinery test:  ✓ test/unit/secret-scan.test.ts (7 tests) 2304msapps/diffinery test:      ✓ scans large blobs from their compressed bytes, slice by slice, with the same rules  461msapps/diffinery test:      ✓ scans a large file in slices, never as one string, with the same results  1809msapps/diffinery test:  ✓ test/unit/job-graph.test.ts (12 tests) 106msapps/diffinery test: stderr | test/unit/rate-limit.test.ts > model requests per paying person (phase 5a) > counts per person, and lets requests through without a binding or when it failsapps/diffinery test: model rate limiter failed Error: downapps/diffinery test:     at Object.limit (/workspace/diffinery/apps/diffinery/test/unit/rate-limit.test.ts:132:61)apps/diffinery test:     at modelRateLimited (/workspace/diffinery/apps/diffinery/src/lib/rate-limit.ts:92:33)apps/diffinery test:     at /workspace/diffinery/apps/diffinery/test/unit/rate-limit.test.ts:133:18apps/diffinery test:     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)apps/diffinery test:     at async file:///workspace/diffinery/node_modules/.pnpm/@vitest+runner@4.1.11/node_modules/@vitest/runner/dist/chunk-artifact.js:1903:20apps/diffinery test:  ✓ test/unit/rate-limit.test.ts (10 tests) 8167msapps/diffinery test:      ✓ answers 429 with retry-after once an anonymous address is over its limit  8030msapps/diffinery test:  ✓ test/unit/project.test.ts (12 tests) 33msapps/diffinery test: (node:2573) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test: (node:2586) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test:  ✓ test/unit/job-token.test.ts (7 tests) 296msapps/diffinery test:  ✓ test/unit/visibility.test.ts (3 tests) 225msapps/diffinery test: (node:2672) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test:  ✓ test/unit/role-grants.test.ts (2 tests) 182msapps/diffinery test:  ✓ test/unit/reusable.test.ts (4 tests) 100msapps/diffinery test:  ✓ test/unit/markdown-safety.test.ts (31 tests) 5301msapps/diffinery test:      ✓ bounds the lookahead for many such paragraphs  795msapps/diffinery test:      ✓ renders many comment openers in linear time  2426mscontainers/runner test:  ✓ test/prefetch.test.ts (4 tests) 13298mscontainers/runner test:      ✓ installs Go while the job's first steps run, and setup-go uses it  2077mscontainers/runner test:      ✓ leaves nothing behind when a download doesn't match its published checksum  10793mscontainers/runner test:      ✓ lays a Temurin JDK out in the tool cache the way setup-java caches one  378msapps/diffinery test:  ✓ test/unit/fsck.test.ts (16 tests) 1275msapps/diffinery test:      ✓ refuses a tree too large to check, before reading its names  1209msapps/diffinery test:  ✓ test/unit/today-view.test.ts (5 tests) 67msapps/diffinery test:  ✓ test/unit/deploy-log-notes.test.ts (2 tests) 80msapps/diffinery test:  ✓ test/unit/rpc.test.ts (5 tests) 16msapps/diffinery test:  ✓ test/unit/registry-upload.test.ts (2 tests) 987msapps/diffinery test:      ✓ hash each chunk as it arrives, so the final request doesn't read the blob back  890msapps/diffinery test:  ✓ test/unit/required.test.ts (11 tests) 18msapps/diffinery test:  ✓ test/unit/redirects.test.ts (9 tests) 16msapps/diffinery test:  ✓ test/unit/push-retry.test.ts (5 tests) 20msapps/diffinery test:  ✓ test/unit/timing.test.ts (2 tests) 106msapps/diffinery test:  ✓ test/unit/wait-timer.test.ts (5 tests) 11msapps/diffinery test:  ✓ test/unit/memory-pool.test.ts (3 tests) 18msapps/diffinery test:  ✓ test/unit/stages.test.ts (3 tests) 19msapps/diffinery test:  ✓ test/unit/upload-pack.test.ts (1 test) 1870msapps/diffinery test:      ✓ sends each object as it is read, in side-band packets, never the whole pack at once  1865msapps/diffinery test:  ✓ test/unit/org-variables.test.ts (2 tests) 29msapps/diffinery test:  ✓ test/unit/environment-secrets.test.ts (4 tests) 14msapps/diffinery test:  ✓ test/unit/d1.test.ts (3 tests) 13msapps/diffinery test:  ✓ test/unit/receive-head.test.ts (2 tests) 96msapps/diffinery test:  ✓ test/unit/job-secrets.test.ts (4 tests) 29msapps/diffinery test:  ✓ test/unit/tree-names.test.ts (5 tests) 41msapps/diffinery test:  ✓ test/unit/mcp-registry-auth.test.ts (2 tests) 17msapps/diffinery test:  ✓ test/unit/archive-stream.test.ts (3 tests) 1114msapps/diffinery test:      ✓ refuse more entries than classic zip can hold instead of writing a broken archive  796msapps/diffinery test: (node:3097) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test:  ✓ test/unit/inflight.test.ts (1 test) 59msapps/diffinery test:  ✓ test/unit/terminal-command.test.ts (1 test) 11msapps/diffinery test:  ✓ test/unit/unpack-failure.test.ts (2 tests) 10msapps/diffinery test:  ✓ test/unit/graphql.test.ts (3 tests) 22msapps/diffinery test:  Test Files  46 passed (46)apps/diffinery test:       Tests  350 passed (350)apps/diffinery test:    Start at  19:51:52apps/diffinery test:    Duration  33.56s (transform 18.10s, setup 0ms, import 38.98s, tests 34.89s, environment 21ms)apps/diffinery test: Donecontainers/runner test:  ✓ test/docker.test.ts (4 tests) 31519mscontainers/runner test:      ✓ runs steps and JavaScript actions in a job container next to a service container  14550mscontainers/runner test:      ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints  9747mscontainers/runner test:      ✓ fails a service that never gets healthy, and cleans up  6225mscontainers/runner test:      ✓ explains that containers need Docker  991mscontainers/runner test:  Test Files  6 passed (6)containers/runner test:       Tests  35 passed (35)containers/runner test:    Start at  19:51:52containers/runner test:    Duration  53.65s (transform 3.36s, setup 0ms, import 11.11s, tests 81.37s, environment 2ms)containers/runner test: Done
Post Run actions/setup-node@v40s
Cache hit occurred on the primary key node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b, not saving cache.
Post Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b10s
Pruning is unnecessary.
Post Run actions/checkout@v41s
Removing persisted credentials

Job summary

Vitest Test Report

Summary

  • Test Files: ✅ 2 passes · 2 total
  • Test Results: ✅ 8 passes · 8 total

Vitest Test Report

Summary

  • Test Files: ✅ 3 passes · 3 total
  • Test Results: ✅ 102 passes · 102 total

Vitest Test Report

Summary

  • Test Files: ✅ 4 passes · 4 total
  • Test Results: ✅ 17 passes · 17 total

Vitest Test Report

Summary

  • Test Files: ✅ 5 passes · 5 total
  • Test Results: ✅ 62 passes · 62 total

Vitest Test Report

Summary

  • Test Files: ✅ 46 passes · 46 total
  • Test Results: ✅ 350 passes · 350 total

Vitest Test Report

Summary

  • Test Files: ✅ 6 passes · 6 total
  • Test Results: ✅ 35 passes · 35 total