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

Matrix: shard: 1

Failed at Unit tests
Process completed with exit code 1.

containers/runner test: Expected: "success"
containers/runner test: Received: "failure"
containers/runner test:  ❯ test/docker.test.ts:85:31
containers/runner test:      83|     const c = await run(spec);
containers/runner test:      84|     const log = api.logText();
containers/runner test:      85|     expect(c.conclusion, log).toBe("success");
containers/runner test:        |                               ^
containers/runner test:      86|     expect(log).toContain(`in debian, home=/github/home, ws=${path.joi…
containers/runner test:      87|     expect(log).toContain("redis says +PONG");
containers/runner test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
containers/runner test:  Test Files  1 failed | 5 passed (6)
containers/runner test:       Tests  1 failed | 40 passed (41)
containers/runner test:    Start at  16:51:00
containers/runner test:    Duration  39.30s (transform 3.40s, setup 0ms, import 16.22s, tests 48.56s, environment 1ms)
containers/runner test: ::error file=/workspace/diffinery/containers/runner/test/docker.test.ts,title=test/docker.test.ts > docker > runs steps and JavaScript actions in a job container next to a service container,line=85,column=31::AssertionError: Diffinery runner: job build (build) for acme/widgets@0123456789ab%0ARunner: in mrs01, WEUR, container eb2a93d92de4c1d2adc5e7641086f2e74238c190f57cd14be6744e329c4b57a7%0AWorkspace: /tmp/runner-test-DErCGR/widgets%0A##[group]Initialize containers%0ADocker 29.9.1%0A9bab7ff5351db558906a37481ceb68c7b1c5a29dcde000207ebf136cd6e3cf10%0A##[command]docker pull mirror.gcr.io/library/redis:7-alpine%0A7-alpine: Pulling from library/redis%0A4eb14bae0e1d: Pulling fs layer%0A83234986c742: Pulling fs layer%0A16333ee0c00f: Pulling fs layer%0A7eb50503c2b0: Pulling fs layer%0A1522f9c6f453: Pulling fs layer%0A9928009b15c8: Pulling fs layer%0A4f4fb700ef54: Pulling fs layer%0A7eb50503c2b0: Download complete%0A9928009b15c8: Download complete%0A83234986c742: Download complete%0A4f4fb700ef54: Download complete%0A1522f9c6f453: Download complete%0A4eb14bae0e1d: Download complete%0A16333ee0c00f: Download complete%0A54779914f171: Download complete%0A3beebc06c4ca: Download complete%0A16333ee0c00f: Pull complete%0A83234986c742: Pull complete%0A7eb50503c2b0: Pull complete%0A9928009b15c8: Pull complete%0A4f4fb700ef54: Pull complete%0A1522f9c6f453: Pull complete%0A4eb14bae0e1d: Pull complete%0ADigest: sha256:858f009f9709ce576febc734aa78b8f6d624b82571f9ddb6bda4377c833b3499%0AStatus: Downloaded newer image for mirror.gcr.io/library/redis:7-alpine%0Amirror.gcr.io/library/redis:7-alpine%0A##[command]docker run -d --name redis_84d88dfab969 --network diffinery_dkr-container_b1c559 --network-alias redis -p 6379 --health-cmd redis-cli ping --health-interval 1s --health-timeout 2s --health-retries 20 mirror.gcr.io/library/redis:7-alpine%0Ae25f64ad04a7a3526c151fa6e9bd194c389427127dc463a73eb4a9104b6493ea%0Astarting%0Arunning%0AWaiting for redis to be healthy (starting)...%0Ahealthy%0Aredis is healthy%0A6379/tcp -> 0.0.0.0:32768%0A6379/tcp -> [::]:32768%0AService redis is running (6379 -> localhost:32768)%0A##[command]docker pull mirror.gcr.io/library/debian:bookworm-slim%0Abookworm-slim: Pulling from library/debian%0A7fd1ebe418b5: Pulling fs layer%0A7fd1ebe418b5: Download complete%0A7fd1ebe418b5: Pull complete%0Afailed to copy: httpReadSeeker: failed open: could not fetch content descriptor sha256:251000be41e0896204474fa422654d03b92ad9fa4637760a8634477a7f45b953 (application/vnd.in-toto+json) from remote: not found%0A##[endgroup]%0A##[error]Could not pull mirror.gcr.io/library/debian:bookworm-slim (docker pull exited with 1).%0AStopping 1 container%0AJob completed with conclusion: failure: expected 'failure' to be 'success' // Object.is equality%0A%0AExpected: "success"%0AReceived: "failure"%0A%0A ❯ test/docker.test.ts:85:31%0A%0A
containers/runner test: Failed
/workspace/diffinery/containers/runner:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @diffinery/runner@0.1.0 test: `vitest run --shard=1/2`
Exit status 1
Set up job
Diffinery runner: job test (Unit tests (1/2)) for codician/diffinery@66afb54d22daRunner: image diffinery-runner:dfb768929ca5ce308febdab6, in mrs01, WEUR, container eb2a93d92de4c1d2adc5e7641086f2e74238c190f57cd14be6744e329c4b57a7Runner size: large (4 vCPU, 12 GiB of memory, 20 GB of disk), this job uses what a smaller runner doesn't have; runs-on: diffinery-large (or -medium, -small, -tiny) sets a sizeHost: AMD EPYC (family 25, model 1), 4 vCPUs, 2000 MHzWorkspace: /workspace/diffineryHost: 1% of the vCPUs' time went to other work on the host (steal)Job completed with conclusion: failureResources: 1.9 of 4 vCPUs busy on average (3.9 at the 95th percentile), peak memory 1.7 GiB of 11.9 GiB, peak disk 2.2 GB of 19.3 GB
Run actions/checkout@v45s
##[group]Run actions/checkout@v4##[endgroup]Syncing repository: codician/diffineryFetching the repository (depth 1)remote: Enumerating objects: 640, done.        Receiving objects:   0% (1/640)
Receiving objects:   1% (7/640)
Receiving objects:   2% (13/640)
Receiving objects:   3% (20/640)
Receiving objects:   4% (26/640)
Receiving objects:   5% (32/640)
Receiving objects:   6% (39/640)
Receiving objects:   7% (45/640)
Receiving objects:   8% (52/640)
Receiving objects:   9% (58/640)
Receiving objects:  10% (64/640)
Receiving objects:  11% (71/640)
Receiving objects:  12% (77/640)
Receiving objects:  13% (84/640)
Receiving objects:  14% (90/640)
Receiving objects:  15% (96/640)
Receiving objects:  16% (103/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  17% (109/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  18% (116/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  19% (122/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  20% (128/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  21% (135/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  22% (141/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  23% (148/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  24% (154/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  25% (160/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  26% (167/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  27% (173/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  28% (180/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  29% (186/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  30% (192/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  31% (199/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  32% (205/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  33% (212/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  34% (218/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  35% (224/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  36% (231/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  37% (237/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  38% (244/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  39% (250/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  40% (256/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  41% (263/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  42% (269/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  43% (276/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  44% (282/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  45% (288/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  46% (295/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  47% (301/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  48% (308/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  49% (314/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  50% (320/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  51% (327/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  52% (333/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  53% (340/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  54% (346/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  55% (352/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  56% (359/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  57% (365/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  58% (372/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  59% (378/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  60% (384/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  61% (391/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  62% (397/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  63% (404/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  64% (410/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  65% (416/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  66% (423/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  67% (429/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  68% (436/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  69% (442/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  70% (448/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  71% (455/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  72% (461/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  73% (468/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  74% (474/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  75% (480/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  76% (487/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  77% (493/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  78% (500/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  79% (506/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  80% (512/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  81% (519/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  82% (525/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  83% (532/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  84% (538/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  85% (544/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  86% (551/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  87% (557/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  88% (564/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  89% (570/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  90% (576/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  91% (583/640), 455.86 KiB | 903.00 KiB/s
Receiving objects:  91% (583/640), 2.69 MiB | 2.14 MiB/s    
Receiving objects:  92% (589/640), 2.69 MiB | 2.14 MiB/s
Receiving objects:  93% (596/640), 2.69 MiB | 2.14 MiB/s
Receiving objects:  94% (602/640), 2.69 MiB | 2.14 MiB/s
Receiving objects:  95% (608/640), 2.69 MiB | 2.14 MiB/s
Receiving objects:  96% (615/640), 2.69 MiB | 2.14 MiB/s
remote: Total 640 (delta 0), reused 640 (delta 0)        Receiving objects:  97% (621/640), 2.69 MiB | 2.14 MiB/s
Receiving objects:  98% (628/640), 2.69 MiB | 2.14 MiB/s
Receiving objects:  99% (634/640), 2.69 MiB | 2.14 MiB/s
Receiving objects: 100% (640/640), 2.69 MiB | 2.14 MiB/s
Receiving objects: 100% (640/640), 2.81 MiB | 2.23 MiB/s, done.From https://diffinery.com/codician/diffinery * [new ref]         66afb54d22daee67322cf0cdd293e6179734c5c7 -> origin/diffinery-checkoutNote: switching to '66afb54d22daee67322cf0cdd293e6179734c5c7'.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 66afb54 Merge 1155ce10e6d9bf5f04b66d078d3c51df02ca161a into 7ceb5139d7846eabcc61cd294b6adeecfd234b2fHEAD is now at 66afb54d22daee67322cf0cdd293e6179734c5c7
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@v410s
##[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-lockfile5s
##[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 155Progress: resolved 249, reused 243, downloaded 0, added 249, done.../node_modules/workerd postinstall$ node install.js.../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js.../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js.../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js.../node_modules/workerd postinstall$ node install.js.../esbuild@0.25.12/node_modules/esbuild postinstall: Done.../esbuild@0.28.1/node_modules/esbuild postinstall: Done.../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js.../node_modules/workerd postinstall: Done.../node_modules/workerd postinstall: Done.../esbuild@0.25.11/node_modules/esbuild postinstall: Done.../esbuild@0.28.2/node_modules/esbuild postinstall: DonedevDependencies:+ turbo 2.11.7+ typescript 5.9.3Done in 4.5s 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);"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  446.1kbapps/cli build: ⚡ Done in 103mscontainers/runner build:   dist/agent.mjs  674.1kbcontainers/runner build: ⚡ Done in 112msapps/cli build: Donecontainers/runner build: Doneapps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KBapps/diffinery build: docs: 70 pages (+2 generated at runtime), 3 images, CLI 0.1.0 (235 KiB)apps/diffinery build: Done
Unit tests59s
##[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/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: (!) 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/git-core test:  RUN  v4.1.11 /workspace/diffinery/packages/git-corepackages/workflow-yaml test:  RUN  v4.1.11 /workspace/diffinery/packages/workflow-yamlpackages/workflow-yaml test:  ✓ test/cron.test.ts (23 tests) 77mspackages/workflow-yaml test:  ✓ test/expr.test.ts (48 tests) 156mspackages/workflow-yaml test:  ✓ test/parse.test.ts (31 tests) 187mspackages/workflow-yaml test:  Test Files  3 passed (3)packages/workflow-yaml test:       Tests  102 passed (102)packages/workflow-yaml test:    Start at  16:50:43packages/workflow-yaml test:    Duration  1.40s (transform 1.25s, setup 0ms, import 2.25s, tests 421ms, environment 1ms)packages/workflow-yaml test: Donepackages/git-core test:  ✓ test/pack-stream.test.ts (3 tests) 504mspackages/git-core test:      ✓ is byte for byte the pack writePack builds, and reads one entry at a time  469mspackages/git-core test:  ✓ test/diff-budget.test.ts (5 tests) 1162mspackages/git-core test:      ✓ a file rewritten from scratch is diffed in one pass, as one replaced block  483mspackages/git-core test:      ✓ a three-way merge too large to compute is a conflict, quickly  654mspackages/git-core test:  ✓ test/pack-limits.test.ts (6 tests) 15109mspackages/git-core test:      ✓ resolves a long delta chain in one pass, whatever order the pack lists it in  8568mspackages/git-core test:      ✓ counts what each object costs in memory, not only its content  4019mspackages/git-core test:      ✓ refuses a small pack whose objects inflate past the memory budget  2435mspackages/git-core test:  Test Files  3 passed (3)packages/git-core test:       Tests  14 passed (14)packages/git-core test:    Start at  16:50:43packages/git-core test:    Duration  16.15s (transform 1.19s, setup 0ms, import 1.72s, tests 16.77s, environment 1ms)packages/git-core test: Doneapps/cli test$ vitest run --shard=1/2apps/diffinery test$ vitest run --passWithNoTests --exclude 'test/e2e/**' --shard=1/2containers/runner test$ vitest run --shard=1/2apps/diffinery test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:apps/diffinery test:   - import "../../vitest.shared" without a file extension (vitest.config.ts:3:26). Add the file extensionapps/diffinery test:   - ESM syntax in a file loaded as CommonJS (../../vitest.shared.ts:10:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.jsonapps/diffinery test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.apps/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/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.containers/runner test:  RUN  v4.1.11 /workspace/diffinery/containers/runnerapps/diffinery test: (node:455) 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:465) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test:  ✓ test/unit/usage.test.ts (23 tests) 260mscontainers/runner test:  ✓ test/jail.test.ts (12 tests) 273msapps/cli test:  ✓ test/login.test.ts (12 tests) 819msapps/cli test:      ✓ opens the authorize page with a PKCE challenge, trades the code with the verifier, and saves the token  377msapps/diffinery test: (node:523) 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/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) 598msapps/cli test:  ✓ test/migrate.test.ts (4 tests) 2521msapps/cli test:      ✓ creates the repo, pushes branches and tags, and copies issues, PRs, variables and secret names  944msapps/cli test:      ✓ repo clone authenticates for that command only  726msapps/cli test:      ✓ --private and --to override the target  585msapps/cli test:  ✓ test/pr.test.ts (19 tests) 2514msapps/cli test:      ✓ pr create infers the repo from origin and the head from the current branch  487msapps/cli test:      ✓ pr view, checks, diff, comment, review, ready and merge default to the current branch's pull request  392msapps/cli test:      ✓ pr checks --watch waits for the first check right after a push, and gives up after 2 minutes  870mscontainers/runner test:  ✓ test/relay.test.ts (4 tests) 1504mscontainers/runner test:      ✓ answers a streamed PATCH (docker) like the registry would, then completes with an empty PUT  1010msapps/cli test:  ✓ test/misc.test.ts (9 tests) 689msapps/cli test:  Test Files  4 passed (4)apps/cli test:       Tests  44 passed (44)apps/cli test:    Start at  16:51:00apps/cli test:    Duration  5.67s (transform 4.45s, setup 0ms, import 7.23s, tests 6.54s, environment 5ms)apps/cli test: Doneapps/diffinery test:  ✓ test/unit/runner-sizes.test.ts (19 tests) 958msapps/diffinery test:      ✓ runs a first job large, then sizes it by what it used  471msapps/diffinery test: (node:895) 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) 522msapps/diffinery test:  ✓ test/unit/review.test.ts (19 tests) 94mscontainers/runner test:  ✓ test/runtime.test.ts (12 tests) 3604mscontainers/runner test:      ✓ writes archives unzip reads, and reads archives zip writes  485mscontainers/runner test:      ✓ uploads large files as blocks, small ones in one request, and downloads them back  2242mscontainers/runner test:      ✓ downloads in ranges, several at once, retrying a range on its own  718msapps/diffinery test:  ✓ test/unit/rerun.test.ts (10 tests) 2130msapps/diffinery test:      ✓ keeps the legs that passed and re-runs the failed and cancelled ones, with what depends on them  548msapps/diffinery test: (node:1177) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test:  ✓ test/unit/job-permissions.test.ts (8 tests) 72msapps/diffinery test:  ✓ test/unit/auto-merge.test.ts (12 tests) 686msapps/diffinery test:  ✓ test/unit/today.test.ts (10 tests) 71msapps/diffinery test: (node:1374) ExperimentalWarning: SQLite is an experimental feature and might change at any timeapps/diffinery test: (Use `node --trace-warnings ...` to show where the warning was created)apps/diffinery test: stderr | test/unit/rate-limit.test.ts > rate limit checks > lets requests through when no limiter is configured or the limiter failsapps/diffinery test: rate limiter failed RL_ANON Error: downapps/diffinery test:     at Object.limit (/workspace/diffinery/apps/diffinery/test/unit/rate-limit.test.ts: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: 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) 298msapps/diffinery test:  ✓ test/unit/coordinator.test.ts (8 tests) 18msapps/diffinery test:  ✓ test/unit/secret-scan.test.ts (7 tests) 1327msapps/diffinery test:      ✓ scans large blobs from their compressed bytes, slice by slice, with the same rules  310msapps/diffinery test:      ✓ scans a large file in slices, never as one string, with the same results  1001msapps/diffinery test:  ✓ test/unit/job-graph.test.ts (12 tests) 27msapps/diffinery test:  ✓ test/unit/project.test.ts (12 tests) 15msapps/diffinery test: (node:1637) 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) 13036mscontainers/runner test:      ✓ pushes history in chunks under a size limit the server enforces, then every ref, and cleans up  4917mscontainers/runner test:      ✓ pushes every version of a large file first and whole, so the server never rebuilds one from a delta  7119mscontainers/runner test:      ✓ splits a refused batch of a large commit's files again, rather than retrying it whole  967msapps/diffinery test:  ✓ test/unit/job-token.test.ts (7 tests) 196mscontainers/runner test:  ✓ test/docker-wrapper.test.ts (2 tests) 6906mscontainers/runner test:      ✓ lets docker commands that arrive while the daemon is starting through, with the head start on  1980mscontainers/runner test:      ✓ gives up with a message, not a hang, when the daemon never comes up  4915msapps/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:130:61)apps/diffinery test:     at modelRateLimited (/workspace/diffinery/apps/diffinery/src/lib/rate-limit.ts:90:33)apps/diffinery test:     at /workspace/diffinery/apps/diffinery/test/unit/rate-limit.test.ts:131: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) 5962msapps/diffinery test:      ✓ answers 429 with retry-after once an anonymous address is over its limit  5913msapps/diffinery test:  ✓ test/unit/markdown-safety.test.ts (31 tests) 448msapps/diffinery test: (node:2025) 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) 155msapps/diffinery test:  ✓ test/unit/reusable.test.ts (4 tests) 66msapps/diffinery test:  ✓ test/unit/deploy-log-notes.test.ts (2 tests) 64msapps/diffinery test:  ✓ test/unit/required.test.ts (11 tests) 18msapps/diffinery test:  ✓ test/unit/fsck.test.ts (16 tests) 767msapps/diffinery test:      ✓ refuses a tree too large to check, before reading its names  728msapps/diffinery test:  ✓ test/unit/redirects.test.ts (9 tests) 16msapps/diffinery test:  ✓ test/unit/registry-upload.test.ts (2 tests) 910msapps/diffinery test:      ✓ hash each chunk as it arrives, so the final request doesn't read the blob back  806msapps/diffinery test:  ✓ test/unit/push-retry.test.ts (4 tests) 24msapps/diffinery test:  ✓ test/unit/wait-timer.test.ts (5 tests) 14msapps/diffinery test:  ✓ test/unit/org-variables.test.ts (2 tests) 16msapps/diffinery test:  ✓ test/unit/stages.test.ts (3 tests) 26msapps/diffinery test:  ✓ test/unit/d1.test.ts (3 tests) 13msapps/diffinery test:  ✓ test/unit/environment-secrets.test.ts (4 tests) 12msapps/diffinery test:  ✓ test/unit/upload-pack.test.ts (1 test) 1572msapps/diffinery test:      ✓ sends each object as it is read, in side-band packets, never the whole pack at once  1570msapps/diffinery test:  ✓ test/unit/receive-head.test.ts (2 tests) 68msapps/diffinery test:  ✓ test/unit/job-secrets.test.ts (4 tests) 17msapps/diffinery test:  ✓ test/unit/tree-names.test.ts (5 tests) 15msapps/diffinery test: (node:2388) 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/archive-stream.test.ts (3 tests) 632msapps/diffinery test:      ✓ refuse more entries than classic zip can hold instead of writing a broken archive  450msapps/diffinery test:  ✓ test/unit/inflight.test.ts (1 test) 48msapps/diffinery test:  ✓ test/unit/terminal-command.test.ts (1 test) 11msapps/diffinery test:  ✓ test/unit/unpack-failure.test.ts (2 tests) 8msapps/diffinery test:  ✓ test/unit/graphql.test.ts (3 tests) 18msapps/diffinery test:  Test Files  39 passed (39)apps/diffinery test:       Tests  303 passed (303)apps/diffinery test:    Start at  16:51:00apps/diffinery test:    Duration  20.84s (transform 13.88s, setup 0ms, import 25.96s, tests 18.17s, environment 12ms)apps/diffinery test: Donecontainers/runner test:  ❯ test/docker.test.ts (4 tests | 1 failed) 23238mscontainers/runner test:      × runs steps and JavaScript actions in a job container next to a service container 9995mscontainers/runner test:      ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints  7255mscontainers/runner test:      ✓ fails a service that never gets healthy, and cleans up  5377mscontainers/runner test:      ✓ explains that containers need Docker  596mscontainers/runner test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯containers/runner test:  FAIL  test/docker.test.ts > docker > runs steps and JavaScript actions in a job container next to a service containercontainers/runner test: AssertionError: Diffinery runner: job build (build) for acme/widgets@0123456789abcontainers/runner test: Runner: in mrs01, WEUR, container eb2a93d92de4c1d2adc5e7641086f2e74238c190f57cd14be6744e329c4b57a7containers/runner test: Workspace: /tmp/runner-test-DErCGR/widgetscontainers/runner test: ##[group]Initialize containerscontainers/runner test: Docker 29.9.1containers/runner test: 9bab7ff5351db558906a37481ceb68c7b1c5a29dcde000207ebf136cd6e3cf10containers/runner test: ##[command]docker pull mirror.gcr.io/library/redis:7-alpinecontainers/runner test: 7-alpine: Pulling from library/rediscontainers/runner test: 4eb14bae0e1d: Pulling fs layercontainers/runner test: 83234986c742: Pulling fs layercontainers/runner test: 16333ee0c00f: Pulling fs layercontainers/runner test: 7eb50503c2b0: Pulling fs layercontainers/runner test: 1522f9c6f453: Pulling fs layercontainers/runner test: 9928009b15c8: Pulling fs layercontainers/runner test: 4f4fb700ef54: Pulling fs layercontainers/runner test: 7eb50503c2b0: Download completecontainers/runner test: 9928009b15c8: Download completecontainers/runner test: 83234986c742: Download completecontainers/runner test: 4f4fb700ef54: Download completecontainers/runner test: 1522f9c6f453: Download completecontainers/runner test: 4eb14bae0e1d: Download completecontainers/runner test: 16333ee0c00f: Download completecontainers/runner test: 54779914f171: Download completecontainers/runner test: 3beebc06c4ca: Download completecontainers/runner test: 16333ee0c00f: Pull completecontainers/runner test: 83234986c742: Pull completecontainers/runner test: 7eb50503c2b0: Pull completecontainers/runner test: 9928009b15c8: Pull completecontainers/runner test: 4f4fb700ef54: Pull completecontainers/runner test: 1522f9c6f453: Pull completecontainers/runner test: 4eb14bae0e1d: Pull completecontainers/runner test: Digest: sha256:858f009f9709ce576febc734aa78b8f6d624b82571f9ddb6bda4377c833b3499containers/runner test: Status: Downloaded newer image for mirror.gcr.io/library/redis:7-alpinecontainers/runner test: mirror.gcr.io/library/redis:7-alpinecontainers/runner test: ##[command]docker run -d --name redis_84d88dfab969 --network diffinery_dkr-container_b1c559 --network-alias redis -p 6379 --health-cmd redis-cli ping --health-interval 1s --health-timeout 2s --health-retries 20 mirror.gcr.io/library/redis:7-alpinecontainers/runner test: e25f64ad04a7a3526c151fa6e9bd194c389427127dc463a73eb4a9104b6493eacontainers/runner test: startingcontainers/runner test: runningcontainers/runner test: Waiting for redis to be healthy (starting)...containers/runner test: healthycontainers/runner test: redis is healthycontainers/runner test: 6379/tcp -> 0.0.0.0:32768containers/runner test: 6379/tcp -> [::]:32768containers/runner test: Service redis is running (6379 -> localhost:32768)containers/runner test: ##[command]docker pull mirror.gcr.io/library/debian:bookworm-slimcontainers/runner test: bookworm-slim: Pulling from library/debiancontainers/runner test: 7fd1ebe418b5: Pulling fs layercontainers/runner test: 7fd1ebe418b5: Download completecontainers/runner test: 7fd1ebe418b5: Pull completecontainers/runner test: failed to copy: httpReadSeeker: failed open: could not fetch content descriptor sha256:251000be41e0896204474fa422654d03b92ad9fa4637760a8634477a7f45b953 (application/vnd.in-toto+json) from remote: not foundcontainers/runner test: ##[endgroup]containers/runner test: ##[error]Could not pull mirror.gcr.io/library/debian:bookworm-slim (docker pull exited with 1).containers/runner test: Stopping 1 containercontainers/runner test: Job completed with conclusion: failure: expected 'failure' to be 'success' // Object.is equalitycontainers/runner test: Expected: "success"containers/runner test: Received: "failure"containers/runner test:  ❯ test/docker.test.ts:85:31containers/runner test:      83|     const c = await run(spec);containers/runner test:      84|     const log = api.logText();containers/runner test:      85|     expect(c.conclusion, log).toBe("success");containers/runner test:        |                               ^containers/runner test:      86|     expect(log).toContain(`in debian, home=/github/home, ws=${path.joi…containers/runner test:      87|     expect(log).toContain("redis says +PONG");containers/runner test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯containers/runner test:  Test Files  1 failed | 5 passed (6)containers/runner test:       Tests  1 failed | 40 passed (41)containers/runner test:    Start at  16:51:00containers/runner test:    Duration  39.30s (transform 3.40s, setup 0ms, import 16.22s, tests 48.56s, environment 1ms)containers/runner test: ::error file=/workspace/diffinery/containers/runner/test/docker.test.ts,title=test/docker.test.ts > docker > runs steps and JavaScript actions in a job container next to a service container,line=85,column=31::AssertionError: Diffinery runner: job build (build) for acme/widgets@0123456789ab%0ARunner: in mrs01, WEUR, container eb2a93d92de4c1d2adc5e7641086f2e74238c190f57cd14be6744e329c4b57a7%0AWorkspace: /tmp/runner-test-DErCGR/widgets%0A##[group]Initialize containers%0ADocker 29.9.1%0A9bab7ff5351db558906a37481ceb68c7b1c5a29dcde000207ebf136cd6e3cf10%0A##[command]docker pull mirror.gcr.io/library/redis:7-alpine%0A7-alpine: Pulling from library/redis%0A4eb14bae0e1d: Pulling fs layer%0A83234986c742: Pulling fs layer%0A16333ee0c00f: Pulling fs layer%0A7eb50503c2b0: Pulling fs layer%0A1522f9c6f453: Pulling fs layer%0A9928009b15c8: Pulling fs layer%0A4f4fb700ef54: Pulling fs layer%0A7eb50503c2b0: Download complete%0A9928009b15c8: Download complete%0A83234986c742: Download complete%0A4f4fb700ef54: Download complete%0A1522f9c6f453: Download complete%0A4eb14bae0e1d: Download complete%0A16333ee0c00f: Download complete%0A54779914f171: Download complete%0A3beebc06c4ca: Download complete%0A16333ee0c00f: Pull complete%0A83234986c742: Pull complete%0A7eb50503c2b0: Pull complete%0A9928009b15c8: Pull complete%0A4f4fb700ef54: Pull complete%0A1522f9c6f453: Pull complete%0A4eb14bae0e1d: Pull complete%0ADigest: sha256:858f009f9709ce576febc734aa78b8f6d624b82571f9ddb6bda4377c833b3499%0AStatus: Downloaded newer image for mirror.gcr.io/library/redis:7-alpine%0Amirror.gcr.io/library/redis:7-alpine%0A##[command]docker run -d --name redis_84d88dfab969 --network diffinery_dkr-container_b1c559 --network-alias redis -p 6379 --health-cmd redis-cli ping --health-interval 1s --health-timeout 2s --health-retries 20 mirror.gcr.io/library/redis:7-alpine%0Ae25f64ad04a7a3526c151fa6e9bd194c389427127dc463a73eb4a9104b6493ea%0Astarting%0Arunning%0AWaiting for redis to be healthy (starting)...%0Ahealthy%0Aredis is healthy%0A6379/tcp -> 0.0.0.0:32768%0A6379/tcp -> [::]:32768%0AService redis is running (6379 -> localhost:32768)%0A##[command]docker pull mirror.gcr.io/library/debian:bookworm-slim%0Abookworm-slim: Pulling from library/debian%0A7fd1ebe418b5: Pulling fs layer%0A7fd1ebe418b5: Download complete%0A7fd1ebe418b5: Pull complete%0Afailed to copy: httpReadSeeker: failed open: could not fetch content descriptor sha256:251000be41e0896204474fa422654d03b92ad9fa4637760a8634477a7f45b953 (application/vnd.in-toto+json) from remote: not found%0A##[endgroup]%0A##[error]Could not pull mirror.gcr.io/library/debian:bookworm-slim (docker pull exited with 1).%0AStopping 1 container%0AJob completed with conclusion: failure: expected 'failure' to be 'success' // Object.is equality%0A%0AExpected: "success"%0AReceived: "failure"%0A%0A ❯ test/docker.test.ts:85:31%0A%0Acontainers/runner test: Failed/workspace/diffinery/containers/runner: ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @diffinery/runner@0.1.0 test: `vitest run --shard=1/2`Exit status 1##[error]Process completed with exit code 1.
Post Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b11s
Pruning is unnecessary.
Post Run actions/checkout@v40s
Removing persisted credentials

Job summary

Vitest Test Report

Summary

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

Vitest Test Report

Summary

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

Vitest Test Report

Summary

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

Vitest Test Report

Summary

  • Test Files: ✅ 39 passes · 39 total
  • Test Results: ✅ 303 passes · 303 total

Vitest Test Report

Summary

  • Test Files: ❌ 1 failure · ✅ 5 passes · 6 total
  • Test Results: ❌ 1 failure · ✅ 40 passes · 41 total