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

Matrix: shard: 2

Failed at Unit tests
Process completed with exit code 1.

packages/git-core test:  FAIL  test/pack-unpack-stream.test.ts > StreamedPack > frees a chain's first version once the next is rebuilt from it
packages/git-core test: AssertionError: expected 81860410 to be less than 62914560
packages/git-core test:  ❯ test/pack-unpack-stream.test.ts:458:18
packages/git-core test:     456|     // At most the version it was rebuilt from and itself, and what th…
packages/git-core test:     457|     // version as well. (Only an upper bound: when the collector frees…
packages/git-core test:     458|     expect(live).toBeLessThan(2 * n + 8 * 1024 * 1024);
packages/git-core test:        |                  ^
packages/git-core test:     459|   });
packages/git-core test:     460|
packages/git-core test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
packages/git-core test:  Test Files  1 failed | 2 passed (3)
packages/git-core test:       Tests  1 failed | 24 passed (25)
packages/git-core test:    Start at  13:33:56
packages/git-core test:    Duration  11.86s (transform 505ms, setup 0ms, import 1.48s, tests 12.06s, environment 0ms)
packages/git-core test: ::error file=/workspace/diffinery/packages/git-core/test/pack-unpack-stream.test.ts,title=test/pack-unpack-stream.test.ts > StreamedPack > frees a chain's first version once the next is rebuilt from it,line=458,column=18::AssertionError: expected 81860410 to be less than 62914560%0A ❯ test/pack-unpack-stream.test.ts:458:18%0A%0A
packages/git-core test: Failed
/workspace/diffinery/packages/git-core:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @diffinery/git-core@0.1.0 test: `vitest run --shard=2/2`
Exit status 1
Set up job
Diffinery runner: job test (Unit tests (2/2)) for codician/diffinery@9aad5f30a3b5Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in lis01, WEUR, container abd8c92105767d41ef223c2afa7b343f8721713c9ca3de966b3573647b680645Runner size: large (4 vCPU, 12 GiB of memory, 20 GB of disk), an earlier run of this job wasn't measured; runs-on: diffinery-large (or -medium, -small, -tiny) sets a sizeHost: AMD EPYC (family 25, model 17), 4 vCPUs, 2546 MHzWorkspace: /workspace/diffineryHost: 0% of the vCPUs' time went to other work on the host (steal)Job completed with conclusion: failureResources: 1.4 of 4 vCPUs busy on average (3.1 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: 791, done.        Receiving objects:   0% (1/791)
Receiving objects:   1% (8/791)
Receiving objects:   2% (16/791)
Receiving objects:   3% (24/791)
Receiving objects:   4% (32/791)
Receiving objects:   5% (40/791)
Receiving objects:   6% (48/791)
Receiving objects:   7% (56/791)
Receiving objects:   8% (64/791)
Receiving objects:   9% (72/791)
Receiving objects:  10% (80/791)
Receiving objects:  11% (88/791)
Receiving objects:  12% (95/791)
Receiving objects:  13% (103/791)
Receiving objects:  14% (111/791)
Receiving objects:  15% (119/791)
Receiving objects:  16% (127/791)
Receiving objects:  17% (135/791)
Receiving objects:  18% (143/791)
Receiving objects:  19% (151/791)
Receiving objects:  20% (159/791)
Receiving objects:  21% (167/791)
Receiving objects:  22% (175/791)
Receiving objects:  23% (182/791)
Receiving objects:  24% (190/791)
Receiving objects:  25% (198/791)
Receiving objects:  26% (206/791)
Receiving objects:  27% (214/791)
Receiving objects:  28% (222/791)
Receiving objects:  29% (230/791)
Receiving objects:  30% (238/791)
Receiving objects:  31% (246/791)
Receiving objects:  32% (254/791)
Receiving objects:  33% (262/791)
Receiving objects:  34% (269/791)
Receiving objects:  35% (277/791)
Receiving objects:  36% (285/791)
Receiving objects:  37% (293/791)
Receiving objects:  38% (301/791)
Receiving objects:  39% (309/791)
Receiving objects:  40% (317/791)
Receiving objects:  41% (325/791)
Receiving objects:  42% (333/791)
Receiving objects:  43% (341/791)
Receiving objects:  44% (349/791)
Receiving objects:  45% (356/791)
Receiving objects:  46% (364/791)
Receiving objects:  47% (372/791)
Receiving objects:  48% (380/791)
Receiving objects:  49% (388/791)
Receiving objects:  50% (396/791)
Receiving objects:  51% (404/791)
Receiving objects:  52% (412/791)
Receiving objects:  53% (420/791)
Receiving objects:  54% (428/791)
Receiving objects:  55% (436/791)
Receiving objects:  56% (443/791)
Receiving objects:  57% (451/791)
Receiving objects:  58% (459/791)
Receiving objects:  59% (467/791)
Receiving objects:  60% (475/791)
Receiving objects:  61% (483/791)
Receiving objects:  62% (491/791)
Receiving objects:  63% (499/791)
Receiving objects:  64% (507/791)
Receiving objects:  65% (515/791)
Receiving objects:  66% (523/791)
Receiving objects:  67% (530/791)
Receiving objects:  68% (538/791)
Receiving objects:  69% (546/791)
Receiving objects:  70% (554/791)
Receiving objects:  71% (562/791)
Receiving objects:  72% (570/791)
Receiving objects:  73% (578/791)
Receiving objects:  74% (586/791)
Receiving objects:  75% (594/791)
Receiving objects:  76% (602/791)
Receiving objects:  77% (610/791)
Receiving objects:  78% (617/791)
Receiving objects:  79% (625/791)
Receiving objects:  80% (633/791)
Receiving objects:  81% (641/791)
Receiving objects:  82% (649/791)
Receiving objects:  83% (657/791)
Receiving objects:  84% (665/791)
Receiving objects:  85% (673/791)
Receiving objects:  86% (681/791)
Receiving objects:  87% (689/791)
Receiving objects:  88% (697/791)
Receiving objects:  89% (704/791)
Receiving objects:  90% (712/791)
Receiving objects:  91% (720/791)
Receiving objects:  92% (728/791)
Receiving objects:  93% (736/791)
Receiving objects:  94% (744/791)
Receiving objects:  95% (752/791)
Receiving objects:  96% (760/791)
Receiving objects:  97% (768/791)
remote: Total 791 (delta 0), reused 791 (delta 0)        Receiving objects:  98% (776/791)
Receiving objects:  99% (784/791)
Receiving objects: 100% (791/791)
Receiving objects: 100% (791/791), 3.61 MiB | 9.66 MiB/s, done.From https://diffinery.com/codician/diffinery * [new ref]         9aad5f30a3b5fe06933d5eb9249890512f574815 -> origin/mainSwitched to a new branch 'main'HEAD is now at 9aad5f30a3b5fe06933d5eb9249890512f574815
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.15.0 is available)Done in 994ms##[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 (226934503 B)Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b
Run pnpm install --frozen-lockfile3s
##[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 188Progress: resolved 251, reused 245, downloaded 0, added 251, done.../node_modules/workerd postinstall$ node install.js.../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: Done.../esbuild@0.28.1/node_modules/esbuild postinstall: Done.../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js.../esbuild@0.25.12/node_modules/esbuild postinstall: Done.../esbuild@0.25.11/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 3.3s using pnpm v10.28.0
Build2s
##[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  465.9kbapps/cli build: ⚡ Done in 70mscontainers/runner build:   dist/agent.mjs  684.1kbcontainers/runner build: ⚡ Done in 68msapps/cli build: Donecontainers/runner build: Doneapps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KBapps/diffinery build: docs: 76 pages (+2 generated at runtime), 10 site pages, 11 images, CLI 0.1.0 (248 KiB), editor extension 0.1.1 (20 KiB), JetBrains plugin 0.1.0 (64 KiB), Claude Code plugins diffinery 0.1.1, diffinery-ci 0.2.1apps/diffinery build: Done
Unit tests13s
##[group]Run pnpm -r --if-present run test --shard=2/2##[endgroup]Scope: 7 of 8 workspace projectsapps/vscode test$ vitest run --shard=2/2packages/git-core test$ vitest run --shard=2/2packages/workflow-yaml test$ vitest run --shard=2/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.apps/vscode test:  RUN  v4.1.11 /workspace/diffinery/apps/vscodepackages/workflow-yaml test:  RUN  v4.1.11 /workspace/diffinery/packages/workflow-yamlpackages/git-core test:  RUN  v4.1.11 /workspace/diffinery/packages/git-coreapps/vscode test:  ✓ test/signin.test.ts (4 tests) 8msapps/vscode test:  Test Files  1 passed (1)apps/vscode test:       Tests  4 passed (4)apps/vscode test:    Start at  13:33:56apps/vscode test:    Duration  346ms (transform 69ms, setup 0ms, import 95ms, tests 8ms, environment 0ms)apps/vscode test: Donepackages/workflow-yaml test:  ✓ test/matrix.test.ts (17 tests) 23mspackages/workflow-yaml test:  ✓ test/filters.test.ts (78 tests) 43mspackages/workflow-yaml test:  Test Files  2 passed (2)packages/workflow-yaml test:       Tests  95 passed (95)packages/workflow-yaml test:    Start at  13:33:56packages/workflow-yaml test:    Duration  596ms (transform 460ms, setup 0ms, import 732ms, tests 66ms, environment 0ms)packages/workflow-yaml test: Donepackages/git-core test:  ✓ test/bombs.test.ts (4 tests) 308mspackages/git-core test:  ✓ test/zlib.test.ts (4 tests) 1035mspackages/git-core test:      ✓ stops a small object that would inflate to far more than its recorded size  633mspackages/git-core test:  ❯ test/pack-unpack-stream.test.ts (17 tests | 1 failed) 10719mspackages/git-core test:      ✓ finds the same objects, with the same contents, as parsePack 157mspackages/git-core test:      ✓ resolves a thin pack's bases from outside the pack 48mspackages/git-core test:      ✓ reads the pack in ranges and keeps the #125 budget 104mspackages/git-core test:      ✓ refuses a corrupt pack 95mspackages/git-core test:      ✓ refuses an object compressed with gzip instead of zlib 66mspackages/git-core test:      ✓ reads a base from outside the pack once for all its deltas, and counts it 153mspackages/git-core test:      ✓ resolves a long delta chain in one pass  5435mspackages/git-core test:      ✓ refuses a pack whose index alone wouldn't fit in memory 38mspackages/git-core test:      ✓ charges every object it holds, so one huge object is refused rather than run the isolate out of memory  330mspackages/git-core test:      ✓ reads each entry's own range again, keeps small ones from the first pass, and counts its reads 65mspackages/git-core test:      ✓ says what storing it adds: each delta's content, not its few bytes in the pack 64mspackages/git-core test:      ✓ rebuilds the deltas for storing with exactly the work that already passed 233mspackages/git-core test:      ✓ hashes and compresses a large object without a second copy of it  1349mspackages/git-core test:      ✓ checks what a base from the repository takes before reading it 3mspackages/git-core test:      ✓ rebuilds a long history of one large file holding two versions at a time  611mspackages/git-core test:      × frees a chain's first version once the next is rebuilt from it 496mspackages/git-core test:      ✓ measures what a large rebuilt delta compresses to, for counting and storing it  1458mspackages/git-core test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯packages/git-core test:  FAIL  test/pack-unpack-stream.test.ts > StreamedPack > frees a chain's first version once the next is rebuilt from itpackages/git-core test: AssertionError: expected 81860410 to be less than 62914560packages/git-core test:  ❯ test/pack-unpack-stream.test.ts:458:18packages/git-core test:     456|     // At most the version it was rebuilt from and itself, and what th…packages/git-core test:     457|     // version as well. (Only an upper bound: when the collector frees…packages/git-core test:     458|     expect(live).toBeLessThan(2 * n + 8 * 1024 * 1024);packages/git-core test:        |                  ^packages/git-core test:     459|   });packages/git-core test:     460|packages/git-core test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯packages/git-core test:  Test Files  1 failed | 2 passed (3)packages/git-core test:       Tests  1 failed | 24 passed (25)packages/git-core test:    Start at  13:33:56packages/git-core test:    Duration  11.86s (transform 505ms, setup 0ms, import 1.48s, tests 12.06s, environment 0ms)packages/git-core test: ::error file=/workspace/diffinery/packages/git-core/test/pack-unpack-stream.test.ts,title=test/pack-unpack-stream.test.ts > StreamedPack > frees a chain's first version once the next is rebuilt from it,line=458,column=18::AssertionError: expected 81860410 to be less than 62914560%0A ❯ test/pack-unpack-stream.test.ts:458:18%0A%0Apackages/git-core test: Failed/workspace/diffinery/packages/git-core: ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @diffinery/git-core@0.1.0 test: `vitest run --shard=2/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 credentials

Job summary

Vitest Test Report

Summary

  • Test Files: ✅ 1 pass · 1 total
  • Test Results: ✅ 4 passes · 4 total

Vitest Test Report

Summary

  • Test Files: ✅ 2 passes · 2 total
  • Test Results: ✅ 95 passes · 95 total

Vitest Test Report

Summary

  • Test Files: ❌ 1 failure · ✅ 2 passes · 3 total
  • Test Results: ❌ 1 failure · ✅ 24 passes · 25 total