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 2s Raw logs

Matrix: shard: 1

Set up job
Diffinery runner: job test (Unit tests (1/2)) for codician/diffinery@3252fb066280Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in ams19, WEUR, container e92293cffa96d42cb944ea499225b83721d6a01040dad163023fba1dd1078c2cRunner 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 17), 4 vCPUs, 2550 MHzWorkspace: /workspace/diffineryHost: 6% of the vCPUs' time went to other work on the host (steal)Job completed with conclusion: successResources: 1.8 of 4 vCPUs busy on average (3.7 at the 95th percentile), peak memory 2.3 GiB of 11.9 GiB, peak disk 2.3 GB of 19.2 GB
Run actions/checkout@v42s
##[group]Run actions/checkout@v4##[endgroup]Syncing repository: codician/diffineryFetching the repository (depth 1)remote: Enumerating objects: 881, done.        Receiving objects:   0% (1/881)
Receiving objects:   1% (9/881)
Receiving objects:   2% (18/881)
Receiving objects:   3% (27/881)
Receiving objects:   4% (36/881)
Receiving objects:   5% (45/881)
Receiving objects:   6% (53/881)
Receiving objects:   7% (62/881)
Receiving objects:   8% (71/881)
Receiving objects:   9% (80/881)
Receiving objects:  10% (89/881)
Receiving objects:  11% (97/881)
Receiving objects:  12% (106/881)
Receiving objects:  13% (115/881)
Receiving objects:  14% (124/881)
Receiving objects:  15% (133/881)
Receiving objects:  16% (141/881)
Receiving objects:  17% (150/881)
Receiving objects:  18% (159/881)
Receiving objects:  19% (168/881)
Receiving objects:  20% (177/881)
Receiving objects:  21% (186/881)
Receiving objects:  22% (194/881)
Receiving objects:  23% (203/881)
Receiving objects:  24% (212/881)
Receiving objects:  25% (221/881)
Receiving objects:  26% (230/881)
Receiving objects:  27% (238/881)
Receiving objects:  28% (247/881)
Receiving objects:  29% (256/881)
Receiving objects:  30% (265/881)
Receiving objects:  31% (274/881)
Receiving objects:  32% (282/881)
Receiving objects:  33% (291/881)
Receiving objects:  34% (300/881)
Receiving objects:  35% (309/881)
Receiving objects:  36% (318/881)
Receiving objects:  37% (326/881)
Receiving objects:  38% (335/881)
Receiving objects:  39% (344/881)
Receiving objects:  40% (353/881)
Receiving objects:  41% (362/881)
Receiving objects:  42% (371/881)
Receiving objects:  43% (379/881)
Receiving objects:  44% (388/881)
Receiving objects:  45% (397/881)
Receiving objects:  46% (406/881)
Receiving objects:  47% (415/881)
Receiving objects:  48% (423/881)
Receiving objects:  49% (432/881)
Receiving objects:  50% (441/881)
Receiving objects:  51% (450/881)
Receiving objects:  52% (459/881)
Receiving objects:  53% (467/881)
Receiving objects:  54% (476/881)
Receiving objects:  55% (485/881)
Receiving objects:  56% (494/881)
Receiving objects:  57% (503/881)
Receiving objects:  58% (511/881)
Receiving objects:  59% (520/881)
Receiving objects:  60% (529/881)
Receiving objects:  61% (538/881)
Receiving objects:  62% (547/881)
Receiving objects:  63% (556/881)
Receiving objects:  64% (564/881)
Receiving objects:  65% (573/881)
Receiving objects:  66% (582/881)
Receiving objects:  67% (591/881)
Receiving objects:  68% (600/881)
Receiving objects:  69% (608/881)
Receiving objects:  70% (617/881)
Receiving objects:  71% (626/881)
Receiving objects:  72% (635/881)
Receiving objects:  73% (644/881)
Receiving objects:  74% (652/881)
Receiving objects:  75% (661/881)
Receiving objects:  76% (670/881)
Receiving objects:  77% (679/881)
Receiving objects:  78% (688/881)
Receiving objects:  79% (696/881)
Receiving objects:  80% (705/881)
Receiving objects:  81% (714/881)
Receiving objects:  82% (723/881)
Receiving objects:  83% (732/881)
Receiving objects:  84% (741/881)
Receiving objects:  85% (749/881)
Receiving objects:  86% (758/881)
Receiving objects:  87% (767/881)
Receiving objects:  88% (776/881)
Receiving objects:  89% (785/881)
Receiving objects:  90% (793/881)
Receiving objects:  91% (802/881)
Receiving objects:  92% (811/881)
Receiving objects:  93% (820/881)
Receiving objects:  94% (829/881)
Receiving objects:  95% (837/881)
Receiving objects:  96% (846/881)
Receiving objects:  97% (855/881)
remote: Total 881 (delta 0), reused 881 (delta 0)        Receiving objects:  98% (864/881)
Receiving objects:  99% (873/881)
Receiving objects: 100% (881/881)
Receiving objects: 100% (881/881), 4.17 MiB | 18.90 MiB/s, done.From https://diffinery.com/codician/diffinery * [new ref]         3252fb0662804110e1f195882af36ca08a2a35e4 -> origin/diffinery-checkoutNote: switching to '3252fb0662804110e1f195882af36ca08a2a35e4'.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 3252fb0 Merge 0ad2478b984e69fe02a838c8b560e42d8350e702 into 629b6aba6d52f56ed5cb049c8a8802e851efaea1HEAD is now at 3252fb0662804110e1f195882af36ca08a2a35e4
Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b13s
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 1, donedependencies:+ pnpm 10.28.0 (12.15.0 is available)Done in 1.2s##[endgroup]Installation Completed!
Run actions/setup-node@v46s
##[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-lockfile4s
##[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 245, downloaded 0, added 171Progress: resolved 251, reused 245, downloaded 0, added 251, done.../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js.../node_modules/workerd postinstall$ node install.js.../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js.../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js.../node_modules/workerd postinstall$ node install.js.../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.../node_modules/workerd postinstall: Done.../esbuild@0.25.12/node_modules/esbuild postinstall: Done.../esbuild@0.28.2/node_modules/esbuild postinstall: DonedevDependencies:+ turbo 2.11.7+ typescript 5.9.3Done in 3.8s using pnpm v10.28.0
Build3s
##[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 68msapps/cli build: Donecontainers/runner build:   dist/agent.mjs  684.1kbcontainers/runner build: ⚡ Done in 103mscontainers/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 (20 KiB), JetBrains plugin 0.1.0 (64 KiB), Claude Code plugins diffinery 0.1.3, diffinery-ci 0.2.3apps/diffinery build: Done
Unit tests44s
##[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/2apps/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.packages/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.apps/vscode test:  RUN  v4.1.11 /workspace/diffinery/apps/vscodepackages/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/workflow-yaml test:  RUN  v4.1.11 /workspace/diffinery/packages/workflow-yamlpackages/git-core test:  RUN  v4.1.11 /workspace/diffinery/packages/git-coreapps/vscode test:  ✓ test/repos.test.ts (6 tests) 10msapps/vscode test:  Test Files  1 passed (1)apps/vscode test:       Tests  6 passed (6)apps/vscode test:    Start at  19:36:08apps/vscode test:    Duration  278ms (transform 70ms, setup 0ms, import 98ms, tests 10ms, environment 0ms)apps/vscode test: Donepackages/workflow-yaml test:  ✓ test/cron.test.ts (23 tests) 26mspackages/workflow-yaml test:  ✓ test/expr.test.ts (48 tests) 50mspackages/workflow-yaml test:  ✓ test/parse.test.ts (31 tests) 111mspackages/workflow-yaml test:  Test Files  3 passed (3)packages/workflow-yaml test:       Tests  102 passed (102)packages/workflow-yaml test:    Start at  19:36:08packages/workflow-yaml test:    Duration  807ms (transform 639ms, setup 0ms, import 1.15s, tests 186ms, environment 0ms)packages/workflow-yaml test: Donepackages/git-core test:  ✓ test/merge-base.test.ts (3 tests) 637mspackages/git-core test:      ✓ is a best common ancestor, the only one when there is one, on random histories with and without clock skew  592mspackages/git-core test:  ✓ test/diff-budget.test.ts (5 tests) 718mspackages/git-core test:      ✓ a three-way merge too large to compute is a conflict, quickly  486mspackages/git-core test:  ✓ test/pack-stream.test.ts (3 tests) 143mspackages/git-core test:  ✓ test/pack-limits.test.ts (6 tests) 7376mspackages/git-core test:      ✓ resolves a long delta chain in one pass, whatever order the pack lists it in  4750mspackages/git-core test:      ✓ counts what each object costs in memory, not only its content  1843mspackages/git-core test:      ✓ refuses a small pack whose objects inflate past the memory budget  771mspackages/git-core test:  Test Files  4 passed (4)packages/git-core test:       Tests  17 passed (17)packages/git-core test:    Start at  19:36:08packages/git-core test:    Duration  8.21s (transform 879ms, setup 0ms, import 1.38s, tests 8.87s, environment 0ms)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/2containers/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.apps/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.containers/runner test:  RUN  v4.1.11 /workspace/diffinery/containers/runnerapps/cli test:  RUN  v4.1.11 /workspace/diffinery/apps/cliapps/diffinery test:  RUN  v4.1.11 /workspace/diffinery/apps/diffineryapps/diffinery test: (node:577) 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:566) 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/jail.test.ts (12 tests) 131msapps/diffinery test:  ✓ test/unit/usage.test.ts (23 tests) 286msapps/diffinery test: (node:613) 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/relay.test.ts (4 tests) 1136mscontainers/runner test:      ✓ answers a streamed PATCH (docker) like the registry would, then completes with an empty PUT  716msapps/cli test:  ✓ test/pr.test.ts (21 tests) 1573msapps/cli test:      ✓ pr view, checks, diff, comment, review, ready and merge default to the current branch's pull request  398msapps/cli test:      ✓ pr checks --watch waits for the first check right after a push, and gives up after 2 minutes  450msapps/cli test:  ✓ test/migrate.test.ts (4 tests) 1737msapps/cli test:      ✓ creates the repo, pushes branches and tags, and copies issues, PRs, variables and secret names  773msapps/cli test:      ✓ repo clone authenticates for that command only  481msapps/cli test:      ✓ --private and --to override the target  375msapps/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 191c572b0ddc4d2f92e8c94fec5df632 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 4a25e1bdd7b341b7942d8ba310eb304a 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 fe1a43287afb4e70b2c6fedf55aa5fe8 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 fe1a43287afb4e70b2c6fedf55aa5fe8 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: sending their completion events again 61b248511ea34b848e0d5dfe9ea6a6db 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 61b248511ea34b848e0d5dfe9ea6a6db waitingapps/diffinery test:  ✓ test/unit/runner-sizes.test.ts (22 tests) 666msapps/diffinery test:  ✓ test/unit/stuck-runs.test.ts (7 tests) 934msapps/cli test:  ✓ test/login.test.ts (12 tests) 401msapps/cli test:  ✓ test/misc.test.ts (9 tests) 419msapps/cli test:  ✓ test/setup.test.ts (16 tests) 2897msapps/cli test:      ✓ signs in through the browser, then sets up git, even when an agent runs it without a terminal  383msapps/cli test:      ✓ checks each part with the token from the environment, clones, reports, and writes no token to disk  621msapps/cli test:  Test Files  5 passed (5)apps/cli test:       Tests  62 passed (62)apps/cli test:    Start at  19:36:17apps/cli test:    Duration  4.67s (transform 2.60s, setup 0ms, import 4.77s, tests 7.03s, environment 1ms)apps/diffinery test: (node:1472) 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/cli test: Doneapps/diffinery test: (node:1599) 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/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) 172msapps/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) 218msapps/diffinery test:  ✓ test/unit/auto-merge.test.ts (28 tests) 1984msapps/diffinery test:  ✓ test/unit/review.test.ts (19 tests) 31msapps/diffinery test:  ✓ test/unit/today.test.ts (13 tests) 28msapps/diffinery test:  ✓ test/unit/job-permissions.test.ts (8 tests) 34msapps/diffinery test: (node:1906) 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) 4856mscontainers/runner test:      ✓ pushes history in chunks under a size limit the server enforces, then every ref, and cleans up  3386mscontainers/runner test:      ✓ pushes every version of a large file first and whole, so the server never rebuilds one from a delta  874mscontainers/runner test:      ✓ splits a refused batch of a large commit's files again, rather than retrying it whole  574msapps/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/diffinery test:  ✓ test/unit/apps.test.ts (8 tests) 381msapps/diffinery test: (node:2062) 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/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) 148msapps/diffinery test:  ✓ test/unit/coordinator.test.ts (8 tests) 15msapps/diffinery test:  ✓ test/unit/secret-scan.test.ts (7 tests) 1884msapps/diffinery test:      ✓ scans large blobs from their compressed bytes, slice by slice, with the same rules  305msapps/diffinery test:      ✓ scans a large file in slices, never as one string, with the same results  1496mscontainers/runner test:  ✓ test/docker-wrapper.test.ts (4 tests) 7975mscontainers/runner test:      ✓ lets docker commands that arrive while the daemon is starting through, with the head start on  1418mscontainers/runner test:      ✓ gives up with a message, not a hang, when the daemon never comes up  2309mscontainers/runner test:      ✓ starts the registry relay and the daemon together  2189mscontainers/runner test:      ✓ starts the daemon again without the relay when the relay never comes up  2056msapps/diffinery test:  ✓ test/unit/job-graph.test.ts (12 tests) 57msapps/diffinery test:  ✓ test/unit/project.test.ts (12 tests) 41msapps/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) 5516msapps/diffinery test:      ✓ answers 429 with retry-after once an anonymous address is over its limit  5483msapps/diffinery test: (node:2630) 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:2637) 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/visibility.test.ts (3 tests) 126msapps/diffinery test:  ✓ test/unit/job-token.test.ts (7 tests) 162msapps/diffinery test: (node:2650) 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) 159msapps/diffinery test:  ✓ test/unit/reusable.test.ts (4 tests) 23msapps/diffinery test:  ✓ test/unit/today-view.test.ts (5 tests) 30msapps/diffinery test:  ✓ test/unit/fsck.test.ts (16 tests) 644msapps/diffinery test:      ✓ refuses a tree too large to check, before reading its names  619msapps/diffinery test:  ✓ test/unit/markdown-safety.test.ts (31 tests) 3733msapps/diffinery test:      ✓ bounds the lookahead for many such paragraphs  936msapps/diffinery test:      ✓ renders many comment openers in linear time  1174msapps/diffinery test:  ✓ test/unit/rpc.test.ts (5 tests) 16msapps/diffinery test:  ✓ test/unit/required.test.ts (11 tests) 15msapps/diffinery test:  ✓ test/unit/registry-upload.test.ts (2 tests) 860msapps/diffinery test:      ✓ hash each chunk as it arrives, so the final request doesn't read the blob back  762msapps/diffinery test:  ✓ test/unit/deploy-log-notes.test.ts (2 tests) 519msapps/diffinery test:      ✓ repeats what the deploy printed, not the warnings its scripts could print  489msapps/diffinery test:  ✓ test/unit/push-retry.test.ts (5 tests) 12msapps/diffinery test:  ✓ test/unit/redirects.test.ts (9 tests) 8mscontainers/runner test:  ✓ test/prefetch.test.ts (4 tests) 12639mscontainers/runner test:      ✓ installs Go while the job's first steps run, and setup-go uses it  1784mscontainers/runner test:      ✓ leaves nothing behind when a download doesn't match its published checksum  10600msapps/diffinery test:  ✓ test/unit/timing.test.ts (2 tests) 44msapps/diffinery test:  ✓ test/unit/wait-timer.test.ts (5 tests) 8msapps/diffinery test:  ✓ test/unit/memory-pool.test.ts (3 tests) 12msapps/diffinery test:  ✓ test/unit/stages.test.ts (3 tests) 12msapps/diffinery test:  ✓ test/unit/upload-pack.test.ts (1 test) 994msapps/diffinery test:      ✓ sends each object as it is read, in side-band packets, never the whole pack at once  992msapps/diffinery test:  ✓ test/unit/org-variables.test.ts (2 tests) 11msapps/diffinery test:  ✓ test/unit/d1.test.ts (3 tests) 8msapps/diffinery test:  ✓ test/unit/environment-secrets.test.ts (4 tests) 6msapps/diffinery test:  ✓ test/unit/receive-head.test.ts (2 tests) 20msapps/diffinery test:  ✓ test/unit/job-secrets.test.ts (4 tests) 7msapps/diffinery test:  ✓ test/unit/tree-names.test.ts (5 tests) 6msapps/diffinery test: (node:2952) 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) 40msapps/diffinery test:  ✓ test/unit/archive-stream.test.ts (3 tests) 466msapps/diffinery test:      ✓ refuse more entries than classic zip can hold instead of writing a broken archive  343msapps/diffinery test:  ✓ test/unit/terminal-command.test.ts (1 test) 8msapps/diffinery test:  ✓ test/unit/unpack-failure.test.ts (2 tests) 5msapps/diffinery test:  ✓ test/unit/graphql.test.ts (3 tests) 10msapps/diffinery test:  Test Files  45 passed (45)apps/diffinery test:       Tests  348 passed (348)apps/diffinery test:    Start at  19:36:17apps/diffinery test:    Duration  18.26s (transform 12.69s, setup 0ms, import 21.14s, tests 20.36s, environment 10ms)apps/diffinery test: Donecontainers/runner test:  ✓ test/docker.test.ts (4 tests) 24326mscontainers/runner test:      ✓ runs steps and JavaScript actions in a job container next to a service container  13279mscontainers/runner test:      ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints  5769mscontainers/runner test:      ✓ fails a service that never gets healthy, and cleans up  4811mscontainers/runner test:      ✓ explains that containers need Docker  461mscontainers/runner test:  Test Files  6 passed (6)containers/runner test:       Tests  35 passed (35)containers/runner test:    Start at  19:36:17containers/runner test:    Duration  34.14s (transform 2.30s, setup 0ms, import 7.36s, tests 51.06s, environment 1ms)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@v40s
Removing persisted credentials

Job summary

Vitest Test Report

Summary

  • Test Files: ✅ 1 pass · 1 total
  • Test Results: ✅ 6 passes · 6 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: ✅ 45 passes · 45 total
  • Test Results: ✅ 348 passes · 348 total

Vitest Test Report

Summary

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