End-to-end (git, PRs, Actions)
took 6m 12s Raw logs
Matrix: name: git, PRs, Actions, shard: core
Failed at Run the shard's tests
Process completed with exit code 1. --- duration_ms: 30447.070433 type: 'test' ... # Subtest: scheduled workflows: the schedule fires without a cron trigger ok 24 - scheduled workflows: the schedule fires without a cron trigger --- duration_ms: 113.852422 type: 'test' ... 1..24 # tests 24 # suites 0 # pass 23 # fail 1 # cancelled 0 # skipped 0 # todo 0 # duration_ms 282323.598594
Set up job
Diffinery runner: job e2e (End-to-end (git, PRs, Actions)) for homeflare/diffinery@4bc699234c58Runner: image diffinery-runner:6262336767b4cbfed9de170b, in loc01, REGN, container RunnerContainer:853ce02319168c44f7a7e48e7262e5ec3a94f4144156344b6479540e2d31b917Runner size: large (4 vCPU, 12 GiB of memory, 20 GB of disk), a re-run runs on the large runner; runs-on: diffinery-large (or -medium, -small, -tiny) sets a sizeHost: AMD Ryzen 9 9900X 12-Core Processor (family 26, model 68), 24 vCPUs, 5400 MHzWorkspace: /workspace/diffineryHost: 0% of the vCPUs' time went to other work on the host (steal)Job completed with conclusion: failureResources: 0.2 of 4 vCPUs busy on average (0.9 at the 95th percentile), peak memory 30.1 GiB of 60.4 GiB, peak disk 410.5 GB of 497.3 GB
Run actions/checkout@v42s
##[group]Run actions/checkout@v4##[endgroup]Syncing repository: homeflare/diffineryFetching the repository (depth 1)remote: Enumerating objects: 943, done. Receiving objects: 0% (1/943) Receiving objects: 1% (10/943) Receiving objects: 2% (19/943) Receiving objects: 3% (29/943) Receiving objects: 4% (38/943) Receiving objects: 5% (48/943) Receiving objects: 6% (57/943) Receiving objects: 7% (67/943) Receiving objects: 8% (76/943) Receiving objects: 9% (85/943) Receiving objects: 10% (95/943) Receiving objects: 11% (104/943) Receiving objects: 12% (114/943) Receiving objects: 13% (123/943) Receiving objects: 14% (133/943) Receiving objects: 15% (142/943) Receiving objects: 16% (151/943) Receiving objects: 17% (161/943) Receiving objects: 18% (170/943) Receiving objects: 19% (180/943) Receiving objects: 20% (189/943) Receiving objects: 21% (199/943) Receiving objects: 22% (208/943) Receiving objects: 23% (217/943) Receiving objects: 24% (227/943) Receiving objects: 25% (236/943) Receiving objects: 26% (246/943) Receiving objects: 27% (255/943) Receiving objects: 28% (265/943) Receiving objects: 29% (274/943) Receiving objects: 30% (283/943) Receiving objects: 31% (293/943) Receiving objects: 32% (302/943) Receiving objects: 33% (312/943) Receiving objects: 34% (321/943) Receiving objects: 35% (331/943) Receiving objects: 36% (340/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 37% (349/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 38% (359/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 39% (368/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 40% (378/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 41% (387/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 42% (397/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 43% (406/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 44% (415/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 45% (425/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 46% (434/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 47% (444/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 48% (453/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 49% (463/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 50% (472/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 51% (481/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 52% (491/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 53% (500/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 54% (510/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 55% (519/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 56% (529/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 57% (538/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 58% (547/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 59% (557/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 60% (566/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 61% (576/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 62% (585/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 63% (595/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 64% (604/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 65% (613/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 66% (623/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 67% (632/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 68% (642/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 69% (651/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 70% (661/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 71% (670/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 72% (679/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 73% (689/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 74% (698/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 75% (708/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 76% (717/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 77% (727/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 78% (736/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 79% (745/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 80% (755/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 81% (764/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 82% (774/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 83% (783/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 84% (793/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 85% (802/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 86% (811/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 86% (817/943), 2.32 MiB | 4.51 MiB/s Receiving objects: 87% (821/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 88% (830/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 89% (840/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 90% (849/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 91% (859/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 92% (868/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 93% (877/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 94% (887/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 95% (896/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 96% (906/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 97% (915/943), 4.44 MiB | 4.35 MiB/s remote: Total 943 (delta 0), reused 943 (delta 0) Receiving objects: 98% (925/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 99% (934/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 100% (943/943), 4.44 MiB | 4.35 MiB/s Receiving objects: 100% (943/943), 5.92 MiB | 4.92 MiB/s, done.From https://git.1j.nz/homeflare/diffinery * [new ref] 4bc699234c5880d2708ee4a4fbdf10a91195ed32 -> origin/mainSwitched to a new branch 'main'HEAD is now at 4bc699234c5880d2708ee4a4fbdf10a91195ed32
Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b11s
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.26.0 is available)Done in 592ms##[endgroup]Installation Completed!
Run actions/setup-node@v41m 13s
##[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 (226898402 B)Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b
Run pnpm install --frozen-lockfile11s
##[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 32Progress: resolved 251, reused 245, downloaded 0, added 34Progress: resolved 251, reused 245, downloaded 0, added 35Progress: resolved 251, reused 245, downloaded 0, added 192Progress: resolved 251, reused 245, downloaded 0, added 251, done.../[email protected]/node_modules/esbuild postinstall$ node install.js.../[email protected]/node_modules/esbuild postinstall$ node install.js.../node_modules/workerd postinstall$ node install.js.../node_modules/workerd postinstall$ node install.js.../[email protected]/node_modules/esbuild postinstall$ node install.js.../[email protected]/node_modules/esbuild postinstall: Done.../[email protected]/node_modules/esbuild postinstall$ node install.js.../[email protected]/node_modules/esbuild postinstall: Done.../[email protected]/node_modules/esbuild postinstall: Done.../[email protected]/node_modules/esbuild postinstall: Done.../node_modules/workerd postinstall: Done.../node_modules/workerd postinstall: DonedevDependencies:+ turbo 2.11.7+ typescript 5.9.3Done in 10.6s using pnpm v10.28.0
Run pnpm -r --if-present 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.mjs && node scripts/build-grammars.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 473.3kbapps/cli build: ⚡ Done in 43msapps/cli build: Donecontainers/runner build: dist/agent.mjs 687.7kbcontainers/runner build: ⚡ Done in 46mscontainers/runner build: Doneapps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KBapps/diffinery build: docs: 88 pages (+2 generated at runtime), 20 site pages, 15 images, CLI 0.2.0 (254 KiB), editor extension 0.1.2 (26 KiB), JetBrains plugin 0.1.1 (70 KiB), Claude Code plugins diffinery 0.1.5, diffinery-ci 0.2.5apps/diffinery build: grammars: 62 languages, 73 grammars (2954 KiB)apps/diffinery build: Done
Run pnpm --filter @diffinery/app exec playwright install --with-deps chromium
Run as_root() { if [ "$(id -u)" = 0 ]; then "$@"; else sudo "$@"; fi; }
Run the shard's tests4m 42s
##[group]Run # Shards of similar length; a new test file runs in "rest" unless it's added to another.core='/e2e\.test\.mjs$'agents='/(agentic|review|tasks)\.test\.mjs$'# security.test.mjs, security-*.test.mjs (security-txt's too) and status.test.mjs.security='/(security(-[a-z-]+)?|status)\.test\.mjs$'# The core file's real histories and large pushes take minutes each (jquery's alone 2 to 3 on# Diffinery's runners): two shards of their own, so no part of the file runs into node's# per-file timeout, which is the --test-timeout here.histories='^real histories:'large='^(large files|large pushes):'opts=(--test-timeout=600000)case "core" in core) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-skip-pattern="$histories" --test-skip-pattern="$large") ;; histories) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts=(--test-timeout=900000 --test-name-pattern="$histories") ;; large) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-name-pattern="$large") ;; agents) files=$(ls test/e2e/*.test.mjs | grep -E "$agents") ;; security) files=$(ls test/e2e/*.test.mjs | grep -E "$security") ;; *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents|$security") ;;esacecho "$files"# Two files at a time: each starts its own local server on its own port, database and# directory, so they don't share state, and a file's server mostly keeps one core busy.node --test --test-concurrency=2 "${opts[@]}" $files##[endgroup]test/e2e/e2e.test.mjsTAP version 13# Subtest: scheduled workflows: a push to the default branch registers the scheduleok 1 - scheduled workflows: a push to the default branch registers the schedule --- duration_ms: 26129.769718 type: 'test' ...# Subtest: git hosting, Actions, protected PR flow and MCPnot ok 2 - git hosting, Actions, protected PR flow and MCP --- duration_ms: 26317.624409 type: 'test' location: '/workspace/diffinery/apps/diffinery/test/e2e/e2e.test.mjs:253:1' failureType: 'testCodeFailure' error: |- Expected values to be strictly equal: 500 !== 200 code: 'ERR_ASSERTION' name: 'AssertionError' expected: 200 actual: 500 operator: 'strictEqual' stack: |- rpc (file:///workspace/diffinery/apps/diffinery/test/e2e/e2e.test.mjs:435:12) process.processTicksAndRejections (node:internal/process/task_queues:105:5) async TestContext.<anonymous> (file:///workspace/diffinery/apps/diffinery/test/e2e/e2e.test.mjs:455:16) async Test.run (node:internal/test_runner/test:1054:7) async Test.processPendingSubtests (node:internal/test_runner/test:744:7) ...# Subtest: objects of every size: read back, compared and used as delta basesok 3 - objects of every size: read back, compared and used as delta bases --- duration_ms: 1243.221023 type: 'test' ...# Subtest: reusable workflows: inputs, secrets, outputs, nesting and skipped callsok 4 - reusable workflows: inputs, secrets, outputs, nesting and skipped calls --- duration_ms: 1408.569209 type: 'test' ...# Subtest: job graph: needs-only scheduling, skip cascades, per-leg runs-on, continue-on-error, job concurrency and public payloadsok 5 - job graph: needs-only scheduling, skip cascades, per-leg runs-on, continue-on-error, job concurrency and public payloads --- duration_ms: 2846.08185 type: 'test' ...# Subtest: re-runs: failed jobs only keep what passed, and one job re-runs with what depends on itok 6 - re-runs: failed jobs only keep what passed, and one job re-runs with what depends on it --- duration_ms: 11474.048659 type: 'test' ...# Subtest: workflow_run: a workflow follows another one on the default branchok 7 - workflow_run: a workflow follows another one on the default branch --- duration_ms: 1942.409073 type: 'test' ...# Subtest: triggers from workflows: a job's repository_dispatch starts runs, a follower of agent code stays an agent'sok 8 - triggers from workflows: a job's repository_dispatch starts runs, a follower of agent code stays an agent's --- duration_ms: 24113.919446 type: 'test' ...# Subtest: pull requests: test merge commits, pull_request_target and the merge queueok 9 - pull requests: test merge commits, pull_request_target and the merge queue --- duration_ms: 5479.066966 type: 'test' ...# Subtest: workflow tokens: read-only default, no approvals or workflow edits, agent code stays an agentok 10 - workflow tokens: read-only default, no approvals or workflow edits, agent code stays an agent --- duration_ms: 3645.634052 type: 'test' ...# Subtest: caches are scoped to branches and pull requests; artifacts keep their retention-daysok 11 - caches are scoped to branches and pull requests; artifacts keep their retention-days --- duration_ms: 35783.708189 type: 'test' ...# Subtest: an older runner's cache API is scoped the same wayok 12 - an older runner's cache API is scoped the same way --- duration_ms: 707.665503 type: 'test' ...# Subtest: an older runner's artifact API needs the job's own tokenok 13 - an older runner's artifact API needs the job's own token --- duration_ms: 470.197799 type: 'test' ...# Subtest: an older runner's artifacts are listed, downloaded and deleted through the REST APIok 14 - an older runner's artifacts are listed, downloaded and deleted through the REST API --- duration_ms: 540.063104 type: 'test' ...# Subtest: containers: a job container and service containers on a self-hosted runnerok 15 - containers: a job container and service containers on a self-hosted runner --- duration_ms: 27228.032103 type: 'test' ...# Subtest: official actions: checkout, cache, artifacts, github-script and setup-* run unmodifiedok 16 - official actions: checkout, cache, artifacts, github-script and setup-* run unmodified --- duration_ms: 55877.292523 type: 'test' ...# Subtest: official actions: the second run hits every cache and reads the first run's artifactsok 17 - official actions: the second run hits every cache and reads the first run's artifacts --- duration_ms: 14450.064211 type: 'test' ...# Subtest: objects of every size: files from 0 bytes to 1.2 MB, read cold after a restart, come back intact from contents, diffs, pushes and clonesok 18 - objects of every size: files from 0 bytes to 1.2 MB, read cold after a restart, come back intact from contents, diffs, pushes and clones --- duration_ms: 6904.823296 type: 'test' ...# Subtest: D1 sessions: bookmarks for token clients and browsersok 19 - D1 sessions: bookmarks for token clients and browsers --- duration_ms: 198.7103 type: 'test' ...# GET /repos/dev/compat/contents/missing.txt - 404 with id UNKNOWN in 14ms# PUT /repos/dev/compat/contents/README.md - 409 with id UNKNOWN in 14ms# POST /repos/dev/compat/git/refs - 422 with id UNKNOWN in 12ms# POST /repos/dev/compat/statuses/cfce1df74dfe390fdcb5b83c706d581906eaa1c2 - 422 with id UNKNOWN in 12ms# POST http://127.0.0.1:32497/api/uploads/repos/dev/compat/releases/1/assets?name=hello.txt& - 422 with id UNKNOWN in 16ms# GET /repos/dev/compat/releases/2 - 404 with id UNKNOWN in 9ms# POST /repos/dev/compat/releases - 403 with id UNKNOWN in 11ms# GET /repos/dev/compat/releases/tags/v2.0.0-rc.1 - 404 with id UNKNOWN in 11ms# PATCH /repos/dev/compat - 422 with id UNKNOWN in 13ms# POST /repos/dev/compat/labels - 422 with id UNKNOWN in 11ms# GET /repos/dev/compat/issues/comments/3 - 404 with id UNKNOWN in 11ms# Subtest: GitHub REST compatibility: Octokit against releases, statuses, git data, issues, deployments and searchok 20 - GitHub REST compatibility: Octokit against releases, statuses, git data, issues, deployments and search --- duration_ms: 3063.45756 type: 'test' ...# Subtest: people and profiles: visibility, repository invitations, blank names and usernamesok 21 - people and profiles: visibility, repository invitations, blank names and usernames --- duration_ms: 670.409456 type: 'test' ...# Subtest: profile pictures: upload, resize, serve, cache headers and removalok 22 - profile pictures: upload, resize, serve, cache headers and removal --- duration_ms: 339.099828 type: 'test' ...# Subtest: import from GitHub: git data, issues and pull requests with their numbers, no side effectsok 23 - import from GitHub: git data, issues and pull requests with their numbers, no side effects --- duration_ms: 30447.070433 type: 'test' ...# Subtest: scheduled workflows: the schedule fires without a cron triggerok 24 - scheduled workflows: the schedule fires without a cron trigger --- duration_ms: 113.852422 type: 'test' ...1..24# tests 24# suites 0# pass 23# fail 1# cancelled 0# skipped 0# todo 0# duration_ms 282323.598594##[error]Process completed with exit code 1.
Post Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b10s
Pruning is unnecessary.Post Run actions/checkout@v40s
Removing persisted credentials