Unit tests (1/2)
took 1m 3s Raw logs
Matrix: shard: 1
Failed at Unit tests
Process completed with exit code 1.
apps/cli test: [31m+[39m
apps/cli test: [36m [2m❯[22m test/setup.test.ts:[2m43:26[22m[39m
apps/cli test: [90m 41|[39m [35mlet[39m opened [33m=[39m [34m0[39m[33m;[39m
apps/cli test: [90m 42|[39m const r = await run(["setup", "--url", srv.url], { env, stdinTTY: …
apps/cli test: [90m 43|[39m [34mexpect[39m(r[33m.[39mstderr)[33m.[39mnot[33m.[39m[34mtoContain[39m([32m"error"[39m)[33m;[39m
apps/cli test: [90m |[39m [31m^[39m
apps/cli test: [90m 44|[39m [34mexpect[39m(r[33m.[39mcode)[33m.[39m[34mtoBe[39m([34m0[39m)[33m;[39m
apps/cli test: [90m 45|[39m [34mexpect[39m(opened)[33m.[39m[34mtoBe[39m([34m1[39m)[33m;[39m
apps/cli test: [31m[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯[22m[39m
apps/cli test: [2m Test Files [22m [1m[31m1 failed[39m[22m[2m | [22m[1m[32m4 passed[39m[22m[90m (5)[39m
apps/cli test: [2m Tests [22m [1m[31m1 failed[39m[22m[2m | [22m[1m[32m61 passed[39m[22m[90m (62)[39m
apps/cli test: [2m Start at [22m 19:07:40
apps/cli test: [2m Duration [22m 13.57s[2m (transform 4.39s, setup 0ms, import 7.18s, tests 30.14s, environment 9ms)[22m
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
apps/diffinery test: [32m✓[39m test/unit/review.test.ts [2m([22m[2m19 tests[22m[2m)[22m[32m 88[2mms[22m[39m
apps/cli test: Failed
/workspace/diffinery/apps/cli:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @diffinery/cli@0.1.0 test: `vitest run --shard=1/2`
Exit status 1Set up job
Diffinery runner: job test (Unit tests (1/2)) for codician/diffinery@d0ee23440638Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in lhr16, WEUR, container b2393e07cfccaaa3cf34e508e21decdca99dfab6cbf50acea3c1ec0f737ca6cfRunner 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: 12% of the vCPUs' time went to other work on the host (steal)Job completed with conclusion: failureResources: 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
Run actions/checkout@v41s
##[group]Run actions/checkout@v4##[endgroup]Syncing repository: codician/diffineryFetching the repository (depth 1)remote: Enumerating objects: 879, done. 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) 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.From https://diffinery.com/codician/diffinery * [new ref] d0ee234406384a97845981a0bb1d89aff2d6538f -> origin/diffinery-checkoutNote: switching to 'd0ee234406384a97845981a0bb1d89aff2d6538f'.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 d0ee234 Merge d8fccd8b836f65641093e7b43d918cce9d01976a into 0d34592106d7b0e0c97c4cd3052029dae5a2317aHEAD is now at d0ee234406384a97845981a0bb1d89aff2d6538f
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.8s##[endgroup]Installation Completed!
Run actions/setup-node@v49s
##[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-lockfile6s
##[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 54Progress: resolved 251, reused 245, downloaded 0, added 172Progress: resolved 251, reused 245, downloaded 0, added 251, done.../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js.../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js.../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js.../node_modules/workerd postinstall$ node install.js.../node_modules/workerd postinstall$ node install.js.../esbuild@0.25.12/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.1/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 5.8s using pnpm v10.28.0
Build4s
##[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 78msapps/cli build: Donecontainers/runner build: dist/agent.mjs 684.1kbcontainers/runner build: ⚡ Done in 110mscontainers/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 tests37s
##[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/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: (!) 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/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: RUN v4.1.11 /workspace/diffinery/packages/workflow-yamlapps/vscode test: RUN v4.1.11 /workspace/diffinery/apps/vscodeapps/vscode test: ✓ test/repos.test.ts (6 tests) 25msapps/vscode test: Test Files 1 passed (1)apps/vscode test: Tests 6 passed (6)apps/vscode test: Start at 19:07:19apps/vscode test: Duration 526ms (transform 120ms, setup 0ms, import 168ms, tests 25ms, environment 0ms)apps/vscode test: Donepackages/workflow-yaml test: ✓ test/cron.test.ts (23 tests) 47mspackages/workflow-yaml test: ✓ test/expr.test.ts (48 tests) 47mspackages/workflow-yaml test: ✓ test/parse.test.ts (31 tests) 140mspackages/workflow-yaml test: Test Files 3 passed (3)packages/workflow-yaml test: Tests 102 passed (102)packages/workflow-yaml test: Start at 19:07:19packages/workflow-yaml test: Duration 1.08s (transform 647ms, setup 0ms, import 1.28s, tests 235ms, environment 0ms)packages/workflow-yaml test: Donepackages/git-core test: ✓ test/merge-base.test.ts (3 tests) 936mspackages/git-core test: ✓ is a best common ancestor, the only one when there is one, on random histories with and without clock skew 835mspackages/git-core test: ✓ test/diff-budget.test.ts (5 tests) 1082mspackages/git-core test: ✓ a file rewritten from scratch is diffed in one pass, as one replaced block 367mspackages/git-core test: ✓ a three-way merge too large to compute is a conflict, quickly 704mspackages/git-core test: ✓ test/pack-stream.test.ts (3 tests) 160mspackages/git-core test: ✓ test/pack-limits.test.ts (6 tests) 20079mspackages/git-core test: ✓ resolves a long delta chain in one pass, whatever order the pack lists it in 13257mspackages/git-core test: ✓ counts what each object costs in memory, not only its content 5943mspackages/git-core test: ✓ refuses a small pack whose objects inflate past the memory budget 839mspackages/git-core test: Test Files 4 passed (4)packages/git-core test: Tests 17 passed (17)packages/git-core test: Start at 19:07:19packages/git-core test: Duration 21.08s (transform 665ms, setup 0ms, import 1.32s, tests 22.26s, environment 2ms)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/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.apps/cli test: RUN v4.1.11 /workspace/diffinery/apps/clicontainers/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/diffinery test: RUN v4.1.11 /workspace/diffinery/apps/diffinerycontainers/runner test: RUN v4.1.11 /workspace/diffinery/containers/runnerapps/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:583) 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) 272msapps/diffinery test: ✓ test/unit/usage.test.ts (23 tests) 188msapps/diffinery test: (node:626) 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) 8837mscontainers/runner test: ✓ splits a single-PUT upload (containerd) into PATCH chunks under the limit 7856mscontainers/runner test: ✓ answers a streamed PATCH (docker) like the registry would, then completes with an empty PUT 778msapps/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 d4bdc37813574fe9b84db5c86f04c928 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 3dbabadc1b384fc4934ea898165c1128 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 eb3d4c6bc2a740e6b591f9d064472a73 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 eb3d4c6bc2a740e6b591f9d064472a73 waitingapps/diffinery test: ✓ test/unit/runner-sizes.test.ts (22 tests) 767msapps/diffinery test: ✓ runs a first job large, then sizes it by what it used 301msapps/cli test: ✓ test/migrate.test.ts (4 tests) 9202msapps/cli test: ✓ creates the repo, pushes branches and tags, and copies issues, PRs, variables and secret names 8025msapps/cli test: ✓ repo clone authenticates for that command only 597msapps/cli test: ✓ --private and --to override the target 383msapps/cli test: ✓ test/pr.test.ts (21 tests) 9232msapps/cli test: ✓ pr create infers the repo from origin and the head from the current branch 7693msapps/cli test: ✓ pr view, checks, diff, comment, review, ready and merge default to the current branch's pull request 328msapps/cli test: ✓ pr checks --watch waits for the first check right after a push, and gives up after 2 minutes 521msapps/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 376a7a0bc751400db712b978ac2c338a 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 376a7a0bc751400db712b978ac2c338a waitingapps/diffinery test: ✓ test/unit/stuck-runs.test.ts (7 tests) 1431msapps/diffinery test: ✓ a lost job event is sent again, so the run's workflow carries on and the next run in the group starts 403msapps/diffinery test: (node:1247) 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: ✓ test/login.test.ts (12 tests) 423msapps/diffinery test: ✓ test/unit/auto-merge.test.ts (28 tests) 2315msapps/diffinery test: (node:1464) 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: ✓ test/misc.test.ts (9 tests) 377msapps/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) 478msapps/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) 278msapps/cli test: ❯ test/setup.test.ts (16 tests | 1 failed) 10910msapps/cli test: × signs in through the browser, then sets up git, even when an agent runs it without a terminal 7260msapps/cli test: ✓ offers auto-merge for the person's pull requests on a terminal, and turns it on with yes 614msapps/cli test: ✓ turns auto-merge on without asking with --auto-merge, and never asks with --no-auto-merge or for an agent 243msapps/cli test: ✓ keeps a sign-in that still works, and is safe to run again 102msapps/cli test: ✓ signs in again when the saved token no longer works 117msapps/cli test: ✓ signs gh in with the token on stdin 111msapps/cli test: ✓ leaves gh to GH_ENTERPRISE_TOKEN when it's in the environment, since gh won't sign in over it 208msapps/cli test: ✓ says when gh isn't installed 128msapps/cli test: ✓ finishes the rest and exits 1 when gh fails 98msapps/cli test: ✓ checks each part with the token from the environment, clones, reports, and writes no token to disk 746msapps/cli test: ✓ says what to change, exits 1, and still reports, when a check fails 304msapps/cli test: ✓ names the token that's missing or refused, with where to get a new one 335msapps/cli test: ✓ refuses a --repo that isn't OWNER/NAME 149msapps/cli test: ✓ saves both plugins and names them in Claude Code's settings, keeping what was there, and runs again cleanly 175msapps/cli test: ✓ does nothing without Claude Code, with --no-claude-plugins, or for a plugin installed from the marketplace 167msapps/cli test: ✓ leaves settings it can't read alone, and refuses a download that doesn't match its checksum 144msapps/cli test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯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 terminalapps/cli test: AssertionError: expected 'Opening your browser to sign in to 12…' not to contain 'error'apps/cli test: - Expectedapps/cli test: + Receivedapps/cli test: - errorapps/cli test: + Opening your browser to sign in to 127.0.0.1:39147…apps/cli test: + If it didn't open, visit: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.0apps/cli test: + Waiting for you to authorize (Ctrl+C to cancel). No browser here? Run `diffinery login --device`.apps/cli test: + error: could not reach http://127.0.0.1:39147: ECONNRESETapps/cli test: +apps/cli test: ❯ test/setup.test.ts:43:26apps/cli test: 41| let opened = 0;apps/cli test: 42| const r = await run(["setup", "--url", srv.url], { env, stdinTTY: …apps/cli test: 43| expect(r.stderr).not.toContain("error");apps/cli test: | ^apps/cli test: 44| expect(r.code).toBe(0);apps/cli test: 45| expect(opened).toBe(1);apps/cli test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯apps/cli test: Test Files 1 failed | 4 passed (5)apps/cli test: Tests 1 failed | 61 passed (62)apps/cli test: Start at 19:07:40apps/cli test: Duration 13.57s (transform 4.39s, setup 0ms, import 7.18s, tests 30.14s, environment 9ms)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%0Aapps/diffinery test: ✓ test/unit/review.test.ts (19 tests) 88msapps/cli test: Failed/workspace/diffinery/apps/cli: ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @diffinery/cli@0.1.0 test: `vitest run --shard=1/2`Exit status 1##[error]Process completed with exit code 1.
Post Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b10s
Pruning is unnecessary.Post Run actions/checkout@v40s
Removing persisted credentialsJob 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: ❌ 1 failure · ✅ 4 passes · 5 total
- Test Results: ❌ 1 failure · ✅ 61 passes · 62 total