2026-10-14T16:10:55.165Z Diffinery runner: job e2e (End-to-end (security)) for codician/diffinery@effb7caf7ede 2026-10-14T16:10:55.192Z Runner: image diffinery-runner:75052421315d69e3ccfad876, in cdg17, WEUR, container d0f288e74deddd59b9fa8e070cdfc13882156b055d7317cc3823e2bb3a574d71 2026-10-14T16:10:55.192Z Workspace: /workspace/diffinery 2026-10-14T16:10:55.249Z ##[group]Run actions/checkout@v4 2026-10-14T16:10:55.249Z ##[endgroup] 2026-10-14T16:10:55.255Z Syncing repository: codician/diffinery 2026-10-14T16:10:55.439Z Fetching the repository (depth 1) 2026-10-14T16:10:56.254Z remote: Enumerating objects: 597, done. 2026-10-14T16:10:56.407Z Receiving objects: 0% (1/597) Receiving objects: 1% (6/597) Receiving objects: 2% (12/597) Receiving objects: 3% (18/597) Receiving objects: 4% (24/597) Receiving objects: 5% (30/597) Receiving objects: 6% (36/597) Receiving objects: 7% (42/597) Receiving objects: 8% (48/597) Receiving objects: 9% (54/597) Receiving objects: 10% (60/597) Receiving objects: 11% (66/597) Receiving objects: 12% (72/597) Receiving objects: 13% (78/597) Receiving objects: 14% (84/597) Receiving objects: 15% (90/597) Receiving objects: 16% (96/597) Receiving objects: 17% (102/597) Receiving objects: 18% (108/597) Receiving objects: 19% (114/597) Receiving objects: 20% (120/597) Receiving objects: 21% (126/597) Receiving objects: 22% (132/597) Receiving objects: 23% (138/597) Receiving objects: 24% (144/597) Receiving objects: 25% (150/597) Receiving objects: 26% (156/597) Receiving objects: 27% (162/597) Receiving objects: 28% (168/597) Receiving objects: 29% (174/597) Receiving objects: 30% (180/597) Receiving objects: 31% (186/597) Receiving objects: 32% (192/597) Receiving objects: 33% (198/597) Receiving objects: 34% (203/597) Receiving objects: 35% (209/597) Receiving objects: 36% (215/597) Receiving objects: 37% (221/597) Receiving objects: 38% (227/597) Receiving objects: 39% (233/597) Receiving objects: 40% (239/597) Receiving objects: 41% (245/597) Receiving objects: 42% (251/597) Receiving objects: 43% (257/597) Receiving objects: 44% (263/597) Receiving objects: 45% (269/597) Receiving objects: 46% (275/597) Receiving objects: 47% (281/597) Receiving objects: 48% (287/597) Receiving objects: 49% (293/597) Receiving objects: 50% (299/597) Receiving objects: 51% (305/597) Receiving objects: 52% (311/597) Receiving objects: 53% (317/597) Receiving objects: 54% (323/597) Receiving objects: 55% (329/597) Receiving objects: 56% (335/597) Receiving objects: 57% (341/597) Receiving objects: 58% (347/597) Receiving objects: 59% (353/597) Receiving objects: 60% (359/597) Receiving objects: 61% (365/597) Receiving objects: 62% (371/597) Receiving objects: 63% (377/597) Receiving objects: 64% (383/597) Receiving objects: 65% (389/597) Receiving objects: 66% (395/597) Receiving objects: 67% (400/597) Receiving objects: 68% (406/597) Receiving objects: 69% (412/597) Receiving objects: 70% (418/597) Receiving objects: 71% (424/597) Receiving objects: 72% (430/597) Receiving objects: 73% (436/597) Receiving objects: 74% (442/597) Receiving objects: 75% (448/597) Receiving objects: 76% (454/597) Receiving objects: 77% (460/597) Receiving objects: 78% (466/597) Receiving objects: 79% (472/597) Receiving objects: 80% (478/597) Receiving objects: 81% (484/597) Receiving objects: 82% (490/597) Receiving objects: 83% (496/597) Receiving objects: 84% (502/597) Receiving objects: 85% (508/597) Receiving objects: 86% (514/597) Receiving objects: 87% (520/597) Receiving objects: 88% (526/597) Receiving objects: 89% (532/597) Receiving objects: 90% (538/597) Receiving objects: 91% (544/597) Receiving objects: 92% (550/597) Receiving objects: 93% (556/597) Receiving objects: 94% (562/597) Receiving objects: 95% (568/597) Receiving objects: 96% (574/597) remote: Total 597 (delta 0), reused 597 (delta 0) 2026-10-14T16:10:56.409Z Receiving objects: 97% (580/597) Receiving objects: 98% (586/597) Receiving objects: 99% (592/597) Receiving objects: 100% (597/597) Receiving objects: 100% (597/597), 2.42 MiB | 17.12 MiB/s, done. 2026-10-14T16:10:56.423Z From https://diffinery.com/codician/diffinery 2026-10-14T16:10:56.423Z * [new ref] effb7caf7edead436a659ba45594e585320b1e70 -> origin/main 2026-10-14T16:10:56.496Z Switched to a new branch 'main' 2026-10-14T16:10:56.501Z HEAD is now at effb7caf7edead436a659ba45594e585320b1e70 2026-10-14T16:10:56.604Z Download action repository 'pnpm/action-setup@v4' 2026-10-14T16:10:57.157Z ##[group]Run pnpm/action-setup@v4 2026-10-14T16:10:57.157Z with: 2026-10-14T16:10:57.157Z dest: ~/setup-pnpm 2026-10-14T16:10:57.157Z run_install: null 2026-10-14T16:10:57.157Z cache: false 2026-10-14T16:10:57.157Z cache_dependency_path: pnpm-lock.yaml 2026-10-14T16:10:57.157Z package_json_file: package.json 2026-10-14T16:10:57.157Z standalone: false 2026-10-14T16:10:57.157Z ##[endgroup] 2026-10-14T16:10:57.364Z ##[group]Running self-installer... 2026-10-14T16:10:58.167Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-14T16:10:58.183Z Packages: +1 2026-10-14T16:10:58.183Z + 2026-10-14T16:10:58.854Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-14T16:10:58.876Z 2026-10-14T16:10:58.876Z dependencies: 2026-10-14T16:10:58.876Z + pnpm 10.28.0 (12.11.2 is available) 2026-10-14T16:10:58.876Z 2026-10-14T16:10:58.879Z Done in 1.2s 2026-10-14T16:10:58.898Z ##[endgroup] 2026-10-14T16:10:58.899Z Installation Completed! 2026-10-14T16:10:59.006Z ##[group]Run actions/setup-node@v4 2026-10-14T16:10:59.006Z with: 2026-10-14T16:10:59.006Z node-version: 22 2026-10-14T16:10:59.006Z cache: pnpm 2026-10-14T16:10:59.006Z ##[endgroup] 2026-10-14T16:10:59.019Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-14T16:11:04.263Z Cache Size: ~215 MB (225870423 B) 2026-10-14T16:11:10.099Z Cache restored from key: node-cache-Linux-x64-pnpm-4b94436b86798d88b931ea24b5b847697aebf45520d6ef384cb382ce6c1f1e08 2026-10-14T16:11:10.225Z ##[group]Run pnpm install --frozen-lockfile 2026-10-14T16:11:10.225Z ##[endgroup] 2026-10-14T16:11:13.818Z Scope: all 7 workspace projects 2026-10-14T16:11:13.908Z Lockfile is up to date, resolution step is skipped 2026-10-14T16:11:14.038Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-14T16:11:14.158Z Packages: +248 2026-10-14T16:11:14.158Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-14T16:11:15.040Z Progress: resolved 248, reused 198, downloaded 0, added 0 2026-10-14T16:11:16.056Z Progress: resolved 248, reused 242, downloaded 0, added 135 2026-10-14T16:11:17.056Z Progress: resolved 248, reused 242, downloaded 0, added 165 2026-10-14T16:11:17.371Z Progress: resolved 248, reused 242, downloaded 0, added 248, done 2026-10-14T16:11:30.390Z 2026-10-14T16:11:30.390Z devDependencies: 2026-10-14T16:11:30.390Z + turbo 2.11.7 2026-10-14T16:11:30.390Z + typescript 5.9.3 2026-10-14T16:11:30.390Z 2026-10-14T16:11:30.764Z Done in 17.3s using pnpm v10.28.0 2026-10-14T16:11:31.020Z ##[group]Run pnpm -r --if-present build 2026-10-14T16:11:31.020Z ##[endgroup] 2026-10-14T16:11:31.398Z Scope: 6 of 7 workspace projects 2026-10-14T16:11:31.402Z ##[group]@diffinery/cli@0.1.0 : build apps/cli 2026-10-14T16:11:31.405Z 2026-10-14T16:11:31.405Z > @diffinery/cli@0.1.0 build /workspace/diffinery/apps/cli 2026-10-14T16:11:31.405Z > esbuild src/bin.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/diffinery.mjs "--banner:js=#!/usr/bin/env node 2026-10-14T16:11:31.405Z import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);" 2026-10-14T16:11:31.405Z 2026-10-14T16:11:31.492Z 2026-10-14T16:11:31.492Z dist/diffinery.mjs 439.5kb 2026-10-14T16:11:31.492Z 2026-10-14T16:11:31.492Z ⚡ Done in 76ms 2026-10-14T16:11:31.496Z ##[endgroup] 2026-10-14T16:11:31.497Z ##[group]@diffinery/app@0.1.0 : build apps/diffinery 2026-10-14T16:11:31.498Z 2026-10-14T16:11:31.498Z > @diffinery/app@0.1.0 build /workspace/diffinery/apps/diffinery 2026-10-14T16:11:31.498Z > node islands/build.mjs && node scripts/build-docs.mjs 2026-10-14T16:11:31.498Z 2026-10-14T16:11:33.890Z islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KB 2026-10-14T16:11:34.378Z docs: 62 pages (+2 generated at runtime), CLI 0.1.0 (230 KiB) 2026-10-14T16:11:34.391Z ##[endgroup] 2026-10-14T16:11:34.391Z ##[group]@diffinery/runner@0.1.0 : build containers/runner 2026-10-14T16:11:34.392Z 2026-10-14T16:11:34.392Z > @diffinery/runner@0.1.0 build /workspace/diffinery/containers/runner 2026-10-14T16:11:34.392Z > 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-14T16:11:34.392Z 2026-10-14T16:11:34.533Z 2026-10-14T16:11:34.533Z dist/agent.mjs 657.2kb 2026-10-14T16:11:34.533Z 2026-10-14T16:11:34.533Z ⚡ Done in 129ms 2026-10-14T16:11:34.538Z ##[endgroup] 2026-10-14T16:11:34.741Z ##[group]Run # Shards of similar length; a new test file runs in "rest" unless it's added to another. 2026-10-14T16:11:34.741Z core='/e2e\.test\.mjs$' 2026-10-14T16:11:34.741Z agents='/(agentic|review|tasks)\.test\.mjs$' 2026-10-14T16:11:34.741Z security='/(security|status)\.test\.mjs$' 2026-10-14T16:11:34.741Z # The core file's real histories and large pushes take minutes each (jquery's alone 2 to 3 on 2026-10-14T16:11:34.741Z # Diffinery's runners): two shards of their own, so no part of the file runs into node's 2026-10-14T16:11:34.741Z # per-file timeout, which is the --test-timeout here. 2026-10-14T16:11:34.741Z histories='^real histories:' 2026-10-14T16:11:34.741Z large='^(large files|large pushes):' 2026-10-14T16:11:34.741Z opts=(--test-timeout=600000) 2026-10-14T16:11:34.741Z case "security" in 2026-10-14T16:11:34.741Z core) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-skip-pattern="$histories" --test-skip-pattern="$large") ;; 2026-10-14T16:11:34.741Z histories) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts=(--test-timeout=900000 --test-name-pattern="$histories") ;; 2026-10-14T16:11:34.741Z large) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-name-pattern="$large") ;; 2026-10-14T16:11:34.741Z agents) files=$(ls test/e2e/*.test.mjs | grep -E "$agents") ;; 2026-10-14T16:11:34.741Z security) files=$(ls test/e2e/*.test.mjs | grep -E "$security") ;; 2026-10-14T16:11:34.741Z *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents|$security") ;; 2026-10-14T16:11:34.741Z esac 2026-10-14T16:11:34.741Z echo "$files" 2026-10-14T16:11:34.741Z node --test --test-concurrency=1 "${opts[@]}" $files 2026-10-14T16:11:34.741Z ##[endgroup] 2026-10-14T16:11:34.767Z test/e2e/security.test.mjs 2026-10-14T16:11:34.767Z test/e2e/status.test.mjs 2026-10-14T16:11:34.825Z TAP version 13 2026-10-14T16:12:23.225Z # Subtest: security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-14T16:12:23.228Z ok 1 - security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-14T16:12:23.229Z --- 2026-10-14T16:12:23.229Z duration_ms: 48317.744484 2026-10-14T16:12:23.229Z type: 'test' 2026-10-14T16:12:23.229Z ... 2026-10-14T16:12:23.441Z # Subtest: security: organization admins can't hand out ownership 2026-10-14T16:12:23.441Z ok 2 - security: organization admins can't hand out ownership 2026-10-14T16:12:23.441Z --- 2026-10-14T16:12:23.441Z duration_ms: 213.884893 2026-10-14T16:12:23.441Z type: 'test' 2026-10-14T16:12:23.441Z ... 2026-10-14T16:12:26.162Z # Subtest: security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-14T16:12:26.162Z ok 3 - security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-14T16:12:26.163Z --- 2026-10-14T16:12:26.163Z duration_ms: 2718.374848 2026-10-14T16:12:26.163Z type: 'test' 2026-10-14T16:12:26.163Z ... 2026-10-14T16:12:26.972Z # Subtest: security: push protection covers commits made without git 2026-10-14T16:12:26.972Z ok 4 - security: push protection covers commits made without git 2026-10-14T16:12:26.972Z --- 2026-10-14T16:12:26.972Z duration_ms: 804.634806 2026-10-14T16:12:26.972Z type: 'test' 2026-10-14T16:12:26.972Z ... 2026-10-14T16:12:47.729Z # Subtest: security: limited tokens, invisible repositories, readers' labels and the audit trail 2026-10-14T16:12:47.733Z ok 5 - security: limited tokens, invisible repositories, readers' labels and the audit trail 2026-10-14T16:12:47.733Z --- 2026-10-14T16:12:47.733Z duration_ms: 20769.002983 2026-10-14T16:12:47.733Z type: 'test' 2026-10-14T16:12:47.733Z ... 2026-10-14T16:12:47.900Z # Subtest: security: organization pictures are the owners' to change, and invitations aren't sent twice 2026-10-14T16:12:47.903Z ok 6 - security: organization pictures are the owners' to change, and invitations aren't sent twice 2026-10-14T16:12:47.903Z --- 2026-10-14T16:12:47.903Z duration_ms: 169.723525 2026-10-14T16:12:47.903Z type: 'test' 2026-10-14T16:12:47.903Z ... 2026-10-14T16:12:48.405Z # Subtest: security: organization members get the base permission, which only owners change 2026-10-14T16:12:48.405Z ok 7 - security: organization members get the base permission, which only owners change 2026-10-14T16:12:48.405Z --- 2026-10-14T16:12:48.405Z duration_ms: 500.594406 2026-10-14T16:12:48.405Z type: 'test' 2026-10-14T16:12:48.405Z ... 2026-10-14T16:12:48.914Z # Subtest: security: leaving an organization takes its repository access along 2026-10-14T16:12:48.914Z ok 8 - security: leaving an organization takes its repository access along 2026-10-14T16:12:48.914Z --- 2026-10-14T16:12:48.914Z duration_ms: 508.959064 2026-10-14T16:12:48.914Z type: 'test' 2026-10-14T16:12:48.914Z ... 2026-10-14T16:12:53.871Z # Subtest: security: organization settings are checked before anything is saved, and agents see the base permission 2026-10-14T16:12:53.872Z ok 9 - security: organization settings are checked before anything is saved, and agents see the base permission 2026-10-14T16:12:53.872Z --- 2026-10-14T16:12:53.872Z duration_ms: 4957.331006 2026-10-14T16:12:53.872Z type: 'test' 2026-10-14T16:12:53.872Z ... 2026-10-14T16:13:02.151Z # Subtest: security: a transferred repository keeps its data, and its old name redirects only for readers 2026-10-14T16:13:02.151Z ok 10 - security: a transferred repository keeps its data, and its old name redirects only for readers 2026-10-14T16:13:02.151Z --- 2026-10-14T16:13:02.152Z duration_ms: 8279.652487 2026-10-14T16:13:02.152Z type: 'test' 2026-10-14T16:13:02.152Z ... 2026-10-14T16:13:20.404Z # Subtest: security: agents land changes on protected branches only through auto-merge a person allowed, gated by CI 2026-10-14T16:13:20.405Z ok 11 - security: agents land changes on protected branches only through auto-merge a person allowed, gated by CI 2026-10-14T16:13:20.407Z --- 2026-10-14T16:13:20.407Z duration_ms: 18257.412172 2026-10-14T16:13:20.407Z type: 'test' 2026-10-14T16:13:20.407Z ... 2026-10-14T16:13:35.518Z # Subtest: security: an admin can let agents' auto-merges land on green checks without an approval, and nothing more 2026-10-14T16:13:35.518Z ok 12 - security: an admin can let agents' auto-merges land on green checks without an approval, and nothing more 2026-10-14T16:13:35.518Z --- 2026-10-14T16:13:35.518Z duration_ms: 15110.92425 2026-10-14T16:13:35.518Z type: 'test' 2026-10-14T16:13:35.518Z ... 2026-10-14T16:13:36.518Z # Subtest: security: an archived repository lands nothing by itself: archiving ends auto-merge and empties the merge queue 2026-10-14T16:13:36.518Z ok 13 - security: an archived repository lands nothing by itself: archiving ends auto-merge and empties the merge queue 2026-10-14T16:13:36.519Z --- 2026-10-14T16:13:36.519Z duration_ms: 998.482521 2026-10-14T16:13:36.519Z type: 'test' 2026-10-14T16:13:36.519Z ... 2026-10-14T16:13:38.810Z # 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-14T16:13:38.811Z 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-14T16:13:38.813Z --- 2026-10-14T16:13:38.813Z duration_ms: 2295.310536 2026-10-14T16:13:38.813Z type: 'test' 2026-10-14T16:13:38.813Z ... 2026-10-14T16:13:39.626Z # Subtest: security: agents see what auto-merge needs next to the refusal to merge directly 2026-10-14T16:13:39.626Z ok 15 - security: agents see what auto-merge needs next to the refusal to merge directly 2026-10-14T16:13:39.626Z --- 2026-10-14T16:13:39.626Z duration_ms: 813.997153 2026-10-14T16:13:39.626Z type: 'test' 2026-10-14T16:13:39.626Z ...