2026-10-16T18:05:21.843Z Diffinery runner: job e2e (End-to-end (security)) for codician/diffinery@b7a2a2f24a90 2026-10-16T18:05:21.852Z Runner: image diffinery-runner:8a871c84f8ee3e93f0d40c7d, in iad22, ENAM, container 7437e95cb7f225ec2f60628ccfa26b5ed2f8d2af5a26fd51e6288dc223d2d9fd 2026-10-16T18:05:21.852Z Runner size: large (4 vCPU, 12 GiB of memory, 20 GB of disk), an earlier run of this job wasn't measured closely enough (busy cores every quarter second); runs-on: diffinery-large (or -medium, -small, -tiny) sets a size 2026-10-16T18:05:21.852Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-16T18:05:21.852Z Workspace: /workspace/diffinery 2026-10-16T18:05:21.992Z ##[group]Run actions/checkout@v4 2026-10-16T18:05:21.992Z ##[endgroup] 2026-10-16T18:05:21.994Z Syncing repository: codician/diffinery 2026-10-16T18:05:22.139Z Fetching the repository (depth 1) 2026-10-16T18:05:23.002Z remote: Enumerating objects: 684, done. 2026-10-16T18:05:23.285Z Receiving objects: 0% (1/684) Receiving objects: 1% (7/684) Receiving objects: 2% (14/684) Receiving objects: 3% (21/684) Receiving objects: 4% (28/684) Receiving objects: 5% (35/684) Receiving objects: 6% (42/684) Receiving objects: 7% (48/684) Receiving objects: 8% (55/684) Receiving objects: 9% (62/684) Receiving objects: 10% (69/684) Receiving objects: 11% (76/684) Receiving objects: 12% (83/684) Receiving objects: 13% (89/684) Receiving objects: 14% (96/684) Receiving objects: 15% (103/684) Receiving objects: 16% (110/684) Receiving objects: 17% (117/684) Receiving objects: 18% (124/684) Receiving objects: 19% (130/684) Receiving objects: 20% (137/684) Receiving objects: 21% (144/684) Receiving objects: 22% (151/684) Receiving objects: 23% (158/684) Receiving objects: 24% (165/684) Receiving objects: 25% (171/684) Receiving objects: 26% (178/684) Receiving objects: 27% (185/684) Receiving objects: 28% (192/684) Receiving objects: 29% (199/684) Receiving objects: 30% (206/684) Receiving objects: 31% (213/684) Receiving objects: 32% (219/684) Receiving objects: 33% (226/684) Receiving objects: 34% (233/684) Receiving objects: 35% (240/684) Receiving objects: 36% (247/684) Receiving objects: 37% (254/684) Receiving objects: 38% (260/684) Receiving objects: 39% (267/684) Receiving objects: 40% (274/684) Receiving objects: 41% (281/684) Receiving objects: 42% (288/684) Receiving objects: 43% (295/684) Receiving objects: 44% (301/684) Receiving objects: 45% (308/684) Receiving objects: 46% (315/684) Receiving objects: 47% (322/684) Receiving objects: 48% (329/684) Receiving objects: 49% (336/684) Receiving objects: 50% (342/684) Receiving objects: 51% (349/684) Receiving objects: 52% (356/684) Receiving objects: 53% (363/684) Receiving objects: 54% (370/684) Receiving objects: 55% (377/684) Receiving objects: 56% (384/684) Receiving objects: 57% (390/684) Receiving objects: 58% (397/684) Receiving objects: 59% (404/684) Receiving objects: 60% (411/684) Receiving objects: 61% (418/684) Receiving objects: 62% (425/684) Receiving objects: 63% (431/684) Receiving objects: 64% (438/684) Receiving objects: 65% (445/684) Receiving objects: 66% (452/684) Receiving objects: 67% (459/684) Receiving objects: 68% (466/684) Receiving objects: 69% (472/684) Receiving objects: 70% (479/684) Receiving objects: 71% (486/684) Receiving objects: 72% (493/684) Receiving objects: 73% (500/684) Receiving objects: 74% (507/684) Receiving objects: 75% (513/684) Receiving objects: 76% (520/684) Receiving objects: 77% (527/684) Receiving objects: 78% (534/684) Receiving objects: 79% (541/684) Receiving objects: 80% (548/684) Receiving objects: 81% (555/684) Receiving objects: 82% (561/684) Receiving objects: 83% (568/684) Receiving objects: 84% (575/684) Receiving objects: 85% (582/684) Receiving objects: 86% (589/684) Receiving objects: 87% (596/684) Receiving objects: 88% (602/684) Receiving objects: 89% (609/684) Receiving objects: 90% (616/684) Receiving objects: 91% (623/684) Receiving objects: 92% (630/684) Receiving objects: 93% (637/684) Receiving objects: 94% (643/684) Receiving objects: 95% (650/684) Receiving objects: 96% (657/684) remote: Total 684 (delta 0), reused 684 (delta 0) 2026-10-16T18:05:23.287Z Receiving objects: 97% (664/684) Receiving objects: 98% (671/684) Receiving objects: 99% (678/684) Receiving objects: 100% (684/684) Receiving objects: 100% (684/684), 3.04 MiB | 11.78 MiB/s, done. 2026-10-16T18:05:23.300Z From https://diffinery.com/codician/diffinery 2026-10-16T18:05:23.300Z * [new ref] b7a2a2f24a9005e67e17114524f98fddab11bc2d -> origin/diffinery-checkout 2026-10-16T18:05:23.386Z Note: switching to 'b7a2a2f24a9005e67e17114524f98fddab11bc2d'. 2026-10-16T18:05:23.387Z 2026-10-16T18:05:23.387Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-16T18:05:23.387Z changes and commit them, and you can discard any commits you make in this 2026-10-16T18:05:23.387Z state without impacting any branches by switching back to a branch. 2026-10-16T18:05:23.387Z 2026-10-16T18:05:23.387Z If you want to create a new branch to retain commits you create, you may 2026-10-16T18:05:23.387Z do so (now or later) by using -c with the switch command. Example: 2026-10-16T18:05:23.387Z 2026-10-16T18:05:23.387Z git switch -c 2026-10-16T18:05:23.387Z 2026-10-16T18:05:23.387Z Or undo this operation with: 2026-10-16T18:05:23.387Z 2026-10-16T18:05:23.387Z git switch - 2026-10-16T18:05:23.387Z 2026-10-16T18:05:23.387Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-16T18:05:23.387Z 2026-10-16T18:05:23.387Z HEAD is now at b7a2a2f Merge 43a87375a812834caba0f87a746d8b60feca2cbb into 1c63ad9caf3da457ca2e0e9adff25ab82b554c36 2026-10-16T18:05:23.395Z HEAD is now at b7a2a2f24a9005e67e17114524f98fddab11bc2d 2026-10-16T18:05:23.679Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-16T18:05:23.959Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-16T18:05:23.959Z with: 2026-10-16T18:05:23.959Z dest: ~/setup-pnpm 2026-10-16T18:05:23.959Z run_install: null 2026-10-16T18:05:23.959Z cache: false 2026-10-16T18:05:23.959Z cache_dependency_path: pnpm-lock.yaml 2026-10-16T18:05:23.959Z package_json_file: package.json 2026-10-16T18:05:23.959Z standalone: false 2026-10-16T18:05:23.959Z ##[endgroup] 2026-10-16T18:05:24.185Z ##[group]Running self-installer... 2026-10-16T18:05:24.985Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T18:05:24.995Z Packages: +1 2026-10-16T18:05:24.995Z + 2026-10-16T18:05:25.616Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-16T18:05:25.647Z 2026-10-16T18:05:25.647Z dependencies: 2026-10-16T18:05:25.647Z + pnpm 10.28.0 (12.14.0 is available) 2026-10-16T18:05:25.647Z 2026-10-16T18:05:25.651Z Done in 1.2s 2026-10-16T18:05:25.676Z ##[endgroup] 2026-10-16T18:05:25.676Z Installation Completed! 2026-10-16T18:05:25.942Z ##[group]Run actions/setup-node@v4 2026-10-16T18:05:25.942Z with: 2026-10-16T18:05:25.942Z node-version: 22 2026-10-16T18:05:25.942Z cache: pnpm 2026-10-16T18:05:25.942Z ##[endgroup] 2026-10-16T18:05:25.951Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-16T18:05:27.686Z Cache Size: ~216 MB (226493609 B) 2026-10-16T18:05:33.041Z Cache restored from key: node-cache-Linux-x64-pnpm-a02ba8dce5cb7329b868883337d1a03f862819a15859861dae22d3a8b1092f41 2026-10-16T18:05:33.488Z ##[group]Run pnpm install --frozen-lockfile 2026-10-16T18:05:33.488Z ##[endgroup] 2026-10-16T18:05:33.993Z Scope: all 8 workspace projects 2026-10-16T18:05:34.062Z Lockfile is up to date, resolution step is skipped 2026-10-16T18:05:34.120Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T18:05:34.163Z Packages: +250 2026-10-16T18:05:34.163Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-16T18:05:35.122Z Progress: resolved 250, reused 244, downloaded 0, added 166 2026-10-16T18:05:35.456Z Progress: resolved 250, reused 244, downloaded 0, added 250, done 2026-10-16T18:05:35.656Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-16T18:05:35.656Z .../node_modules/workerd postinstall$ node install.js 2026-10-16T18:05:35.672Z .../node_modules/workerd postinstall$ node install.js 2026-10-16T18:05:35.672Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-16T18:05:35.685Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-16T18:05:35.920Z .../node_modules/workerd postinstall: Done 2026-10-16T18:05:35.925Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-16T18:05:35.935Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-16T18:05:35.936Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-16T18:05:36.095Z .../node_modules/workerd postinstall: Done 2026-10-16T18:05:36.110Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-16T18:05:36.121Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-16T18:05:36.641Z 2026-10-16T18:05:36.641Z devDependencies: 2026-10-16T18:05:36.641Z + turbo 2.11.7 2026-10-16T18:05:36.641Z + typescript 5.9.3 2026-10-16T18:05:36.641Z 2026-10-16T18:05:37.187Z Done in 3.5s using pnpm v10.28.0 2026-10-16T18:05:37.479Z ##[group]Run pnpm -r --if-present build 2026-10-16T18:05:37.479Z ##[endgroup] 2026-10-16T18:05:37.885Z Scope: 7 of 8 workspace projects 2026-10-16T18:05:37.889Z apps/cli build$ esbuild src/bin.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/diffinery.mjs "--banner:js=#!/usr/bin/env node 2026-10-16T18:05:37.889Z import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);" 2026-10-16T18:05:37.890Z apps/diffinery build$ node islands/build.mjs && node scripts/build-docs.mjs 2026-10-16T18:05:37.890Z containers/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);" 2026-10-16T18:05:37.984Z apps/cli build: dist/diffinery.mjs 446.1kb 2026-10-16T18:05:37.986Z apps/cli build: ⚡ Done in 75ms 2026-10-16T18:05:38.000Z apps/cli build: Done 2026-10-16T18:05:38.009Z containers/runner build: dist/agent.mjs 682.1kb 2026-10-16T18:05:38.009Z containers/runner build: ⚡ Done in 88ms 2026-10-16T18:05:38.014Z containers/runner build: Done 2026-10-16T18:05:38.913Z apps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KB 2026-10-16T18:05:39.240Z apps/diffinery build: docs: 72 pages (+2 generated at runtime), 6 images, CLI 0.1.0 (235 KiB), editor extension 0.1.1 (20 KiB) 2026-10-16T18:05:39.252Z apps/diffinery build: Done 2026-10-16T18:05:40.177Z ##[group]Run # Shards of similar length; a new test file runs in "rest" unless it's added to another. 2026-10-16T18:05:40.177Z core='/e2e\.test\.mjs$' 2026-10-16T18:05:40.177Z agents='/(agentic|review|tasks)\.test\.mjs$' 2026-10-16T18:05:40.177Z security='/(security|status)\.test\.mjs$' 2026-10-16T18:05:40.177Z # The core file's real histories and large pushes take minutes each (jquery's alone 2 to 3 on 2026-10-16T18:05:40.177Z # Diffinery's runners): two shards of their own, so no part of the file runs into node's 2026-10-16T18:05:40.177Z # per-file timeout, which is the --test-timeout here. 2026-10-16T18:05:40.177Z histories='^real histories:' 2026-10-16T18:05:40.177Z large='^(large files|large pushes):' 2026-10-16T18:05:40.177Z opts=(--test-timeout=600000) 2026-10-16T18:05:40.177Z case "security" in 2026-10-16T18:05:40.177Z core) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-skip-pattern="$histories" --test-skip-pattern="$large") ;; 2026-10-16T18:05:40.177Z histories) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts=(--test-timeout=900000 --test-name-pattern="$histories") ;; 2026-10-16T18:05:40.177Z large) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-name-pattern="$large") ;; 2026-10-16T18:05:40.177Z agents) files=$(ls test/e2e/*.test.mjs | grep -E "$agents") ;; 2026-10-16T18:05:40.177Z security) files=$(ls test/e2e/*.test.mjs | grep -E "$security") ;; 2026-10-16T18:05:40.177Z *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents|$security") ;; 2026-10-16T18:05:40.177Z esac 2026-10-16T18:05:40.177Z echo "$files" 2026-10-16T18:05:40.177Z node --test --test-concurrency=1 "${opts[@]}" $files 2026-10-16T18:05:40.177Z ##[endgroup] 2026-10-16T18:05:40.202Z test/e2e/security.test.mjs 2026-10-16T18:05:40.202Z test/e2e/status.test.mjs 2026-10-16T18:05:40.253Z TAP version 13 2026-10-16T18:06:14.249Z # Subtest: security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-16T18:06:14.249Z ok 1 - security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-16T18:06:14.249Z --- 2026-10-16T18:06:14.249Z duration_ms: 33917.67326 2026-10-16T18:06:14.249Z type: 'test' 2026-10-16T18:06:14.249Z ... 2026-10-16T18:06:14.372Z # Subtest: security: organization admins can't hand out ownership 2026-10-16T18:06:14.372Z ok 2 - security: organization admins can't hand out ownership 2026-10-16T18:06:14.372Z --- 2026-10-16T18:06:14.372Z duration_ms: 126.291438 2026-10-16T18:06:14.372Z type: 'test' 2026-10-16T18:06:14.372Z ... 2026-10-16T18:06:16.124Z # Subtest: security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-16T18:06:16.124Z ok 3 - security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-16T18:06:16.125Z --- 2026-10-16T18:06:16.125Z duration_ms: 1752.290124 2026-10-16T18:06:16.125Z type: 'test' 2026-10-16T18:06:16.125Z ... 2026-10-16T18:06:16.639Z # Subtest: security: push protection covers commits made without git 2026-10-16T18:06:16.639Z ok 4 - security: push protection covers commits made without git 2026-10-16T18:06:16.641Z --- 2026-10-16T18:06:16.641Z duration_ms: 510.883835 2026-10-16T18:06:16.641Z type: 'test' 2026-10-16T18:06:16.641Z ... 2026-10-16T18:06:32.906Z # Subtest: security: limited tokens, invisible repositories, readers' labels and the audit trail 2026-10-16T18:06:32.906Z ok 5 - security: limited tokens, invisible repositories, readers' labels and the audit trail 2026-10-16T18:06:32.906Z --- 2026-10-16T18:06:32.906Z duration_ms: 16270.343818 2026-10-16T18:06:32.906Z type: 'test' 2026-10-16T18:06:32.906Z ... 2026-10-16T18:06:33.006Z # Subtest: security: organization pictures are the owners' to change, and invitations aren't sent twice 2026-10-16T18:06:33.006Z ok 6 - security: organization pictures are the owners' to change, and invitations aren't sent twice 2026-10-16T18:06:33.006Z --- 2026-10-16T18:06:33.007Z duration_ms: 99.379674 2026-10-16T18:06:33.007Z type: 'test' 2026-10-16T18:06:33.007Z ... 2026-10-16T18:06:33.898Z # Subtest: security: organization members get the base permission, which only owners change 2026-10-16T18:06:33.898Z ok 7 - security: organization members get the base permission, which only owners change 2026-10-16T18:06:33.898Z --- 2026-10-16T18:06:33.899Z duration_ms: 893.512112 2026-10-16T18:06:33.899Z type: 'test' 2026-10-16T18:06:33.899Z ... 2026-10-16T18:06:34.396Z # Subtest: security: leaving an organization takes its repository access along 2026-10-16T18:06:34.396Z ok 8 - security: leaving an organization takes its repository access along 2026-10-16T18:06:34.396Z --- 2026-10-16T18:06:34.396Z duration_ms: 495.711133 2026-10-16T18:06:34.396Z type: 'test' 2026-10-16T18:06:34.396Z ... 2026-10-16T18:06:38.796Z # Subtest: security: organization settings are checked before anything is saved, and agents see the base permission 2026-10-16T18:06:38.796Z ok 9 - security: organization settings are checked before anything is saved, and agents see the base permission 2026-10-16T18:06:38.796Z --- 2026-10-16T18:06:38.796Z duration_ms: 4399.36451 2026-10-16T18:06:38.797Z type: 'test' 2026-10-16T18:06:38.797Z ... 2026-10-16T18:06:45.461Z # Subtest: security: a transferred repository keeps its data, and its old name redirects only for readers 2026-10-16T18:06:45.461Z ok 10 - security: a transferred repository keeps its data, and its old name redirects only for readers 2026-10-16T18:06:45.461Z --- 2026-10-16T18:06:45.461Z duration_ms: 6665.373641 2026-10-16T18:06:45.461Z type: 'test' 2026-10-16T18:06:45.461Z ... 2026-10-16T18:06:59.599Z # Subtest: security: agents land changes on protected branches only through auto-merge a person allowed, gated by CI 2026-10-16T18:06:59.599Z ok 11 - security: agents land changes on protected branches only through auto-merge a person allowed, gated by CI 2026-10-16T18:06:59.599Z --- 2026-10-16T18:06:59.599Z duration_ms: 14138.237831 2026-10-16T18:06:59.599Z type: 'test' 2026-10-16T18:06:59.599Z ... 2026-10-16T18:07:10.588Z # Subtest: security: an admin can let agents' auto-merges land on green checks without an approval, and nothing more 2026-10-16T18:07:10.589Z ok 12 - security: an admin can let agents' auto-merges land on green checks without an approval, and nothing more 2026-10-16T18:07:10.589Z --- 2026-10-16T18:07:10.589Z duration_ms: 10990.555557 2026-10-16T18:07:10.589Z type: 'test' 2026-10-16T18:07:10.589Z ... 2026-10-16T18:07:11.286Z # Subtest: security: an archived repository lands nothing by itself: archiving ends auto-merge and empties the merge queue 2026-10-16T18:07:11.287Z ok 13 - security: an archived repository lands nothing by itself: archiving ends auto-merge and empties the merge queue 2026-10-16T18:07:11.287Z --- 2026-10-16T18:07:11.287Z duration_ms: 698.073355 2026-10-16T18:07:11.287Z type: 'test' 2026-10-16T18:07:11.287Z ... 2026-10-16T18:07:12.490Z # Subtest: security: landing a pull request deletes its head branch only when asked, through auto-merge and the queue too, and never a protected one 2026-10-16T18:07:12.490Z ok 14 - security: landing a pull request deletes its head branch only when asked, through auto-merge and the queue too, and never a protected one 2026-10-16T18:07:12.490Z --- 2026-10-16T18:07:12.490Z duration_ms: 1202.922885 2026-10-16T18:07:12.490Z type: 'test' 2026-10-16T18:07:12.490Z ...