2026-10-25T19:06:52.405Z Diffinery runner: job test (Unit tests (1/2)) for codician/diffinery@d0ee23440638 2026-10-25T19:06:52.422Z Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in lhr16, WEUR, container b2393e07cfccaaa3cf34e508e21decdca99dfab6cbf50acea3c1ec0f737ca6cf 2026-10-25T19:06:52.422Z Runner 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 size 2026-10-25T19:06:52.422Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-25T19:06:52.423Z Workspace: /workspace/diffinery 2026-10-25T19:06:52.510Z ##[group]Run actions/checkout@v4 2026-10-25T19:06:52.510Z ##[endgroup] 2026-10-25T19:06:52.513Z Syncing repository: codician/diffinery 2026-10-25T19:06:52.625Z Fetching the repository (depth 1) 2026-10-25T19:06:53.508Z remote: Enumerating objects: 879, done. 2026-10-25T19:06:53.692Z Receiving objects: 0% (1/879) Receiving objects: 1% (9/879) Receiving objects: 2% (18/879) Receiving objects: 3% (27/879) Receiving objects: 4% (36/879) Receiving objects: 5% (44/879) Receiving objects: 6% (53/879) Receiving objects: 7% (62/879) Receiving objects: 8% (71/879) Receiving objects: 9% (80/879) Receiving objects: 10% (88/879) Receiving objects: 11% (97/879) Receiving objects: 12% (106/879) Receiving objects: 13% (115/879) Receiving objects: 14% (124/879) Receiving objects: 15% (132/879) Receiving objects: 16% (141/879) Receiving objects: 17% (150/879) Receiving objects: 18% (159/879) Receiving objects: 19% (168/879) Receiving objects: 20% (176/879) Receiving objects: 21% (185/879) Receiving objects: 22% (194/879) Receiving objects: 23% (203/879) Receiving objects: 24% (211/879) Receiving objects: 25% (220/879) Receiving objects: 26% (229/879) Receiving objects: 27% (238/879) Receiving objects: 28% (247/879) Receiving objects: 29% (255/879) Receiving objects: 30% (264/879) Receiving objects: 31% (273/879) Receiving objects: 32% (282/879) Receiving objects: 33% (291/879) Receiving objects: 34% (299/879) Receiving objects: 35% (308/879) Receiving objects: 36% (317/879) Receiving objects: 37% (326/879) Receiving objects: 38% (335/879) Receiving objects: 39% (343/879) Receiving objects: 40% (352/879) Receiving objects: 41% (361/879) Receiving objects: 42% (370/879) Receiving objects: 43% (378/879) Receiving objects: 44% (387/879) Receiving objects: 45% (396/879) Receiving objects: 46% (405/879) Receiving objects: 47% (414/879) Receiving objects: 48% (422/879) Receiving objects: 49% (431/879) Receiving objects: 50% (440/879) Receiving objects: 51% (449/879) Receiving objects: 52% (458/879) Receiving objects: 53% (466/879) Receiving objects: 54% (475/879) Receiving objects: 55% (484/879) Receiving objects: 56% (493/879) Receiving objects: 57% (502/879) Receiving objects: 58% (510/879) Receiving objects: 59% (519/879) Receiving objects: 60% (528/879) Receiving objects: 61% (537/879) Receiving objects: 62% (545/879) Receiving objects: 63% (554/879) Receiving objects: 64% (563/879) Receiving objects: 65% (572/879) Receiving objects: 66% (581/879) Receiving objects: 67% (589/879) Receiving objects: 68% (598/879) Receiving objects: 69% (607/879) Receiving objects: 70% (616/879) Receiving objects: 71% (625/879) Receiving objects: 72% (633/879) Receiving objects: 73% (642/879) Receiving objects: 74% (651/879) Receiving objects: 75% (660/879) Receiving objects: 76% (669/879) Receiving objects: 77% (677/879) Receiving objects: 78% (686/879) Receiving objects: 79% (695/879) Receiving objects: 80% (704/879) Receiving objects: 81% (712/879) Receiving objects: 82% (721/879) Receiving objects: 83% (730/879) Receiving objects: 84% (739/879) Receiving objects: 85% (748/879) Receiving objects: 86% (756/879) Receiving objects: 87% (765/879) Receiving objects: 88% (774/879) Receiving objects: 89% (783/879) Receiving objects: 90% (792/879) Receiving objects: 91% (800/879) Receiving objects: 92% (809/879) Receiving objects: 93% (818/879) Receiving objects: 94% (827/879) Receiving objects: 95% (836/879) Receiving objects: 96% (844/879) Receiving objects: 97% (853/879) remote: Total 879 (delta 0), reused 879 (delta 0) 2026-10-25T19:06:53.694Z Receiving objects: 98% (862/879) Receiving objects: 99% (871/879) Receiving objects: 100% (879/879) Receiving objects: 100% (879/879), 4.11 MiB | 24.63 MiB/s, done. 2026-10-25T19:06:53.717Z From https://diffinery.com/codician/diffinery 2026-10-25T19:06:53.717Z * [new ref] d0ee234406384a97845981a0bb1d89aff2d6538f -> origin/diffinery-checkout 2026-10-25T19:06:53.843Z Note: switching to 'd0ee234406384a97845981a0bb1d89aff2d6538f'. 2026-10-25T19:06:53.843Z 2026-10-25T19:06:53.843Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-25T19:06:53.843Z changes and commit them, and you can discard any commits you make in this 2026-10-25T19:06:53.843Z state without impacting any branches by switching back to a branch. 2026-10-25T19:06:53.843Z 2026-10-25T19:06:53.843Z If you want to create a new branch to retain commits you create, you may 2026-10-25T19:06:53.843Z do so (now or later) by using -c with the switch command. Example: 2026-10-25T19:06:53.843Z 2026-10-25T19:06:53.843Z git switch -c 2026-10-25T19:06:53.843Z 2026-10-25T19:06:53.843Z Or undo this operation with: 2026-10-25T19:06:53.843Z 2026-10-25T19:06:53.843Z git switch - 2026-10-25T19:06:53.843Z 2026-10-25T19:06:53.843Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-25T19:06:53.843Z 2026-10-25T19:06:53.843Z HEAD is now at d0ee234 Merge d8fccd8b836f65641093e7b43d918cce9d01976a into 0d34592106d7b0e0c97c4cd3052029dae5a2317a 2026-10-25T19:06:53.849Z HEAD is now at d0ee234406384a97845981a0bb1d89aff2d6538f 2026-10-25T19:06:54.569Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-25T19:06:55.137Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-25T19:06:55.138Z with: 2026-10-25T19:06:55.138Z dest: ~/setup-pnpm 2026-10-25T19:06:55.138Z run_install: null 2026-10-25T19:06:55.138Z cache: false 2026-10-25T19:06:55.138Z cache_dependency_path: pnpm-lock.yaml 2026-10-25T19:06:55.138Z package_json_file: package.json 2026-10-25T19:06:55.138Z standalone: false 2026-10-25T19:06:55.138Z ##[endgroup] 2026-10-25T19:06:55.359Z ##[group]Running self-installer... 2026-10-25T19:06:56.552Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-25T19:06:56.562Z Packages: +1 2026-10-25T19:06:56.562Z + 2026-10-25T19:06:57.507Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-25T19:06:57.581Z 2026-10-25T19:06:57.581Z dependencies: 2026-10-25T19:06:57.582Z + pnpm 10.28.0 (12.15.0 is available) 2026-10-25T19:06:57.582Z 2026-10-25T19:06:57.588Z Done in 1.8s 2026-10-25T19:06:57.623Z ##[endgroup] 2026-10-25T19:06:57.624Z Installation Completed! 2026-10-25T19:06:57.759Z ##[group]Run actions/setup-node@v4 2026-10-25T19:06:57.759Z with: 2026-10-25T19:06:57.759Z node-version: 22 2026-10-25T19:06:57.759Z cache: pnpm 2026-10-25T19:06:57.759Z ##[endgroup] 2026-10-25T19:06:57.771Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-25T19:06:59.108Z Cache Size: ~216 MB (226934503 B) 2026-10-25T19:07:07.161Z Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b 2026-10-25T19:07:07.286Z ##[group]Run pnpm install --frozen-lockfile 2026-10-25T19:07:07.286Z ##[endgroup] 2026-10-25T19:07:07.833Z Scope: all 8 workspace projects 2026-10-25T19:07:07.923Z Lockfile is up to date, resolution step is skipped 2026-10-25T19:07:07.998Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-25T19:07:08.051Z Packages: +251 2026-10-25T19:07:08.051Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-25T19:07:09.000Z Progress: resolved 251, reused 245, downloaded 0, added 54 2026-10-25T19:07:10.007Z Progress: resolved 251, reused 245, downloaded 0, added 172 2026-10-25T19:07:10.791Z Progress: resolved 251, reused 245, downloaded 0, added 251, done 2026-10-25T19:07:11.172Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-25T19:07:11.175Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-25T19:07:11.177Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-25T19:07:11.179Z .../node_modules/workerd postinstall$ node install.js 2026-10-25T19:07:11.181Z .../node_modules/workerd postinstall$ node install.js 2026-10-25T19:07:11.331Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-25T19:07:11.365Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-25T19:07:11.406Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-25T19:07:11.646Z .../node_modules/workerd postinstall: Done 2026-10-25T19:07:11.648Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-25T19:07:11.883Z .../node_modules/workerd postinstall: Done 2026-10-25T19:07:11.897Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-25T19:07:12.512Z 2026-10-25T19:07:12.512Z devDependencies: 2026-10-25T19:07:12.512Z + turbo 2.11.7 2026-10-25T19:07:12.512Z + typescript 5.9.3 2026-10-25T19:07:12.512Z 2026-10-25T19:07:13.263Z Done in 5.8s using pnpm v10.28.0 2026-10-25T19:07:13.993Z ##[group]Run pnpm -r --if-present build 2026-10-25T19:07:13.993Z ##[endgroup] 2026-10-25T19:07:14.430Z Scope: 7 of 8 workspace projects 2026-10-25T19:07:14.435Z apps/cli build$ esbuild src/bin.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/diffinery.mjs "--banner:js=#!/usr/bin/env node 2026-10-25T19:07:14.435Z import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);" 2026-10-25T19:07:14.436Z apps/diffinery build$ node islands/build.mjs && node scripts/build-docs.mjs 2026-10-25T19:07:14.436Z 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);" 2026-10-25T19:07:14.545Z apps/cli build: dist/diffinery.mjs 468.9kb 2026-10-25T19:07:14.545Z apps/cli build: ⚡ Done in 78ms 2026-10-25T19:07:14.546Z apps/cli build: Done 2026-10-25T19:07:14.594Z containers/runner build: dist/agent.mjs 684.1kb 2026-10-25T19:07:14.594Z containers/runner build: ⚡ Done in 110ms 2026-10-25T19:07:14.599Z containers/runner build: Done 2026-10-25T19:07:17.167Z apps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KB 2026-10-25T19:07:17.887Z apps/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.3 2026-10-25T19:07:17.907Z apps/diffinery build: Done 2026-10-25T19:07:18.306Z ##[group]Run pnpm -r --if-present run test --shard=1/2 2026-10-25T19:07:18.306Z ##[endgroup] 2026-10-25T19:07:18.723Z Scope: 7 of 8 workspace projects 2026-10-25T19:07:18.730Z apps/vscode test$ vitest run --shard=1/2 2026-10-25T19:07:18.730Z packages/git-core test$ vitest run --shard=1/2 2026-10-25T19:07:18.730Z packages/workflow-yaml test$ vitest run --shard=1/2 2026-10-25T19:07:19.206Z 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: 2026-10-25T19:07:19.207Z packages/workflow-yaml test: - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-25T19:07:19.208Z packages/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.json 2026-10-25T19:07:19.212Z packages/workflow-yaml test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-25T19:07:19.213Z apps/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: 2026-10-25T19:07:19.214Z 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.json 2026-10-25T19:07:19.215Z apps/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.json 2026-10-25T19:07:19.215Z apps/vscode test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-25T19:07:19.216Z packages/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: 2026-10-25T19:07:19.216Z packages/git-core test: - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-25T19:07:19.216Z packages/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.json 2026-10-25T19:07:19.217Z packages/git-core test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-25T19:07:19.241Z packages/git-core test: RUN v4.1.11 /workspace/diffinery/packages/git-core 2026-10-25T19:07:19.257Z packages/workflow-yaml test: RUN v4.1.11 /workspace/diffinery/packages/workflow-yaml 2026-10-25T19:07:19.292Z apps/vscode test: RUN v4.1.11 /workspace/diffinery/apps/vscode 2026-10-25T19:07:19.829Z apps/vscode test: ✓ test/repos.test.ts (6 tests) 25ms 2026-10-25T19:07:19.837Z apps/vscode test: Test Files 1 passed (1) 2026-10-25T19:07:19.837Z apps/vscode test: Tests 6 passed (6) 2026-10-25T19:07:19.837Z apps/vscode test: Start at 19:07:19 2026-10-25T19:07:19.837Z apps/vscode test: Duration 526ms (transform 120ms, setup 0ms, import 168ms, tests 25ms, environment 0ms) 2026-10-25T19:07:19.910Z apps/vscode test: Done 2026-10-25T19:07:20.137Z packages/workflow-yaml test: ✓ test/cron.test.ts (23 tests) 47ms 2026-10-25T19:07:20.137Z packages/workflow-yaml test: ✓ test/expr.test.ts (48 tests) 47ms 2026-10-25T19:07:20.341Z packages/workflow-yaml test: ✓ test/parse.test.ts (31 tests) 140ms 2026-10-25T19:07:20.351Z packages/workflow-yaml test: Test Files 3 passed (3) 2026-10-25T19:07:20.351Z packages/workflow-yaml test: Tests 102 passed (102) 2026-10-25T19:07:20.351Z packages/workflow-yaml test: Start at 19:07:19 2026-10-25T19:07:20.351Z packages/workflow-yaml test: Duration 1.08s (transform 647ms, setup 0ms, import 1.28s, tests 235ms, environment 0ms) 2026-10-25T19:07:20.396Z packages/workflow-yaml test: Done 2026-10-25T19:07:21.173Z packages/git-core test: ✓ test/merge-base.test.ts (3 tests) 936ms 2026-10-25T19:07:21.174Z packages/git-core test: ✓ is a best common ancestor, the only one when there is one, on random histories with and without clock skew 835ms 2026-10-25T19:07:21.311Z packages/git-core test: ✓ test/diff-budget.test.ts (5 tests) 1082ms 2026-10-25T19:07:21.312Z packages/git-core test: ✓ a file rewritten from scratch is diffed in one pass, as one replaced block 367ms 2026-10-25T19:07:21.316Z packages/git-core test: ✓ a three-way merge too large to compute is a conflict, quickly 704ms 2026-10-25T19:07:21.693Z packages/git-core test: ✓ test/pack-stream.test.ts (3 tests) 160ms 2026-10-25T19:07:40.323Z packages/git-core test: ✓ test/pack-limits.test.ts (6 tests) 20079ms 2026-10-25T19:07:40.323Z packages/git-core test: ✓ resolves a long delta chain in one pass, whatever order the pack lists it in 13257ms 2026-10-25T19:07:40.323Z packages/git-core test: ✓ counts what each object costs in memory, not only its content 5943ms 2026-10-25T19:07:40.323Z packages/git-core test: ✓ refuses a small pack whose objects inflate past the memory budget 839ms 2026-10-25T19:07:40.331Z packages/git-core test: Test Files 4 passed (4) 2026-10-25T19:07:40.331Z packages/git-core test: Tests 17 passed (17) 2026-10-25T19:07:40.331Z packages/git-core test: Start at 19:07:19 2026-10-25T19:07:40.333Z packages/git-core test: Duration 21.08s (transform 665ms, setup 0ms, import 1.32s, tests 22.26s, environment 2ms) 2026-10-25T19:07:40.402Z packages/git-core test: Done 2026-10-25T19:07:40.406Z apps/cli test$ vitest run --shard=1/2 2026-10-25T19:07:40.406Z apps/diffinery test$ vitest run --passWithNoTests --exclude 'test/e2e/**' --shard=1/2 2026-10-25T19:07:40.407Z containers/runner test$ vitest run --shard=1/2 2026-10-25T19:07:40.932Z 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: 2026-10-25T19:07:40.932Z apps/cli test: - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-25T19:07:40.932Z apps/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.json 2026-10-25T19:07:40.932Z apps/cli test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-25T19:07:40.960Z 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: 2026-10-25T19:07:40.960Z apps/diffinery test: - import "../../vitest.shared" without a file extension (vitest.config.ts:3:26). Add the file extension 2026-10-25T19:07:40.961Z apps/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.json 2026-10-25T19:07:40.961Z apps/diffinery test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-25T19:07:40.973Z apps/cli test: RUN v4.1.11 /workspace/diffinery/apps/cli 2026-10-25T19:07:41.033Z containers/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: 2026-10-25T19:07:41.033Z containers/runner test: - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-25T19:07:41.033Z containers/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.json 2026-10-25T19:07:41.033Z containers/runner test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-25T19:07:41.064Z apps/diffinery test: RUN v4.1.11 /workspace/diffinery/apps/diffinery 2026-10-25T19:07:41.117Z containers/runner test: RUN v4.1.11 /workspace/diffinery/containers/runner 2026-10-25T19:07:42.033Z apps/diffinery test: (node:577) ExperimentalWarning: SQLite is an experimental feature and might change at any time 2026-10-25T19:07:42.035Z apps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created) 2026-10-25T19:07:42.207Z apps/diffinery test: (node:583) ExperimentalWarning: SQLite is an experimental feature and might change at any time 2026-10-25T19:07:42.208Z apps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created) 2026-10-25T19:07:42.529Z containers/runner test: ✓ test/jail.test.ts (12 tests) 272ms 2026-10-25T19:07:42.676Z apps/diffinery test: ✓ test/unit/usage.test.ts (23 tests) 188ms 2026-10-25T19:07:43.332Z apps/diffinery test: (node:626) ExperimentalWarning: SQLite is an experimental feature and might change at any time 2026-10-25T19:07:43.332Z apps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created) 2026-10-25T19:07:52.338Z containers/runner test: ✓ test/relay.test.ts (4 tests) 8837ms 2026-10-25T19:07:52.338Z containers/runner test: ✓ splits a single-PUT upload (containerd) into PATCH chunks under the limit 7856ms 2026-10-25T19:07:52.340Z containers/runner test: ✓ answers a streamed PATCH (docker) like the registry would, then completes with an empty PUT 778ms 2026-10-25T19:07:52.377Z 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 starts 2026-10-25T19:07:52.377Z apps/diffinery test: failed to notify workflow Error: network connection lost 2026-10-25T19:07:52.378Z apps/diffinery test: at Object.sendEvent (/workspace/diffinery/apps/diffinery/test/unit/stuck-runs.test.ts:85:31) 2026-10-25T19:07:52.379Z apps/diffinery test: at Actions.completeJob (/workspace/diffinery/apps/diffinery/src/repo/actions.ts:2739:22) 2026-10-25T19:07:52.380Z apps/diffinery test: at Object.runTest (/workspace/diffinery/apps/diffinery/test/unit/stuck-runs.test.ts:102:5) 2026-10-25T19:07:52.383Z apps/diffinery test: at /workspace/diffinery/apps/diffinery/test/unit/stuck-runs.test.ts:119:5 2026-10-25T19:07:52.385Z 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:20 2026-10-25T19:07:52.389Z 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 starts 2026-10-25T19:07:52.389Z apps/diffinery test: run stuck after its jobs finished: sending their completion events again d4bdc37813574fe9b84db5c86f04c928 waiting 2026-10-25T19:07:52.612Z apps/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 nothing 2026-10-25T19:07:52.612Z apps/diffinery test: run stuck after its jobs finished: finishing it 3dbabadc1b384fc4934ea898165c1128 errored 2026-10-25T19:07:52.795Z apps/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 alive 2026-10-25T19:07:52.795Z apps/diffinery test: run stuck after its jobs finished: sending their completion events again eb3d4c6bc2a740e6b591f9d064472a73 waiting 2026-10-25T19:07:52.796Z apps/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 alive 2026-10-25T19:07:52.796Z apps/diffinery test: run stuck after its jobs finished: finishing it eb3d4c6bc2a740e6b591f9d064472a73 waiting 2026-10-25T19:07:52.800Z apps/diffinery test: ✓ test/unit/runner-sizes.test.ts (22 tests) 767ms 2026-10-25T19:07:52.800Z apps/diffinery test: ✓ runs a first job large, then sizes it by what it used 301ms 2026-10-25T19:07:52.830Z apps/cli test: ✓ test/migrate.test.ts (4 tests) 9202ms 2026-10-25T19:07:52.836Z apps/cli test: ✓ creates the repo, pushes branches and tags, and copies issues, PRs, variables and secret names 8025ms 2026-10-25T19:07:52.836Z apps/cli test: ✓ repo clone authenticates for that command only 597ms 2026-10-25T19:07:52.836Z apps/cli test: ✓ --private and --to override the target 383ms 2026-10-25T19:07:52.873Z apps/cli test: ✓ test/pr.test.ts (21 tests) 9232ms 2026-10-25T19:07:52.875Z apps/cli test: ✓ pr create infers the repo from origin and the head from the current branch 7693ms 2026-10-25T19:07:52.876Z apps/cli test: ✓ pr view, checks, diff, comment, review, ready and merge default to the current branch's pull request 328ms 2026-10-25T19:07:52.879Z apps/cli test: ✓ pr checks --watch waits for the first check right after a push, and gives up after 2 minutes 521ms 2026-10-25T19:07:53.051Z apps/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 group 2026-10-25T19:07:53.051Z apps/diffinery test: run stuck after its jobs finished: sending their completion events again 376a7a0bc751400db712b978ac2c338a waiting 2026-10-25T19:07:53.051Z apps/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 group 2026-10-25T19:07:53.051Z apps/diffinery test: run stuck after its jobs finished: finishing it 376a7a0bc751400db712b978ac2c338a waiting 2026-10-25T19:07:53.472Z apps/diffinery test: ✓ test/unit/stuck-runs.test.ts (7 tests) 1431ms 2026-10-25T19:07:53.472Z apps/diffinery test: ✓ a lost job event is sent again, so the run's workflow carries on and the next run in the group starts 403ms 2026-10-25T19:07:53.834Z apps/diffinery test: (node:1247) ExperimentalWarning: SQLite is an experimental feature and might change at any time 2026-10-25T19:07:53.834Z apps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created) 2026-10-25T19:07:54.046Z apps/cli test: ✓ test/login.test.ts (12 tests) 423ms 2026-10-25T19:07:54.098Z apps/diffinery test: ✓ test/unit/auto-merge.test.ts (28 tests) 2315ms 2026-10-25T19:07:54.206Z apps/diffinery test: (node:1464) ExperimentalWarning: SQLite is an experimental feature and might change at any time 2026-10-25T19:07:54.206Z apps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created) 2026-10-25T19:07:54.208Z apps/cli test: ✓ test/misc.test.ts (9 tests) 377ms 2026-10-25T19:07:54.273Z apps/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 nothing 2026-10-25T19:07:54.274Z apps/diffinery test: email failed test Ann@Example.com E_RECIPIENT_SUPPRESSED: recipient is suppressed 2026-10-25T19:07:54.290Z apps/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 nothing 2026-10-25T19:07:54.290Z apps/diffinery test: email failed test bob@example.com E_DAILY_LIMIT_EXCEEDED: nope 2026-10-25T19:07:54.309Z apps/diffinery test: ✓ test/unit/suppression.test.ts (11 tests) 478ms 2026-10-25T19:07:54.444Z apps/diffinery test: stderr | test/unit/moderation.test.ts > suspension > refuses tokens and sessions at once, stops Actions, and unsuspending restores the tokens 2026-10-25T19:07:54.444Z apps/diffinery test: mail queue not bound; dropping 1 email(s) 2026-10-25T19:07:54.448Z apps/diffinery test: stderr | test/unit/moderation.test.ts > suspension > refuses tokens and sessions at once, stops Actions, and unsuspending restores the tokens 2026-10-25T19:07:54.449Z apps/diffinery test: mail queue not bound; dropping 1 email(s) 2026-10-25T19:07:54.490Z apps/diffinery test: ✓ test/unit/moderation.test.ts (9 tests) 278ms 2026-10-25T19:07:54.560Z apps/cli test: ❯ test/setup.test.ts (16 tests | 1 failed) 10910ms 2026-10-25T19:07:54.560Z apps/cli test: × signs in through the browser, then sets up git, even when an agent runs it without a terminal 7260ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ offers auto-merge for the person's pull requests on a terminal, and turns it on with yes 614ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ turns auto-merge on without asking with --auto-merge, and never asks with --no-auto-merge or for an agent 243ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ keeps a sign-in that still works, and is safe to run again 102ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ signs in again when the saved token no longer works 117ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ signs gh in with the token on stdin 111ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ leaves gh to GH_ENTERPRISE_TOKEN when it's in the environment, since gh won't sign in over it 208ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ says when gh isn't installed 128ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ finishes the rest and exits 1 when gh fails 98ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ checks each part with the token from the environment, clones, reports, and writes no token to disk 746ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ says what to change, exits 1, and still reports, when a check fails 304ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ names the token that's missing or refused, with where to get a new one 335ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ refuses a --repo that isn't OWNER/NAME 149ms 2026-10-25T19:07:54.563Z apps/cli test: ✓ saves both plugins and names them in Claude Code's settings, keeping what was there, and runs again cleanly 175ms 2026-10-25T19:07:54.564Z apps/cli test: ✓ does nothing without Claude Code, with --no-claude-plugins, or for a plugin installed from the marketplace 167ms 2026-10-25T19:07:54.564Z apps/cli test: ✓ leaves settings it can't read alone, and refuses a download that doesn't match its checksum 144ms 2026-10-25T19:07:54.564Z apps/cli test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ 2026-10-25T19:07:54.565Z apps/cli test: FAIL test/setup.test.ts > diffinery setup > signs in through the browser, then sets up git, even when an agent runs it without a terminal 2026-10-25T19:07:54.569Z apps/cli test: AssertionError: expected 'Opening your browser to sign in to 12…' not to contain 'error' 2026-10-25T19:07:54.569Z apps/cli test: - Expected 2026-10-25T19:07:54.569Z apps/cli test: + Received 2026-10-25T19:07:54.569Z apps/cli test: - error 2026-10-25T19:07:54.569Z apps/cli test: + Opening your browser to sign in to 127.0.0.1:39147… 2026-10-25T19:07:54.569Z apps/cli test: + If it didn't open, visit: 2026-10-25T19:07:54.569Z apps/cli test: + http://127.0.0.1:39147/login/cli?port=33299&state=UlzrgrEVGuEJRFYmhV6wV-YbZmRUuRxS&code_challenge=mRcyy9MT5lZ7_ahacqS413sHQUyzVUzG8YeWY0bBLw8&code_challenge_method=S256&scope=write&host=cloudchamber&os=linux-x64&version=0.1.0 2026-10-25T19:07:54.569Z apps/cli test: + Waiting for you to authorize (Ctrl+C to cancel). No browser here? Run `diffinery login --device`. 2026-10-25T19:07:54.569Z apps/cli test: + error: could not reach http://127.0.0.1:39147: ECONNRESET 2026-10-25T19:07:54.569Z apps/cli test: + 2026-10-25T19:07:54.569Z apps/cli test: ❯ test/setup.test.ts:43:26 2026-10-25T19:07:54.592Z apps/cli test: 41| let opened = 0; 2026-10-25T19:07:54.594Z apps/cli test: 42| const r = await run(["setup", "--url", srv.url], { env, stdinTTY: … 2026-10-25T19:07:54.594Z apps/cli test: 43| expect(r.stderr).not.toContain("error"); 2026-10-25T19:07:54.595Z apps/cli test: | ^ 2026-10-25T19:07:54.595Z apps/cli test: 44| expect(r.code).toBe(0); 2026-10-25T19:07:54.595Z apps/cli test: 45| expect(opened).toBe(1); 2026-10-25T19:07:54.596Z apps/cli test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ 2026-10-25T19:07:54.598Z apps/cli test: Test Files 1 failed | 4 passed (5) 2026-10-25T19:07:54.600Z apps/cli test: Tests 1 failed | 61 passed (62) 2026-10-25T19:07:54.600Z apps/cli test: Start at 19:07:40 2026-10-25T19:07:54.600Z apps/cli test: Duration 13.57s (transform 4.39s, setup 0ms, import 7.18s, tests 30.14s, environment 9ms) 2026-10-25T19:07:54.611Z apps/cli test: ::error file=/workspace/diffinery/apps/cli/test/setup.test.ts,title=test/setup.test.ts > diffinery setup > signs in through the browser%2C then sets up git%2C even when an agent runs it without a terminal,line=43,column=26::AssertionError: expected 'Opening your browser to sign in to 12…' not to contain 'error'%0A%0A- Expected%0A+ Received%0A%0A- error%0A+ Opening your browser to sign in to 127.0.0.1:39147…%0A+ If it didn't open, visit:%0A+ http://127.0.0.1:39147/login/cli?port=33299&state=UlzrgrEVGuEJRFYmhV6wV-YbZmRUuRxS&code_challenge=mRcyy9MT5lZ7_ahacqS413sHQUyzVUzG8YeWY0bBLw8&code_challenge_method=S256&scope=write&host=cloudchamber&os=linux-x64&version=0.1.0%0A+ Waiting for you to authorize (Ctrl+C to cancel). No browser here? Run `diffinery login --device`.%0A+ error: could not reach http://127.0.0.1:39147: ECONNRESET%0A+%0A%0A ❯ test/setup.test.ts:43:26%0A%0A 2026-10-25T19:07:54.656Z apps/diffinery test: ✓ test/unit/review.test.ts (19 tests) 88ms 2026-10-25T19:07:54.736Z apps/cli test: Failed 2026-10-25T19:07:54.777Z /workspace/diffinery/apps/cli: 2026-10-25T19:07:54.777Z  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @diffinery/cli@0.1.0 test: `vitest run --shard=1/2` 2026-10-25T19:07:54.777Z Exit status 1 2026-10-25T19:07:54.943Z ##[error]Process completed with exit code 1. 2026-10-25T19:07:55.281Z Pruning is unnecessary. 2026-10-25T19:07:55.403Z Removing persisted credentials 2026-10-25T19:07:55.479Z Host: 12% of the vCPUs' time went to other work on the host (steal) 2026-10-25T19:07:55.479Z Job completed with conclusion: failure 2026-10-25T19:07:55.481Z Resources: 1.2 of 4 vCPUs busy on average (3.4 at the 95th percentile), peak memory 1.5 GiB of 11.9 GiB, peak disk 2.1 GB of 19.2 GB