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 35s 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 81789098 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  12:59:25
packages/git-core test:    Duration  12.64s (transform 783ms, setup 0ms, import 1.81s, tests 12.68s, 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 81789098 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@e780fae13c0dRunner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in cdg07, WEUR, container 2bb89cefaad3157959087c026bc74fda96c74d1d9afb6a5ec6b7786cb7136c9bRunner 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, 2546 MHzWorkspace: /workspace/diffineryHost: 0% of the vCPUs' time went to other work on the host (steal)Job completed with conclusion: failureResources: 1.3 of 4 vCPUs busy on average (3.0 at the 95th percentile), peak memory 1.6 GiB of 11.9 GiB, peak disk 2.1 GB of 19.2 GB
Run actions/checkout@v42s
##[group]Run actions/checkout@v4##[endgroup]Syncing repository: codician/diffineryFetching the repository (depth 1)remote: Enumerating objects: 787, done.        Receiving objects:   0% (1/787)
Receiving objects:   1% (8/787)
Receiving objects:   2% (16/787)
Receiving objects:   3% (24/787)
Receiving objects:   4% (32/787)
Receiving objects:   5% (40/787)
Receiving objects:   6% (48/787)
Receiving objects:   7% (56/787)
Receiving objects:   8% (63/787)
Receiving objects:   9% (71/787)
Receiving objects:  10% (79/787)
Receiving objects:  11% (87/787)
Receiving objects:  12% (95/787)
Receiving objects:  13% (103/787)
Receiving objects:  14% (111/787)
Receiving objects:  15% (119/787)
Receiving objects:  16% (126/787)
Receiving objects:  17% (134/787)
Receiving objects:  18% (142/787)
Receiving objects:  19% (150/787)
Receiving objects:  20% (158/787)
Receiving objects:  21% (166/787)
Receiving objects:  22% (174/787)
Receiving objects:  23% (182/787)
Receiving objects:  24% (189/787)
Receiving objects:  25% (197/787)
Receiving objects:  26% (205/787)
Receiving objects:  27% (213/787)
Receiving objects:  28% (221/787)
Receiving objects:  29% (229/787)
Receiving objects:  30% (237/787)
Receiving objects:  31% (244/787)
Receiving objects:  32% (252/787)
Receiving objects:  33% (260/787)
Receiving objects:  34% (268/787)
Receiving objects:  35% (276/787)
Receiving objects:  36% (284/787)
Receiving objects:  37% (292/787)
Receiving objects:  38% (300/787)
Receiving objects:  39% (307/787)
Receiving objects:  40% (315/787)
Receiving objects:  41% (323/787)
Receiving objects:  42% (331/787)
Receiving objects:  43% (339/787)
Receiving objects:  44% (347/787)
Receiving objects:  45% (355/787)
Receiving objects:  46% (363/787)
Receiving objects:  47% (370/787)
Receiving objects:  48% (378/787)
Receiving objects:  49% (386/787)
Receiving objects:  50% (394/787)
Receiving objects:  51% (402/787)
Receiving objects:  52% (410/787)
Receiving objects:  53% (418/787)
Receiving objects:  54% (425/787)
Receiving objects:  55% (433/787)
Receiving objects:  56% (441/787)
Receiving objects:  57% (449/787)
Receiving objects:  58% (457/787)
Receiving objects:  59% (465/787)
Receiving objects:  60% (473/787)
Receiving objects:  61% (481/787)
Receiving objects:  62% (488/787)
Receiving objects:  63% (496/787)
Receiving objects:  64% (504/787)
Receiving objects:  65% (512/787)
Receiving objects:  66% (520/787)
Receiving objects:  67% (528/787)
Receiving objects:  68% (536/787)
Receiving objects:  69% (544/787)
Receiving objects:  70% (551/787)
Receiving objects:  71% (559/787)
Receiving objects:  72% (567/787)
Receiving objects:  73% (575/787)
Receiving objects:  74% (583/787)
Receiving objects:  75% (591/787)
Receiving objects:  76% (599/787)
Receiving objects:  77% (606/787)
Receiving objects:  78% (614/787)
Receiving objects:  79% (622/787)
Receiving objects:  80% (630/787)
Receiving objects:  81% (638/787)
Receiving objects:  82% (646/787)
Receiving objects:  83% (654/787)
Receiving objects:  84% (662/787)
Receiving objects:  85% (669/787)
Receiving objects:  86% (677/787)
Receiving objects:  87% (685/787)
Receiving objects:  88% (693/787)
Receiving objects:  89% (701/787)
Receiving objects:  90% (709/787)
Receiving objects:  91% (717/787)
Receiving objects:  92% (725/787)
Receiving objects:  93% (732/787)
Receiving objects:  94% (740/787)
Receiving objects:  95% (748/787)
Receiving objects:  96% (756/787)
Receiving objects:  97% (764/787)
remote: Total 787 (delta 0), reused 787 (delta 0)        Receiving objects:  98% (772/787)
Receiving objects:  99% (780/787)
Receiving objects: 100% (787/787)
Receiving objects: 100% (787/787), 3.60 MiB | 7.82 MiB/s, done.From https://diffinery.com/codician/diffinery * [new ref]         e780fae13c0df9a748e6ff80581da844e5452d8e -> origin/mainSwitched to a new branch 'main'HEAD is now at e780fae13c0df9a748e6ff80581da844e5452d8e
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 1s##[endgroup]Installation Completed!
Run actions/setup-node@v46s
##[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-lockfile4s
##[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 165Progress: resolved 251, reused 245, downloaded 0, added 250Progress: resolved 251, reused 245, downloaded 0, added 251, done.../node_modules/workerd 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.28.1/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.../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js.../esbuild@0.28.1/node_modules/esbuild postinstall: Done.../node_modules/workerd 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 4s 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 41msapps/cli build: Donecontainers/runner build:   dist/agent.mjs  684.1kbcontainers/runner build: ⚡ Done in 74mscontainers/runner build: Doneapps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KBapps/diffinery build: docs: 75 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 tests17s
##[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/2apps/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/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: (!) 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:  RUN  v4.1.11 /workspace/diffinery/packages/workflow-yamlapps/vscode test:  RUN  v4.1.11 /workspace/diffinery/apps/vscodepackages/git-core test:  RUN  v4.1.11 /workspace/diffinery/packages/git-coreapps/vscode test:  ✓ test/signin.test.ts (4 tests) 11msapps/vscode test:  Test Files  1 passed (1)apps/vscode test:       Tests  4 passed (4)apps/vscode test:    Start at  12:59:25apps/vscode test:    Duration  358ms (transform 77ms, setup 0ms, import 102ms, tests 11ms, environment 0ms)apps/vscode test: Donepackages/workflow-yaml test:  ✓ test/matrix.test.ts (17 tests) 24mspackages/workflow-yaml test:  ✓ test/filters.test.ts (78 tests) 60mspackages/workflow-yaml test:  Test Files  2 passed (2)packages/workflow-yaml test:       Tests  95 passed (95)packages/workflow-yaml test:    Start at  12:59:25packages/workflow-yaml test:    Duration  678ms (transform 630ms, setup 0ms, import 884ms, tests 84ms, environment 0ms)packages/workflow-yaml test: Donepackages/git-core test:  ✓ test/bombs.test.ts (4 tests) 325mspackages/git-core test:  ✓ test/zlib.test.ts (4 tests) 1035mspackages/git-core test:      ✓ reads what it writes, small objects natively and large ones with pako  305mspackages/git-core test:      ✓ stops a small object that would inflate to far more than its recorded size  645mspackages/git-core test:  ❯ test/pack-unpack-stream.test.ts (17 tests | 1 failed) 11320mspackages/git-core test:      ✓ finds the same objects, with the same contents, as parsePack 148mspackages/git-core test:      ✓ resolves a thin pack's bases from outside the pack 43mspackages/git-core test:      ✓ reads the pack in ranges and keeps the #125 budget 106mspackages/git-core test:      ✓ refuses a corrupt pack 99mspackages/git-core test:      ✓ refuses an object compressed with gzip instead of zlib 67mspackages/git-core test:      ✓ reads a base from outside the pack once for all its deltas, and counts it 158mspackages/git-core test:      ✓ resolves a long delta chain in one pass  6389mspackages/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  355mspackages/git-core test:      ✓ reads each entry's own range again, keeps small ones from the first pass, and counts its reads 68mspackages/git-core test:      ✓ says what storing it adds: each delta's content, not its few bytes in the pack 71mspackages/git-core test:      ✓ rebuilds the deltas for storing with exactly the work that already passed 226mspackages/git-core test:      ✓ hashes and compresses a large object without a second copy of it  1299mspackages/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  512mspackages/git-core test:      × frees a chain's first version once the next is rebuilt from it 409mspackages/git-core test:      ✓ measures what a large rebuilt delta compresses to, for counting and storing it  1316mspackages/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 81789098 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  12:59:25packages/git-core test:    Duration  12.64s (transform 783ms, setup 0ms, import 1.81s, tests 12.68s, 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 81789098 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