2026-10-14T13:52:09.375Z Diffinery runner: job e2e (End-to-end (security)) for codician/diffinery@35a9b8a4cc99 2026-10-14T13:52:09.380Z Runner: image diffinery-runner:7d76ed7e2bbe8f5431f60bdc, in lhr15, WEUR, container 7e01402a4effa711689b3454f0212361b9142b987545982da9266c13850fed94 2026-10-14T13:52:09.380Z Workspace: /workspace/diffinery 2026-10-14T13:52:09.454Z ##[group]Run actions/checkout@v4 2026-10-14T13:52:09.454Z ##[endgroup] 2026-10-14T13:52:09.456Z Syncing repository: codician/diffinery 2026-10-14T13:52:09.511Z Fetching the repository (depth 1) 2026-10-14T13:52:10.133Z remote: Enumerating objects: 584, done. 2026-10-14T13:52:10.309Z Receiving objects: 0% (1/584) Receiving objects: 1% (6/584) Receiving objects: 2% (12/584) Receiving objects: 3% (18/584) Receiving objects: 4% (24/584) Receiving objects: 5% (30/584) Receiving objects: 6% (36/584) Receiving objects: 7% (41/584) Receiving objects: 8% (47/584) Receiving objects: 9% (53/584) Receiving objects: 10% (59/584) Receiving objects: 11% (65/584) Receiving objects: 12% (71/584) Receiving objects: 13% (76/584) Receiving objects: 14% (82/584) Receiving objects: 15% (88/584) Receiving objects: 16% (94/584) Receiving objects: 17% (100/584) Receiving objects: 18% (106/584) Receiving objects: 19% (111/584) Receiving objects: 20% (117/584) Receiving objects: 21% (123/584) Receiving objects: 22% (129/584) Receiving objects: 23% (135/584) Receiving objects: 24% (141/584) Receiving objects: 25% (146/584) Receiving objects: 26% (152/584) Receiving objects: 27% (158/584) Receiving objects: 28% (164/584) Receiving objects: 29% (170/584) Receiving objects: 30% (176/584) Receiving objects: 31% (182/584) Receiving objects: 32% (187/584) Receiving objects: 33% (193/584) Receiving objects: 34% (199/584) Receiving objects: 35% (205/584) Receiving objects: 36% (211/584) Receiving objects: 37% (217/584) Receiving objects: 38% (222/584) Receiving objects: 39% (228/584) Receiving objects: 40% (234/584) Receiving objects: 41% (240/584) Receiving objects: 42% (246/584) Receiving objects: 43% (252/584) Receiving objects: 44% (257/584) Receiving objects: 45% (263/584) Receiving objects: 46% (269/584) Receiving objects: 47% (275/584) Receiving objects: 48% (281/584) Receiving objects: 49% (287/584) Receiving objects: 50% (292/584) Receiving objects: 51% (298/584) Receiving objects: 52% (304/584) Receiving objects: 53% (310/584) Receiving objects: 54% (316/584) Receiving objects: 55% (322/584) Receiving objects: 56% (328/584) Receiving objects: 57% (333/584) Receiving objects: 58% (339/584) Receiving objects: 59% (345/584) Receiving objects: 60% (351/584) Receiving objects: 61% (357/584) Receiving objects: 62% (363/584) Receiving objects: 63% (368/584) Receiving objects: 64% (374/584) Receiving objects: 65% (380/584) Receiving objects: 66% (386/584) Receiving objects: 67% (392/584) Receiving objects: 68% (398/584) Receiving objects: 69% (403/584) Receiving objects: 70% (409/584) Receiving objects: 71% (415/584) Receiving objects: 72% (421/584) Receiving objects: 73% (427/584) Receiving objects: 74% (433/584) Receiving objects: 75% (438/584) Receiving objects: 76% (444/584) Receiving objects: 77% (450/584) Receiving objects: 78% (456/584) Receiving objects: 79% (462/584) Receiving objects: 80% (468/584) Receiving objects: 81% (474/584) Receiving objects: 82% (479/584) Receiving objects: 83% (485/584) Receiving objects: 84% (491/584) Receiving objects: 85% (497/584) Receiving objects: 86% (503/584) Receiving objects: 87% (509/584) Receiving objects: 88% (514/584) Receiving objects: 89% (520/584) Receiving objects: 90% (526/584) Receiving objects: 91% (532/584) Receiving objects: 92% (538/584) Receiving objects: 93% (544/584) Receiving objects: 94% (549/584) Receiving objects: 95% (555/584) Receiving objects: 96% (561/584) remote: Total 584 (delta 0), reused 584 (delta 0) 2026-10-14T13:52:10.310Z Receiving objects: 97% (567/584) Receiving objects: 98% (573/584) Receiving objects: 99% (579/584) Receiving objects: 100% (584/584) Receiving objects: 100% (584/584), 2.38 MiB | 13.86 MiB/s, done. 2026-10-14T13:52:10.317Z From https://diffinery.com/codician/diffinery 2026-10-14T13:52:10.317Z * [new ref] 35a9b8a4cc99d85eaba50e500243243df6b8cc16 -> origin/diffinery-checkout 2026-10-14T13:52:10.369Z Note: switching to '35a9b8a4cc99d85eaba50e500243243df6b8cc16'. 2026-10-14T13:52:10.369Z 2026-10-14T13:52:10.369Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-14T13:52:10.369Z changes and commit them, and you can discard any commits you make in this 2026-10-14T13:52:10.369Z state without impacting any branches by switching back to a branch. 2026-10-14T13:52:10.369Z 2026-10-14T13:52:10.369Z If you want to create a new branch to retain commits you create, you may 2026-10-14T13:52:10.369Z do so (now or later) by using -c with the switch command. Example: 2026-10-14T13:52:10.369Z 2026-10-14T13:52:10.369Z git switch -c 2026-10-14T13:52:10.369Z 2026-10-14T13:52:10.369Z Or undo this operation with: 2026-10-14T13:52:10.369Z 2026-10-14T13:52:10.369Z git switch - 2026-10-14T13:52:10.369Z 2026-10-14T13:52:10.369Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-14T13:52:10.369Z 2026-10-14T13:52:10.369Z HEAD is now at 35a9b8a Merge 346fd069ad46a20f9a4e98ac4d63a5f4b2feb585 into ec73e4444df45c559747eec0d1e4db8dcb842582 2026-10-14T13:52:10.373Z HEAD is now at 35a9b8a4cc99d85eaba50e500243243df6b8cc16 2026-10-14T13:52:10.512Z Download action repository 'pnpm/action-setup@v4' 2026-10-14T13:52:11.183Z ##[group]Run pnpm/action-setup@v4 2026-10-14T13:52:11.183Z with: 2026-10-14T13:52:11.183Z dest: ~/setup-pnpm 2026-10-14T13:52:11.183Z run_install: null 2026-10-14T13:52:11.183Z cache: false 2026-10-14T13:52:11.183Z cache_dependency_path: pnpm-lock.yaml 2026-10-14T13:52:11.183Z package_json_file: package.json 2026-10-14T13:52:11.183Z standalone: false 2026-10-14T13:52:11.183Z ##[endgroup] 2026-10-14T13:52:11.326Z ##[group]Running self-installer... 2026-10-14T13:52:12.734Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-14T13:52:12.751Z Packages: +1 2026-10-14T13:52:12.751Z + 2026-10-14T13:52:13.204Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-14T13:52:13.222Z 2026-10-14T13:52:13.223Z dependencies: 2026-10-14T13:52:13.223Z + pnpm 10.28.0 (12.11.2 is available) 2026-10-14T13:52:13.223Z 2026-10-14T13:52:13.224Z Done in 1.7s 2026-10-14T13:52:13.239Z ##[endgroup] 2026-10-14T13:52:13.239Z Installation Completed! 2026-10-14T13:52:13.343Z ##[group]Run actions/setup-node@v4 2026-10-14T13:52:13.343Z with: 2026-10-14T13:52:13.343Z node-version: 22 2026-10-14T13:52:13.343Z cache: pnpm 2026-10-14T13:52:13.343Z ##[endgroup] 2026-10-14T13:52:13.349Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-14T13:52:13.714Z pnpm cache is not found 2026-10-14T13:52:13.822Z ##[group]Run pnpm install --frozen-lockfile 2026-10-14T13:52:13.822Z ##[endgroup] 2026-10-14T13:52:14.073Z Scope: all 7 workspace projects 2026-10-14T13:52:14.153Z Lockfile is up to date, resolution step is skipped 2026-10-14T13:52:14.253Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-14T13:52:14.274Z Packages: +248 2026-10-14T13:52:14.274Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-14T13:52:15.257Z Progress: resolved 248, reused 0, downloaded 17, added 4 2026-10-14T13:52:16.257Z Progress: resolved 248, reused 0, downloaded 107, added 32 2026-10-14T13:52:17.258Z Progress: resolved 248, reused 0, downloaded 139, added 46 2026-10-14T13:52:18.263Z Progress: resolved 248, reused 0, downloaded 151, added 50 2026-10-14T13:52:19.264Z Progress: resolved 248, reused 0, downloaded 173, added 58 2026-10-14T13:52:20.264Z Progress: resolved 248, reused 0, downloaded 182, added 58 2026-10-14T13:52:21.265Z Progress: resolved 248, reused 0, downloaded 218, added 70 2026-10-14T13:52:22.270Z Progress: resolved 248, reused 0, downloaded 224, added 73 2026-10-14T13:52:23.269Z Progress: resolved 248, reused 0, downloaded 242, added 153 2026-10-14T13:52:23.449Z Progress: resolved 248, reused 0, downloaded 242, added 248, done 2026-10-14T13:52:23.572Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-14T13:52:23.574Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-14T13:52:23.575Z .../node_modules/workerd postinstall$ node install.js 2026-10-14T13:52:23.576Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-14T13:52:23.577Z .../node_modules/workerd postinstall$ node install.js 2026-10-14T13:52:23.864Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-14T13:52:24.001Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-14T13:52:24.021Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-14T13:52:24.021Z .../node_modules/workerd postinstall: Done 2026-10-14T13:52:24.021Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-14T13:52:24.190Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-14T13:52:24.553Z .../node_modules/workerd postinstall: Done 2026-10-14T13:52:25.548Z 2026-10-14T13:52:25.548Z devDependencies: 2026-10-14T13:52:25.548Z + turbo 2.11.7 2026-10-14T13:52:25.548Z + typescript 5.9.3 2026-10-14T13:52:25.548Z 2026-10-14T13:52:25.849Z Done in 11.9s using pnpm v10.28.0 2026-10-14T13:52:25.978Z ##[group]Run pnpm -r --if-present build 2026-10-14T13:52:25.978Z ##[endgroup] 2026-10-14T13:52:26.217Z Scope: 6 of 7 workspace projects 2026-10-14T13:52:26.220Z ##[group]@diffinery/cli@0.1.0 : build apps/cli 2026-10-14T13:52:26.221Z 2026-10-14T13:52:26.221Z > @diffinery/cli@0.1.0 build /workspace/diffinery/apps/cli 2026-10-14T13:52:26.221Z > esbuild src/bin.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/diffinery.mjs "--banner:js=#!/usr/bin/env node 2026-10-14T13:52:26.221Z import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);" 2026-10-14T13:52:26.221Z 2026-10-14T13:52:26.275Z 2026-10-14T13:52:26.276Z dist/diffinery.mjs 428.7kb 2026-10-14T13:52:26.276Z 2026-10-14T13:52:26.276Z ⚡ Done in 46ms 2026-10-14T13:52:26.277Z ##[endgroup] 2026-10-14T13:52:26.278Z ##[group]@diffinery/app@0.1.0 : build apps/diffinery 2026-10-14T13:52:26.278Z 2026-10-14T13:52:26.278Z > @diffinery/app@0.1.0 build /workspace/diffinery/apps/diffinery 2026-10-14T13:52:26.278Z > node islands/build.mjs && node scripts/build-docs.mjs 2026-10-14T13:52:26.278Z 2026-10-14T13:52:27.680Z islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KB 2026-10-14T13:52:28.025Z docs: 61 pages (+2 generated at runtime), CLI 0.1.0 (222 KiB) 2026-10-14T13:52:28.034Z ##[endgroup] 2026-10-14T13:52:28.034Z ##[group]@diffinery/runner@0.1.0 : build containers/runner 2026-10-14T13:52:28.035Z 2026-10-14T13:52:28.035Z > @diffinery/runner@0.1.0 build /workspace/diffinery/containers/runner 2026-10-14T13:52:28.035Z > 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-14T13:52:28.035Z 2026-10-14T13:52:28.116Z 2026-10-14T13:52:28.116Z dist/agent.mjs 657.2kb 2026-10-14T13:52:28.116Z 2026-10-14T13:52:28.116Z ⚡ Done in 72ms 2026-10-14T13:52:28.118Z ##[endgroup] 2026-10-14T13:52:28.290Z ##[group]Run # Shards of similar length; a new test file runs in "rest" unless it's added to another. 2026-10-14T13:52:28.290Z core='/e2e\.test\.mjs$' 2026-10-14T13:52:28.290Z agents='/(agentic|review|tasks)\.test\.mjs$' 2026-10-14T13:52:28.290Z security='/(security|status)\.test\.mjs$' 2026-10-14T13:52:28.290Z # The core file's real histories and large pushes take minutes each (jquery's alone 2 to 3 on 2026-10-14T13:52:28.290Z # Diffinery's runners): two shards of their own, so no part of the file runs into node's 2026-10-14T13:52:28.290Z # per-file timeout, which is the --test-timeout here. 2026-10-14T13:52:28.290Z histories='^real histories:' 2026-10-14T13:52:28.290Z large='^(large files|large pushes):' 2026-10-14T13:52:28.290Z opts=(--test-timeout=600000) 2026-10-14T13:52:28.290Z case "security" in 2026-10-14T13:52:28.290Z core) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-skip-pattern="$histories" --test-skip-pattern="$large") ;; 2026-10-14T13:52:28.290Z histories) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts=(--test-timeout=900000 --test-name-pattern="$histories") ;; 2026-10-14T13:52:28.290Z large) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-name-pattern="$large") ;; 2026-10-14T13:52:28.290Z agents) files=$(ls test/e2e/*.test.mjs | grep -E "$agents") ;; 2026-10-14T13:52:28.290Z security) files=$(ls test/e2e/*.test.mjs | grep -E "$security") ;; 2026-10-14T13:52:28.290Z *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents|$security") ;; 2026-10-14T13:52:28.290Z esac 2026-10-14T13:52:28.290Z echo "$files" 2026-10-14T13:52:28.290Z node --test --test-concurrency=1 "${opts[@]}" $files 2026-10-14T13:52:28.290Z ##[endgroup] 2026-10-14T13:52:28.304Z test/e2e/security.test.mjs 2026-10-14T13:52:28.304Z test/e2e/status.test.mjs 2026-10-14T13:52:28.337Z TAP version 13 2026-10-14T13:52:56.010Z # Subtest: security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-14T13:52:56.011Z ok 1 - security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-14T13:52:56.011Z --- 2026-10-14T13:52:56.011Z duration_ms: 27627.808688 2026-10-14T13:52:56.011Z type: 'test' 2026-10-14T13:52:56.011Z ... 2026-10-14T13:52:56.069Z # Subtest: security: organization admins can't hand out ownership 2026-10-14T13:52:56.069Z ok 2 - security: organization admins can't hand out ownership 2026-10-14T13:52:56.069Z --- 2026-10-14T13:52:56.069Z duration_ms: 58.77606 2026-10-14T13:52:56.069Z type: 'test' 2026-10-14T13:52:56.069Z ... 2026-10-14T13:52:57.021Z # Subtest: security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-14T13:52:57.022Z ok 3 - security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-14T13:52:57.026Z --- 2026-10-14T13:52:57.026Z duration_ms: 952.184435 2026-10-14T13:52:57.026Z type: 'test' 2026-10-14T13:52:57.026Z ... 2026-10-14T13:52:57.872Z # Subtest: security: push protection covers commits made without git 2026-10-14T13:52:57.872Z ok 4 - security: push protection covers commits made without git 2026-10-14T13:52:57.872Z --- 2026-10-14T13:52:57.872Z duration_ms: 848.842387 2026-10-14T13:52:57.872Z type: 'test' 2026-10-14T13:52:57.872Z ... 2026-10-14T13:53:10.286Z # Subtest: security: limited tokens, invisible repositories, readers' labels and the audit trail 2026-10-14T13:53:10.288Z ok 5 - security: limited tokens, invisible repositories, readers' labels and the audit trail 2026-10-14T13:53:10.288Z --- 2026-10-14T13:53:10.288Z duration_ms: 12417.975021 2026-10-14T13:53:10.288Z type: 'test' 2026-10-14T13:53:10.288Z ... 2026-10-14T13:53:10.369Z # Subtest: security: organization pictures are the owners' to change, and invitations aren't sent twice 2026-10-14T13:53:10.370Z ok 6 - security: organization pictures are the owners' to change, and invitations aren't sent twice 2026-10-14T13:53:10.371Z --- 2026-10-14T13:53:10.371Z duration_ms: 81.793855 2026-10-14T13:53:10.371Z type: 'test' 2026-10-14T13:53:10.371Z ... 2026-10-14T13:53:10.592Z # Subtest: security: organization members get the base permission, which only owners change 2026-10-14T13:53:10.594Z ok 7 - security: organization members get the base permission, which only owners change 2026-10-14T13:53:10.594Z --- 2026-10-14T13:53:10.594Z duration_ms: 223.44265 2026-10-14T13:53:10.594Z type: 'test' 2026-10-14T13:53:10.594Z ... 2026-10-14T13:53:10.840Z # Subtest: security: leaving an organization takes its repository access along 2026-10-14T13:53:10.840Z ok 8 - security: leaving an organization takes its repository access along 2026-10-14T13:53:10.840Z --- 2026-10-14T13:53:10.840Z duration_ms: 247.404192 2026-10-14T13:53:10.840Z type: 'test' 2026-10-14T13:53:10.840Z ... 2026-10-14T13:53:14.136Z # Subtest: security: organization settings are checked before anything is saved, and agents see the base permission 2026-10-14T13:53:14.136Z ok 9 - security: organization settings are checked before anything is saved, and agents see the base permission 2026-10-14T13:53:14.136Z --- 2026-10-14T13:53:14.136Z duration_ms: 3293.413223 2026-10-14T13:53:14.136Z type: 'test' 2026-10-14T13:53:14.136Z ... 2026-10-14T13:53:18.766Z # Subtest: security: a transferred repository keeps its data, and its old name redirects only for readers 2026-10-14T13:53:18.768Z ok 10 - security: a transferred repository keeps its data, and its old name redirects only for readers 2026-10-14T13:53:18.768Z --- 2026-10-14T13:53:18.768Z duration_ms: 4632.151454 2026-10-14T13:53:18.768Z type: 'test' 2026-10-14T13:53:18.768Z ... 2026-10-14T13:53:31.639Z # Subtest: security: agents land changes on protected branches only through auto-merge a person allowed, gated by CI 2026-10-14T13:53:31.640Z ok 11 - security: agents land changes on protected branches only through auto-merge a person allowed, gated by CI 2026-10-14T13:53:31.640Z --- 2026-10-14T13:53:31.640Z duration_ms: 12874.322177 2026-10-14T13:53:31.640Z type: 'test' 2026-10-14T13:53:31.640Z ...