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 (2/2)

took 54s Raw logs

Matrix: shard: 2

Cancelled
cancelled by a newer run in the same concurrency group
Set up job
Diffinery runner: job test (Unit tests (2/2)) for codician/diffinery@3125d38aa9f4Runner: image diffinery-runner:0d9b89e0a449e5faecf2b19c, in lhr01, WEUR, container c284a36bb6611215a497c93bc34429e4a3c0f756f027290aac86b576d2656ce5Runner 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/diffinery
Run actions/checkout@v42s
##[group]Run actions/checkout@v4##[endgroup]Syncing repository: codician/diffineryFetching the repository (depth 1)remote: Enumerating objects: 628, done.        Receiving objects:   0% (1/628)
Receiving objects:   1% (7/628)
Receiving objects:   2% (13/628)
Receiving objects:   3% (19/628)
Receiving objects:   4% (26/628)
Receiving objects:   5% (32/628)
Receiving objects:   6% (38/628)
Receiving objects:   7% (44/628)
Receiving objects:   8% (51/628)
Receiving objects:   9% (57/628)
Receiving objects:  10% (63/628)
Receiving objects:  11% (70/628)
Receiving objects:  12% (76/628)
Receiving objects:  13% (82/628)
Receiving objects:  14% (88/628)
Receiving objects:  15% (95/628)
Receiving objects:  16% (101/628)
Receiving objects:  17% (107/628)
Receiving objects:  18% (114/628)
Receiving objects:  19% (120/628)
Receiving objects:  20% (126/628)
Receiving objects:  21% (132/628)
Receiving objects:  22% (139/628)
Receiving objects:  23% (145/628)
Receiving objects:  24% (151/628)
Receiving objects:  25% (157/628)
Receiving objects:  26% (164/628)
Receiving objects:  27% (170/628)
Receiving objects:  28% (176/628)
Receiving objects:  29% (183/628)
Receiving objects:  30% (189/628)
Receiving objects:  31% (195/628)
Receiving objects:  32% (201/628)
Receiving objects:  33% (208/628)
Receiving objects:  34% (214/628)
Receiving objects:  35% (220/628)
Receiving objects:  36% (227/628)
Receiving objects:  37% (233/628)
Receiving objects:  38% (239/628)
Receiving objects:  39% (245/628)
Receiving objects:  40% (252/628)
Receiving objects:  41% (258/628)
Receiving objects:  42% (264/628)
Receiving objects:  43% (271/628)
Receiving objects:  44% (277/628)
Receiving objects:  45% (283/628)
Receiving objects:  46% (289/628)
Receiving objects:  47% (296/628)
Receiving objects:  48% (302/628)
Receiving objects:  49% (308/628)
Receiving objects:  50% (314/628)
Receiving objects:  51% (321/628)
Receiving objects:  52% (327/628)
Receiving objects:  53% (333/628)
Receiving objects:  54% (340/628)
Receiving objects:  55% (346/628)
Receiving objects:  56% (352/628)
Receiving objects:  57% (358/628)
Receiving objects:  58% (365/628)
Receiving objects:  59% (371/628)
Receiving objects:  60% (377/628)
Receiving objects:  61% (384/628)
Receiving objects:  62% (390/628)
Receiving objects:  63% (396/628)
Receiving objects:  64% (402/628)
Receiving objects:  65% (409/628)
Receiving objects:  66% (415/628)
Receiving objects:  67% (421/628)
Receiving objects:  68% (428/628)
Receiving objects:  69% (434/628)
Receiving objects:  70% (440/628)
Receiving objects:  71% (446/628)
Receiving objects:  72% (453/628)
Receiving objects:  73% (459/628)
Receiving objects:  74% (465/628)
Receiving objects:  75% (471/628)
Receiving objects:  76% (478/628)
Receiving objects:  77% (484/628)
Receiving objects:  78% (490/628)
Receiving objects:  79% (497/628)
Receiving objects:  80% (503/628)
Receiving objects:  81% (509/628)
Receiving objects:  82% (515/628)
Receiving objects:  83% (522/628)
Receiving objects:  84% (528/628)
Receiving objects:  85% (534/628)
Receiving objects:  86% (541/628)
Receiving objects:  87% (547/628)
Receiving objects:  88% (553/628)
Receiving objects:  89% (559/628)
Receiving objects:  90% (566/628)
Receiving objects:  91% (572/628)
Receiving objects:  92% (578/628)
Receiving objects:  93% (585/628)
Receiving objects:  94% (591/628)
Receiving objects:  95% (597/628)
Receiving objects:  96% (603/628)
remote: Total 628 (delta 0), reused 628 (delta 0)        Receiving objects:  97% (610/628)
Receiving objects:  98% (616/628)
Receiving objects:  99% (622/628)
Receiving objects: 100% (628/628)
Receiving objects: 100% (628/628), 2.57 MiB | 15.66 MiB/s, done.From https://diffinery.com/codician/diffinery * [new ref]         3125d38aa9f48e5c2c945eaa6e228be16f0869df -> origin/mainSwitched to a new branch 'main'HEAD is now at 3125d38aa9f48e5c2c945eaa6e228be16f0869df
Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b12s
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.14.0 is available)Done in 1s##[endgroup]Installation Completed!
Run actions/setup-node@v48s
##[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-lockfile12s
##[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 249, donedevDependencies:+ turbo 2.11.7+ typescript 5.9.3Done in 11.8s using pnpm v10.28.0
Build2s
##[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  445.1kbapps/cli build: ⚡ Done in 49msapps/cli build: Donecontainers/runner build:   dist/agent.mjs  666.9kbcontainers/runner build: ⚡ Done in 72mscontainers/runner build: Doneapps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KBapps/diffinery build: docs: 65 pages (+2 generated at runtime), CLI 0.1.0 (234 KiB)apps/diffinery build: Done
Unit tests263h 21m
##[group]Run pnpm -r --if-present run test --shard=2/2##[endgroup]Scope: 6 of 7 workspace projectspackages/git-core test$ vitest run --shard=2/2packages/workflow-yaml test$ vitest run --shard=2/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/matrix.test.ts (17 tests) 22mspackages/workflow-yaml test:  ✓ test/filters.test.ts (78 tests) 51mspackages/workflow-yaml test:  Test Files  2 passed (2)packages/workflow-yaml test:       Tests  95 passed (95)packages/workflow-yaml test:    Start at  14:56:58packages/workflow-yaml test:    Duration  568ms (transform 365ms, setup 0ms, import 616ms, tests 74ms, environment 0ms)packages/workflow-yaml test: Donepackages/git-core test:  ✓ test/bombs.test.ts (4 tests) 395mspackages/git-core test:  ✓ test/pack.test.ts (9 tests) 2855mspackages/git-core test:      ✓ parses a pack over 16 MB holding one large blob  2126mspackages/git-core test:  ✓ test/pack-unpack-stream.test.ts (17 tests) 22244mspackages/git-core test:      ✓ finds the same objects, with the same contents, as parsePack  379mspackages/git-core test:      ✓ reads the pack in ranges and keeps the #125 budget  599mspackages/git-core test:      ✓ refuses a corrupt pack  418mspackages/git-core test:      ✓ reads a base from outside the pack once for all its deltas, and counts it  319mspackages/git-core test:      ✓ resolves a long delta chain in one pass  6284mspackages/git-core test:      ✓ charges every object it holds, so one huge object is refused rather than run the isolate out of memory  325mspackages/git-core test:      ✓ reads each entry's own range again, keeps small ones from the first pass, and counts its reads  448mspackages/git-core test:      ✓ rebuilds the deltas for storing with exactly the work that already passed  534mspackages/git-core test:      ✓ hashes and compresses a large object without a second copy of it  2234mspackages/git-core test:      ✓ rebuilds a long history of one large file holding two versions at a time  5539mspackages/git-core test:      ✓ frees a chain's first version once the next is rebuilt from it  3139mspackages/git-core test:      ✓ measures what a large rebuilt delta compresses to, for counting and storing it  1595mspackages/git-core test:  Test Files  3 passed (3)packages/git-core test:       Tests  30 passed (30)packages/git-core test:    Start at  14:56:58packages/git-core test:    Duration  23.62s (transform 651ms, setup 0ms, import 1.86s, tests 25.49s, environment 0ms)packages/git-core test: Doneapps/diffinery test$ vitest run --passWithNoTests --exclude 'test/e2e/**' --shard=2/2apps/cli test$ vitest run --shard=2/2containers/runner test$ vitest run --shard=2/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/diffinerycontainers/runner test: (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:containers/runner test:   - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extensioncontainers/runner test:   - ESM syntax in a file loaded as CommonJS (../../vitest.shared.ts:10:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.jsoncontainers/runner test: Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.apps/cli test:  RUN  v4.1.11 /workspace/diffinery/apps/clicontainers/runner test:  RUN  v4.1.11 /workspace/diffinery/containers/runnerapps/diffinery test: (node:493) 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:492) 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/credential.test.ts (8 tests) 84msapps/cli test:  ✓ test/config.test.ts (10 tests) 147mscontainers/runner test: [sandbox] Cloning into '/tmp/sandbox-fIh3WQ/repo'...apps/cli test:  ✓ test/runner.test.ts (8 tests) 581msapps/cli test:  ✓ test/workflow.test.ts (6 tests) 170msapps/cli test:  Test Files  4 passed (4)apps/cli test:       Tests  32 passed (32)apps/cli test:    Start at  14:57:22apps/cli test:    Duration  1.98s (transform 1.62s, setup 0ms, import 2.97s, tests 983ms, environment 1ms)apps/cli test: Doneapps/diffinery test:  ✓ test/unit/imports.test.ts (37 tests) 170msapps/diffinery test: (node:717) 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: [sandbox] Cloning into '/tmp/pool-rVHymr/sb1/repo'...apps/diffinery test:  ✓ test/unit/org-policy.test.ts (13 tests) 298mscontainers/runner test:  ✓ test/unit.test.ts (13 tests) 1614mscontainers/runner test:      ✓ log batcher retries and never drops lines  1505ms