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.

End-to-end (git, PRs, Actions)

took 2m 39s Raw logs

Matrix: name: git, PRs, Actions, shard: core

Kept from an earlier attempt of this run: it didn't run again in attempt 2.

Set up job
Diffinery runner: job e2e (End-to-end (git, PRs, Actions)) for codician/diffinery@82db057d3a02Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in cdg14, WEUR, container 7c6d08df4e5bc80f8f884d7332fadf96d9e0d0096fb59d55945a430615a946b3Runner 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/diffineryHost: 0% of the vCPUs' time went to other work on the host (steal)Job completed with conclusion: successResources: 1.0 of 4 vCPUs busy on average (2.1 at the 95th percentile), peak memory 2.9 GiB of 11.9 GiB, peak disk 4.4 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), 2.69 MiB | 5.08 MiB/s
Receiving objects:  59% (465/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  60% (473/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  61% (481/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  62% (488/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  63% (496/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  64% (504/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  65% (512/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  66% (520/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  67% (528/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  68% (536/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  69% (544/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  70% (551/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  71% (559/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  72% (567/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  73% (575/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  74% (583/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  75% (591/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  76% (599/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  77% (606/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  78% (614/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  79% (622/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  80% (630/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  81% (638/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  82% (646/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  83% (654/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  84% (662/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  85% (669/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  86% (677/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  87% (685/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  88% (693/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  89% (701/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  90% (709/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  91% (717/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  92% (725/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  93% (732/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  94% (740/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  95% (748/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  96% (756/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  97% (764/787), 2.69 MiB | 5.08 MiB/s
remote: Total 787 (delta 0), reused 787 (delta 0)        Receiving objects:  98% (772/787), 2.69 MiB | 5.08 MiB/s
Receiving objects:  99% (780/787), 2.69 MiB | 5.08 MiB/s
Receiving objects: 100% (787/787), 2.69 MiB | 5.08 MiB/s
Receiving objects: 100% (787/787), 3.60 MiB | 5.83 MiB/s, done.From https://diffinery.com/codician/diffinery * [new ref]         82db057d3a02c20e30c47ac8f398adbcfc88b906 -> origin/diffinery-checkoutNote: switching to '82db057d3a02c20e30c47ac8f398adbcfc88b906'.You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by switching back to a branch.If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -c with the switch command. Example:  git switch -c <new-branch-name>Or undo this operation with:  git switch -Turn off this advice by setting config variable advice.detachedHead to falseHEAD is now at 82db057 Merge e30fede7a35f2bac4c0bc8b906e4ccb0a0221932 into bf470037ea65eaddac032a50c8026247604d5785HEAD is now at 82db057d3a02c20e30c47ac8f398adbcfc88b906
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 1.1s##[endgroup]Installation Completed!
Run actions/setup-node@v45s
##[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-lockfile8s
##[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 200Progress: resolved 251, reused 245, downloaded 0, added 251, done.../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js.../node_modules/workerd 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$ node install.js.../esbuild@0.25.11/node_modules/esbuild postinstall: Done.../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js.../node_modules/workerd postinstall: Done.../esbuild@0.25.12/node_modules/esbuild postinstall: Done.../node_modules/workerd postinstall: Done.../esbuild@0.28.1/node_modules/esbuild postinstall: Done.../esbuild@0.28.2/node_modules/esbuild postinstall: DonedevDependencies:+ turbo 2.11.7+ typescript 5.9.3Done in 2.8s using pnpm v10.28.0
Run pnpm -r --if-present build1s
##[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 65msapps/cli build: Donecontainers/runner build:   dist/agent.mjs  684.1kbcontainers/runner build: ⚡ Done in 80mscontainers/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
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 tests2m 19s
##[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: 18847.916735  type: 'test'  ...# 1 file checked: no errors, 0 warnings# Subtest: git hosting, Actions, protected PR flow and MCPok 2 - git hosting, Actions, protected PR flow and MCP  ---  duration_ms: 4703.566989  type: 'test'  ...# Subtest: reusable workflows: inputs, secrets, outputs, nesting and skipped callsok 3 - reusable workflows: inputs, secrets, outputs, nesting and skipped calls  ---  duration_ms: 953.212533  type: 'test'  ...# Subtest: job graph: needs-only scheduling, skip cascades, per-leg runs-on, continue-on-error, job concurrency and public payloadsok 4 - job graph: needs-only scheduling, skip cascades, per-leg runs-on, continue-on-error, job concurrency and public payloads  ---  duration_ms: 2846.844206  type: 'test'  ...# Subtest: re-runs: failed jobs only keep what passed, and one job re-runs with what depends on itok 5 - re-runs: failed jobs only keep what passed, and one job re-runs with what depends on it  ---  duration_ms: 1963.363933  type: 'test'  ...# Subtest: workflow_run: a workflow follows another one on the default branchok 6 - workflow_run: a workflow follows another one on the default branch  ---  duration_ms: 1337.50945  type: 'test'  ...# Subtest: triggers from workflows: a job's repository_dispatch starts runs, a follower of agent code stays an agent'sok 7 - triggers from workflows: a job's repository_dispatch starts runs, a follower of agent code stays an agent's  ---  duration_ms: 2492.457145  type: 'test'  ...# Subtest: pull requests: test merge commits, pull_request_target and the merge queueok 8 - pull requests: test merge commits, pull_request_target and the merge queue  ---  duration_ms: 4435.53527  type: 'test'  ...# Subtest: workflow tokens: read-only default, no approvals or workflow edits, agent code stays an agentok 9 - workflow tokens: read-only default, no approvals or workflow edits, agent code stays an agent  ---  duration_ms: 3117.735208  type: 'test'  ...# Subtest: caches are scoped to branches and pull requests; artifacts keep their retention-daysok 10 - caches are scoped to branches and pull requests; artifacts keep their retention-days  ---  duration_ms: 8503.211637  type: 'test'  ...# Subtest: an older runner's cache API is scoped the same wayok 11 - an older runner's cache API is scoped the same way  ---  duration_ms: 1095.772574  type: 'test'  ...# Subtest: an older runner's artifact API needs the job's own tokenok 12 - an older runner's artifact API needs the job's own token  ---  duration_ms: 287.435365  type: 'test'  ...# Subtest: an older runner's artifacts are listed, downloaded and deleted through the REST APIok 13 - an older runner's artifacts are listed, downloaded and deleted through the REST API  ---  duration_ms: 740.09185  type: 'test'  ...# Subtest: containers: a job container and service containers on a self-hosted runnerok 14 - containers: a job container and service containers on a self-hosted runner  ---  duration_ms: 6374.143203  type: 'test'  ...# Subtest: official actions: checkout, cache, artifacts, github-script and setup-* run unmodifiedok 15 - official actions: checkout, cache, artifacts, github-script and setup-* run unmodified  ---  duration_ms: 30666.070288  type: 'test'  ...# Subtest: official actions: the second run hits every cache and reads the first run's artifactsok 16 - official actions: the second run hits every cache and reads the first run's artifacts  ---  duration_ms: 18730.086034  type: 'test'  ...# Subtest: D1 sessions: bookmarks for token clients and browsersok 17 - D1 sessions: bookmarks for token clients and browsers  ---  duration_ms: 186.90044  type: 'test'  ...# GET /repos/dev/compat/contents/missing.txt - 404 with id UNKNOWN in 15ms# PUT /repos/dev/compat/contents/README.md - 409 with id UNKNOWN in 15ms# POST /repos/dev/compat/git/refs - 422 with id UNKNOWN in 28ms# POST /repos/dev/compat/statuses/5188784df3112cfde189b8e63c41d5927be33ac7 - 422 with id UNKNOWN in 12ms# POST http://127.0.0.1:32018/api/uploads/repos/dev/compat/releases/1/assets?name=hello.txt& - 422 with id UNKNOWN in 18ms# GET /repos/dev/compat/releases/2 - 404 with id UNKNOWN in 11ms# POST /repos/dev/compat/releases - 403 with id UNKNOWN in 12ms# GET /repos/dev/compat/releases/tags/v2.0.0-rc.1 - 404 with id UNKNOWN in 11ms# POST /repos/dev/compat/labels - 422 with id UNKNOWN in 14ms# GET /repos/dev/compat/issues/comments/3 - 404 with id UNKNOWN in 17ms# Subtest: GitHub REST compatibility: Octokit against releases, statuses, git data, issues, deployments and searchok 18 - GitHub REST compatibility: Octokit against releases, statuses, git data, issues, deployments and search  ---  duration_ms: 2963.402276  type: 'test'  ...# Subtest: people and profiles: visibility, repository invitations, blank names and usernamesok 19 - people and profiles: visibility, repository invitations, blank names and usernames  ---  duration_ms: 653.832037  type: 'test'  ...# Subtest: profile pictures: upload, resize, serve, cache headers and removalok 20 - profile pictures: upload, resize, serve, cache headers and removal  ---  duration_ms: 715.47362  type: 'test'  ...# Subtest: import from GitHub: git data, issues and pull requests with their numbers, no side effectsok 21 - import from GitHub: git data, issues and pull requests with their numbers, no side effects  ---  duration_ms: 13271.990842  type: 'test'  ...# Subtest: scheduled workflows: the schedule fires without a cron triggerok 22 - scheduled workflows: the schedule fires without a cron trigger  ---  duration_ms: 130.187291  type: 'test'  ...1..22# tests 22# suites 0# pass 22# fail 0# cancelled 0# skipped 0# todo 0# duration_ms 137473.494625
Post Run actions/setup-node@v40s
Cache hit occurred on the primary key node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b, not saving cache.
Post Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b10s
Pruning is unnecessary.
Post Run actions/checkout@v40s
Removing persisted credentials