Unit tests (2/2)
took 2m 8s Raw logs
Matrix: shard: 2
Failed at Unit tests
Process completed with exit code 1.
packages/git-core test: If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".[39m
packages/git-core test: [36m [2m❯[22m test/pack-unpack-stream.test.ts:[2m341:3[22m[39m
packages/git-core test: [90m339|[39m })[33m;[39m
packages/git-core test: [90m340|[39m
packages/git-core test: [90m341|[39m it("hashes and compresses a large object without a second copy of it…
packages/git-core test: [90m |[39m [31m^[39m
packages/git-core test: [90m342|[39m [35mconst[39m content [33m=[39m [35mnew[39m [33mUint8Array[39m([34mrandomBytes[39m([34m8[39m [33m*[39m [34m1024[39m [33m*[39m [34m1024[39m))[33m;[39m
packages/git-core test: [90m343|[39m const want = createHash("sha1").update(`blob ${content.length}\0`)…
packages/git-core test: [31m[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯[22m[39m
packages/git-core test: [2m Test Files [22m [1m[31m1 failed[39m[22m[2m | [22m[1m[32m2 passed[39m[22m[90m (3)[39m
packages/git-core test: [2m Tests [22m [1m[31m2 failed[39m[22m[2m | [22m[1m[32m28 passed[39m[22m[90m (30)[39m
packages/git-core test: [2m Start at [22m 12:59:48
packages/git-core test: [2m Duration [22m 71.08s[2m (transform 4.90s, setup 0ms, import 10.09s, tests 74.92s, environment 1ms)[22m
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 > resolves a long delta chain in one pass,line=247,column=28::AssertionError: expected 24526 to be less than 20000%0A ❯ test/pack-unpack-stream.test.ts:247:28%0A%0A
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 > hashes and compresses a large object without a second copy of it,line=341,column=3::Error: Test timed out in 5000ms.%0AIf this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".%0A ❯ test/pack-unpack-stream.test.ts:341:3%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 1Set up job
Diffinery runner: job test (Unit tests (2/2)) for codician/diffinery@64fcdfd18f9eRunner: image diffinery-runner:2a3052eff7a82a483a7fde51, in cdg10, WEUR, container c0fe80d6e88933b95127a105f567100fabe6acef131554a43f83ca8ed8c2205dWorkspace: /workspace/diffineryJob completed with conclusion: failure
Run actions/checkout@v42s
##[group]Run actions/checkout@v4##[endgroup]Syncing repository: codician/diffineryFetching the repository (depth 1)remote: Enumerating objects: 602, done. Receiving objects: 0% (1/602) Receiving objects: 1% (7/602) Receiving objects: 2% (13/602) Receiving objects: 3% (19/602) Receiving objects: 4% (25/602) Receiving objects: 5% (31/602) Receiving objects: 6% (37/602) Receiving objects: 7% (43/602) Receiving objects: 8% (49/602) Receiving objects: 9% (55/602) Receiving objects: 10% (61/602) Receiving objects: 11% (67/602) Receiving objects: 12% (73/602) Receiving objects: 13% (79/602) Receiving objects: 14% (85/602) Receiving objects: 15% (91/602) Receiving objects: 16% (97/602) Receiving objects: 17% (103/602) Receiving objects: 18% (109/602) Receiving objects: 19% (115/602) Receiving objects: 20% (121/602) Receiving objects: 21% (127/602) Receiving objects: 22% (133/602) Receiving objects: 23% (139/602) Receiving objects: 24% (145/602) Receiving objects: 25% (151/602) Receiving objects: 26% (157/602) Receiving objects: 27% (163/602) Receiving objects: 28% (169/602) Receiving objects: 29% (175/602) Receiving objects: 30% (181/602) Receiving objects: 31% (187/602) Receiving objects: 32% (193/602) Receiving objects: 33% (199/602) Receiving objects: 34% (205/602) Receiving objects: 35% (211/602) Receiving objects: 36% (217/602) Receiving objects: 37% (223/602) Receiving objects: 38% (229/602) Receiving objects: 39% (235/602) Receiving objects: 40% (241/602) Receiving objects: 41% (247/602) Receiving objects: 42% (253/602) Receiving objects: 43% (259/602) Receiving objects: 44% (265/602) Receiving objects: 45% (271/602) Receiving objects: 46% (277/602) Receiving objects: 47% (283/602) Receiving objects: 48% (289/602) Receiving objects: 49% (295/602) Receiving objects: 50% (301/602) Receiving objects: 51% (308/602) Receiving objects: 52% (314/602) Receiving objects: 53% (320/602) Receiving objects: 54% (326/602) Receiving objects: 55% (332/602) Receiving objects: 56% (338/602) Receiving objects: 57% (344/602) Receiving objects: 58% (350/602) Receiving objects: 59% (356/602) Receiving objects: 60% (362/602) Receiving objects: 61% (368/602) Receiving objects: 62% (374/602) Receiving objects: 63% (380/602) Receiving objects: 64% (386/602) Receiving objects: 65% (392/602) Receiving objects: 66% (398/602) Receiving objects: 67% (404/602) Receiving objects: 68% (410/602) Receiving objects: 69% (416/602) Receiving objects: 70% (422/602) Receiving objects: 71% (428/602) Receiving objects: 72% (434/602) Receiving objects: 73% (440/602) Receiving objects: 74% (446/602) Receiving objects: 75% (452/602) Receiving objects: 76% (458/602) Receiving objects: 77% (464/602) Receiving objects: 78% (470/602) Receiving objects: 79% (476/602) Receiving objects: 80% (482/602) Receiving objects: 81% (488/602) Receiving objects: 82% (494/602) Receiving objects: 83% (500/602) Receiving objects: 84% (506/602) Receiving objects: 85% (512/602) Receiving objects: 86% (518/602) Receiving objects: 87% (524/602) Receiving objects: 88% (530/602) Receiving objects: 89% (536/602) Receiving objects: 90% (542/602) Receiving objects: 91% (548/602) Receiving objects: 92% (554/602) Receiving objects: 93% (560/602) Receiving objects: 94% (566/602) Receiving objects: 95% (572/602) Receiving objects: 96% (578/602) remote: Total 602 (delta 0), reused 602 (delta 0) Receiving objects: 97% (584/602) Receiving objects: 98% (590/602) Receiving objects: 99% (596/602) Receiving objects: 100% (602/602) Receiving objects: 100% (602/602), 2.44 MiB | 9.95 MiB/s, done.From https://diffinery.com/codician/diffinery * [new ref] 64fcdfd18f9ec43c5e3f33eff550c1cdf10c44c8 -> origin/mainSwitched to a new branch 'main'HEAD is now at 64fcdfd18f9ec43c5e3f33eff550c1cdf10c44c8
Run pnpm/action-setup@v44s
Download action repository 'pnpm/action-setup@v4'##[group]Run pnpm/action-setup@v4with: 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 2.4s##[endgroup]Installation Completed!
Run actions/setup-node@v415s
##[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: ~215 MB (225870423 B)Cache restored from key: node-cache-Linux-x64-pnpm-4b94436b86798d88b931ea24b5b847697aebf45520d6ef384cb382ce6c1f1e08
Run pnpm install --frozen-lockfile24s
##[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: +248++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Progress: resolved 248, reused 168, downloaded 0, added 0Progress: resolved 248, reused 242, downloaded 0, added 225Progress: resolved 248, reused 242, downloaded 0, added 248, donedevDependencies:+ turbo 2.11.7+ typescript 5.9.3Done in 22.6s using pnpm v10.28.0
Build5s
##[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 439.5kbapps/cli build: ⚡ Done in 169mscontainers/runner build: dist/agent.mjs 657.3kbcontainers/runner build: ⚡ Done in 178msapps/cli build: Donecontainers/runner build: Doneapps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KBapps/diffinery build: docs: 62 pages (+2 generated at runtime), CLI 0.1.0 (230 KiB)apps/diffinery build: Done
Unit tests1m 15s
##[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: 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) 115mspackages/workflow-yaml test: ✓ test/filters.test.ts (78 tests) 510mspackages/workflow-yaml test: Test Files 2 passed (2)packages/workflow-yaml test: Tests 95 passed (95)packages/workflow-yaml test: Start at 12:59:48packages/workflow-yaml test: Duration 4.59s (transform 3.03s, setup 0ms, import 5.26s, tests 626ms, environment 1ms)packages/workflow-yaml test: Donepackages/git-core test: ✓ test/bombs.test.ts (4 tests) 2159mspackages/git-core test: ✓ stops inflating an object at its declared size 1072mspackages/git-core test: ✓ inflates a large blob that tiny deltas use as their base once for all of them, within the memory budget 768mspackages/git-core test: ✓ test/pack.test.ts (9 tests) 8052mspackages/git-core test: ✓ parses a real git pack with ofs deltas and verifies all oids 631mspackages/git-core test: ✓ hands over the zlib data of every object that isn't a delta, which inflates to its content 1009mspackages/git-core test: ✓ keeps large blobs compressed, with the same oids, and still resolves deltas against them 1041mspackages/git-core test: ✓ parses a pack over 16 MB holding one large blob 4514mspackages/git-core test: ✓ writes packs that git accepts 453mspackages/git-core test: ❯ test/pack-unpack-stream.test.ts (17 tests | 2 failed) 64711mspackages/git-core test: ✓ finds the same objects, with the same contents, as parsePack 759mspackages/git-core test: ✓ resolves a thin pack's bases from outside the pack 321mspackages/git-core test: ✓ reads the pack in ranges and keeps the #125 budget 1093mspackages/git-core test: ✓ refuses a corrupt pack 813mspackages/git-core test: ✓ refuses an object compressed with gzip instead of zlib 324mspackages/git-core test: ✓ reads a base from outside the pack once for all its deltas, and counts it 1110mspackages/git-core test: × resolves a long delta chain in one pass 29747mspackages/git-core test: ✓ refuses a pack whose index alone wouldn't fit in memory 384mspackages/git-core test: ✓ charges every object it holds, so one huge object is refused rather than run the isolate out of memory 1026mspackages/git-core test: ✓ reads each entry's own range again, keeps small ones from the first pass, and counts its reads 923mspackages/git-core test: ✓ says what storing it adds: each delta's content, not its few bytes in the pack 225mspackages/git-core test: ✓ rebuilds the deltas for storing with exactly the work that already passed 1414mspackages/git-core test: × hashes and compresses a large object without a second copy of it 5265mspackages/git-core test: ✓ checks what a base from the repository takes before reading it 12mspackages/git-core test: ✓ rebuilds a long history of one large file holding two versions at a time 11101mspackages/git-core test: ✓ frees a chain's first version once the next is rebuilt from it 6832mspackages/git-core test: ✓ measures what a large rebuilt delta compresses to, for counting and storing it 3318mspackages/git-core test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯packages/git-core test: FAIL test/pack-unpack-stream.test.ts > StreamedPack > resolves a long delta chain in one passpackages/git-core test: AssertionError: expected 24526 to be less than 20000packages/git-core test: ❯ test/pack-unpack-stream.test.ts:247:28packages/git-core test: 245| await StreamedPack.open(source(pack), {}, (o, content) => void see…packages/git-core test: 246| // Round by round, this took most of a minute.packages/git-core test: 247| expect(Date.now() - t).toBeLessThan(20_000);packages/git-core test: | ^packages/git-core test: 248| expect(seen.size).toBe(n + 1);packages/git-core test: 249| expect(Buffer.from(seen.get(oids[n]!)!).equals(Buffer.from(content…packages/git-core test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯packages/git-core test: FAIL test/pack-unpack-stream.test.ts > StreamedPack > hashes and compresses a large object without a second copy of itpackages/git-core test: Error: Test timed out in 5000ms.packages/git-core test: If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".packages/git-core test: ❯ test/pack-unpack-stream.test.ts:341:3packages/git-core test: 339| });packages/git-core test: 340|packages/git-core test: 341| it("hashes and compresses a large object without a second copy of it…packages/git-core test: | ^packages/git-core test: 342| const content = new Uint8Array(randomBytes(8 * 1024 * 1024));packages/git-core test: 343| const want = createHash("sha1").update(`blob ${content.length}\0`)…packages/git-core test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯packages/git-core test: Test Files 1 failed | 2 passed (3)packages/git-core test: Tests 2 failed | 28 passed (30)packages/git-core test: Start at 12:59:48packages/git-core test: Duration 71.08s (transform 4.90s, setup 0ms, import 10.09s, tests 74.92s, environment 1ms)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 > resolves a long delta chain in one pass,line=247,column=28::AssertionError: expected 24526 to be less than 20000%0A ❯ test/pack-unpack-stream.test.ts:247:28%0A%0Apackages/git-core test: ::error file=/workspace/diffinery/packages/git-core/test/pack-unpack-stream.test.ts,title=test/pack-unpack-stream.test.ts > StreamedPack > hashes and compresses a large object without a second copy of it,line=341,column=3::Error: Test timed out in 5000ms.%0AIf this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".%0A ❯ test/pack-unpack-stream.test.ts:341:3%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@v41s
Pruning is unnecessary.Post Run actions/checkout@v40s
Removing persisted credentialsJob summary
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: ❌ 2 failures · ✅ 28 passes · 30 total