Unit tests (1/2)
took 1m 6s Raw logs
Matrix: shard: 1
Cancelled
cancelled by a newer run in the same concurrency group
Set up job
Diffinery runner: job test (Unit tests (1/2)) for codician/diffinery@094cbc355643Runner: image diffinery-runner:0d9b89e0a449e5faecf2b19c, in cdg12, WEUR, container ddc980baa4e5574d94e26b7b94b94bbd1f6cd43af0b1d87d0d037dae86de281eRunner 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/diffinery
Run actions/checkout@v41s
##[group]Run actions/checkout@v4##[endgroup]Syncing repository: codician/diffineryFetching the repository (depth 1)remote: Enumerating objects: 628, done. Receiving objects: 0% (1/628) Receiving objects: 1% (7/628) Receiving objects: 2% (13/628) Receiving objects: 3% (19/628) Receiving objects: 4% (26/628) Receiving objects: 5% (32/628) Receiving objects: 6% (38/628) Receiving objects: 7% (44/628) Receiving objects: 8% (51/628) Receiving objects: 9% (57/628) Receiving objects: 10% (63/628) Receiving objects: 11% (70/628) Receiving objects: 12% (76/628) Receiving objects: 13% (82/628) Receiving objects: 14% (88/628) Receiving objects: 15% (95/628) Receiving objects: 16% (101/628) Receiving objects: 17% (107/628) Receiving objects: 18% (114/628) Receiving objects: 19% (120/628) Receiving objects: 20% (126/628) Receiving objects: 21% (132/628) Receiving objects: 22% (139/628) Receiving objects: 23% (145/628) Receiving objects: 24% (151/628) Receiving objects: 25% (157/628) Receiving objects: 26% (164/628) Receiving objects: 27% (170/628) Receiving objects: 28% (176/628) Receiving objects: 29% (183/628) Receiving objects: 30% (189/628) Receiving objects: 31% (195/628) Receiving objects: 32% (201/628) Receiving objects: 33% (208/628) Receiving objects: 34% (214/628) Receiving objects: 35% (220/628) Receiving objects: 36% (227/628) Receiving objects: 37% (233/628) Receiving objects: 38% (239/628) Receiving objects: 39% (245/628) Receiving objects: 40% (252/628) Receiving objects: 41% (258/628) Receiving objects: 42% (264/628) Receiving objects: 43% (271/628) Receiving objects: 44% (277/628) Receiving objects: 45% (283/628) Receiving objects: 46% (289/628) Receiving objects: 47% (296/628) Receiving objects: 48% (302/628) Receiving objects: 49% (308/628) Receiving objects: 50% (314/628) Receiving objects: 51% (321/628) Receiving objects: 52% (327/628) Receiving objects: 53% (333/628) Receiving objects: 54% (340/628) Receiving objects: 55% (346/628) Receiving objects: 56% (352/628) Receiving objects: 57% (358/628) Receiving objects: 58% (365/628) Receiving objects: 59% (371/628) Receiving objects: 60% (377/628) Receiving objects: 61% (384/628) Receiving objects: 62% (390/628) Receiving objects: 63% (396/628) Receiving objects: 64% (402/628) Receiving objects: 65% (409/628) Receiving objects: 66% (415/628) Receiving objects: 67% (421/628) Receiving objects: 68% (428/628) Receiving objects: 69% (434/628) Receiving objects: 70% (440/628) Receiving objects: 71% (446/628) Receiving objects: 72% (453/628) Receiving objects: 73% (459/628) Receiving objects: 74% (465/628) Receiving objects: 75% (471/628) Receiving objects: 76% (478/628) Receiving objects: 77% (484/628) Receiving objects: 78% (490/628) Receiving objects: 79% (497/628) Receiving objects: 80% (503/628) Receiving objects: 81% (509/628) Receiving objects: 82% (515/628) Receiving objects: 83% (522/628) Receiving objects: 84% (528/628) Receiving objects: 85% (534/628) Receiving objects: 86% (541/628) Receiving objects: 87% (547/628) Receiving objects: 88% (553/628) Receiving objects: 89% (559/628) Receiving objects: 90% (566/628) Receiving objects: 91% (572/628) Receiving objects: 92% (578/628) Receiving objects: 93% (585/628) Receiving objects: 94% (591/628) Receiving objects: 95% (597/628) Receiving objects: 96% (603/628) remote: Total 628 (delta 0), reused 628 (delta 0) Receiving objects: 97% (610/628) Receiving objects: 98% (616/628) Receiving objects: 99% (622/628) Receiving objects: 100% (628/628) Receiving objects: 100% (628/628), 2.57 MiB | 16.54 MiB/s, done.From https://diffinery.com/codician/diffinery * [new ref] 094cbc3556435b43ea04f7b08232f1bba699a342 -> origin/mainSwitched to a new branch 'main'HEAD is now at 094cbc3556435b43ea04f7b08232f1bba699a342
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.14.0 is available)Done in 2s##[endgroup]Installation Completed!
Run actions/setup-node@v414s
##[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 (226515969 B)Cache restored from key: node-cache-Linux-x64-pnpm-aa519d0d5d7e5a224fb440987e5331e1cb7b3a95e67805db372d6def9572f2b0
Run pnpm install --frozen-lockfile18s
##[group]Run pnpm install --frozen-lockfile##[endgroup]Scope: all 7 workspace projectsLockfile is up to date, resolution step is skippedProgress: resolved 1, reused 0, downloaded 0, added 0Packages: +249++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Progress: resolved 249, reused 243, downloaded 0, added 170Progress: resolved 249, reused 243, downloaded 0, added 249, donedevDependencies:+ turbo 2.11.7+ typescript 5.9.3Done in 17.4s using pnpm v10.28.0
Build3s
##[group]Run pnpm -r --if-present build##[endgroup]Scope: 6 of 7 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);"containers/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/diffinery build$ node islands/build.mjs && node scripts/build-docs.mjsapps/cli build: dist/diffinery.mjs 445.1kbapps/cli build: ⚡ Done in 126msapps/cli build: Donecontainers/runner build: dist/agent.mjs 666.9kbcontainers/runner build: ⚡ Done in 177mscontainers/runner build: Doneapps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KBapps/diffinery build: docs: 65 pages (+2 generated at runtime), CLI 0.1.0 (234 KiB)apps/diffinery build: Done
Unit tests235h 48m
##[group]Run pnpm -r --if-present run test --shard=1/2##[endgroup]Scope: 6 of 7 workspace projectspackages/git-core test$ vitest run --shard=1/2packages/workflow-yaml test$ vitest run --shard=1/2packages/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-yamlpackages/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-corepackages/workflow-yaml test: ✓ test/cron.test.ts (23 tests) 38mspackages/workflow-yaml test: ✓ test/expr.test.ts (48 tests) 71mspackages/workflow-yaml test: ✓ test/parse.test.ts (31 tests) 167mspackages/workflow-yaml test: Test Files 3 passed (3)packages/workflow-yaml test: Tests 102 passed (102)packages/workflow-yaml test: Start at 14:56:03packages/workflow-yaml test: Duration 1.19s (transform 1.10s, setup 0ms, import 1.85s, tests 276ms, environment 1ms)packages/workflow-yaml test: Donepackages/git-core test: ✓ test/pack-stream.test.ts (3 tests) 281mspackages/git-core test: ✓ test/diff-budget.test.ts (5 tests) 1090mspackages/git-core test: ✓ a file rewritten from scratch is diffed in one pass, as one replaced block 389mspackages/git-core test: ✓ a three-way merge too large to compute is a conflict, quickly 678mspackages/git-core test: ✓ test/pack-limits.test.ts (6 tests) 12216mspackages/git-core test: ✓ resolves a long delta chain in one pass, whatever order the pack lists it in 7143mspackages/git-core test: ✓ counts what each object costs in memory, not only its content 2593mspackages/git-core test: ✓ refuses a small pack whose objects inflate past the memory budget 2417mspackages/git-core test: Test Files 3 passed (3)packages/git-core test: Tests 14 passed (14)packages/git-core test: Start at 14:56:03packages/git-core test: Duration 13.30s (transform 1.26s, setup 0ms, import 1.84s, tests 13.59s, 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/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.containers/runner test: RUN v4.1.11 /workspace/diffinery/containers/runnerapps/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/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: RUN v4.1.11 /workspace/diffinery/apps/diffineryapps/cli test: RUN v4.1.11 /workspace/diffinery/apps/cliapps/diffinery test: (node:429) 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:417) 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) 398msapps/diffinery test: ✓ test/unit/usage.test.ts (23 tests) 329msapps/cli test: ✓ test/login.test.ts (12 tests) 601msapps/diffinery test: (node:472) 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) 1555mscontainers/runner test: ✓ splits a single-PUT upload (containerd) into PATCH chunks under the limit 489mscontainers/runner test: ✓ answers a streamed PATCH (docker) like the registry would, then completes with an empty PUT 823msapps/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) 607msapps/cli test: ✓ test/migrate.test.ts (4 tests) 2386msapps/cli test: ✓ creates the repo, pushes branches and tags, and copies issues, PRs, variables and secret names 722msapps/cli test: ✓ repo clone authenticates for that command only 870msapps/cli test: ✓ --private and --to override the target 528msapps/cli test: ✓ test/misc.test.ts (9 tests) 634msapps/cli test: ✓ test/pr.test.ts (19 tests) 2578msapps/cli test: ✓ pr create infers the repo from origin and the head from the current branch 357msapps/cli test: ✓ pr view, checks, diff, comment, review, ready and merge default to the current branch's pull request 487msapps/cli test: ✓ pr checks --watch waits for the first check right after a push, and gives up after 2 minutes 974msapps/cli test: Test Files 4 passed (4)apps/cli test: Tests 44 passed (44)apps/cli test: Start at 14:56:17apps/cli test: Duration 5.09s (transform 3.17s, setup 0ms, import 6.03s, tests 6.20s, environment 2ms)apps/cli test: Donecontainers/runner test: ✓ test/runtime.test.ts (11 tests) 2737mscontainers/runner test: ✓ writes archives unzip reads, and reads archives zip writes 348mscontainers/runner test: ✓ uploads large files as blocks, small ones in one request, and downloads them back 2248msapps/diffinery test: (node:922) 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/runner-sizes.test.ts (19 tests) 866msapps/diffinery test: ✓ runs a first job large, then sizes it by what it used 462msapps/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) 310msapps/diffinery test: ✓ test/unit/review.test.ts (19 tests) 49msapps/diffinery test: (node:1142) 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/rerun.test.ts (10 tests) 1820msapps/diffinery test: ✓ keeps the legs that passed and re-runs the failed and cancelled ones, with what depends on them 598msapps/diffinery test: ✓ test/unit/job-permissions.test.ts (8 tests) 66msapps/diffinery test: ✓ test/unit/auto-merge.test.ts (12 tests) 723msapps/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:89:67)apps/diffinery test: at overLimit (/workspace/diffinery/apps/diffinery/src/lib/rate-limit.ts:71:22)apps/diffinery test: at /workspace/diffinery/apps/diffinery/test/unit/rate-limit.test.ts:90:18apps/diffinery test: at process.processTicksAndRejections (node:internal/process/task_queues:105:5)apps/diffinery test: (node:1266) 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/today.test.ts (10 tests) 49msapps/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) 371ms