2026-10-16T13:37:02.816Z Diffinery runner: job e2e (End-to-end (security)) for codician/diffinery@58a3ebdf1d86 2026-10-16T13:37:02.828Z Runner: image diffinery-runner:2a3052eff7a82a483a7fde51, in lhr10, WEUR, container f9de26ab431765d879073e1fc74b924bfc96a9801d49232e146bf81e08e53ae9 2026-10-16T13:37:02.828Z Workspace: /workspace/diffinery 2026-10-16T13:37:02.906Z ##[group]Run actions/checkout@v4 2026-10-16T13:37:02.906Z ##[endgroup] 2026-10-16T13:37:02.908Z Syncing repository: codician/diffinery 2026-10-16T13:37:02.986Z Fetching the repository (depth 1) 2026-10-16T13:37:03.657Z remote: Enumerating objects: 602, done. 2026-10-16T13:37:04.125Z Receiving objects: 0% (1/602) Receiving objects: 1% (7/602) Receiving objects: 2% (13/602) Receiving objects: 3% (19/602) Receiving objects: 4% (25/602) Receiving objects: 5% (31/602) Receiving objects: 6% (37/602) Receiving objects: 7% (43/602) Receiving objects: 8% (49/602) Receiving objects: 9% (55/602) Receiving objects: 10% (61/602) Receiving objects: 11% (67/602) Receiving objects: 12% (73/602) Receiving objects: 13% (79/602) Receiving objects: 14% (85/602) Receiving objects: 15% (91/602) Receiving objects: 16% (97/602) Receiving objects: 17% (103/602) Receiving objects: 18% (109/602) Receiving objects: 19% (115/602) Receiving objects: 20% (121/602) Receiving objects: 21% (127/602) Receiving objects: 22% (133/602) Receiving objects: 23% (139/602) Receiving objects: 24% (145/602) Receiving objects: 25% (151/602) Receiving objects: 26% (157/602) Receiving objects: 27% (163/602) Receiving objects: 28% (169/602) Receiving objects: 29% (175/602) Receiving objects: 30% (181/602) Receiving objects: 31% (187/602) Receiving objects: 32% (193/602) Receiving objects: 33% (199/602) Receiving objects: 34% (205/602) Receiving objects: 35% (211/602) Receiving objects: 36% (217/602) Receiving objects: 37% (223/602) Receiving objects: 38% (229/602) Receiving objects: 39% (235/602) Receiving objects: 40% (241/602) Receiving objects: 41% (247/602) Receiving objects: 42% (253/602) Receiving objects: 43% (259/602) Receiving objects: 44% (265/602) Receiving objects: 45% (271/602) Receiving objects: 46% (277/602) Receiving objects: 47% (283/602) Receiving objects: 48% (289/602) Receiving objects: 49% (295/602) Receiving objects: 50% (301/602) Receiving objects: 51% (308/602) Receiving objects: 52% (314/602) Receiving objects: 53% (320/602) Receiving objects: 54% (326/602) Receiving objects: 55% (332/602) Receiving objects: 56% (338/602) Receiving objects: 57% (344/602) Receiving objects: 58% (350/602) Receiving objects: 59% (356/602) Receiving objects: 60% (362/602) Receiving objects: 61% (368/602) Receiving objects: 62% (374/602) Receiving objects: 63% (380/602) Receiving objects: 64% (386/602) Receiving objects: 65% (392/602) Receiving objects: 66% (398/602) Receiving objects: 67% (404/602) Receiving objects: 68% (410/602) Receiving objects: 69% (416/602) Receiving objects: 70% (422/602) Receiving objects: 71% (428/602) Receiving objects: 72% (434/602) Receiving objects: 73% (440/602) Receiving objects: 74% (446/602) Receiving objects: 75% (452/602) Receiving objects: 76% (458/602) Receiving objects: 77% (464/602) Receiving objects: 78% (470/602) Receiving objects: 79% (476/602) Receiving objects: 80% (482/602) Receiving objects: 81% (488/602) Receiving objects: 82% (494/602) Receiving objects: 83% (500/602) Receiving objects: 84% (506/602) Receiving objects: 85% (512/602) Receiving objects: 86% (518/602) Receiving objects: 87% (524/602) Receiving objects: 88% (530/602) Receiving objects: 89% (536/602) Receiving objects: 90% (542/602) Receiving objects: 91% (548/602) Receiving objects: 92% (554/602) Receiving objects: 93% (560/602) Receiving objects: 94% (566/602) Receiving objects: 95% (572/602) Receiving objects: 96% (578/602) remote: Total 602 (delta 0), reused 602 (delta 0) 2026-10-16T13:37:04.127Z Receiving objects: 97% (584/602) Receiving objects: 98% (590/602) Receiving objects: 99% (596/602) Receiving objects: 100% (602/602) Receiving objects: 100% (602/602), 2.44 MiB | 5.25 MiB/s, done. 2026-10-16T13:37:04.140Z From https://diffinery.com/codician/diffinery 2026-10-16T13:37:04.140Z * [new ref] 58a3ebdf1d86ed03fd996c1ce120b0365e3f9f53 -> origin/diffinery-checkout 2026-10-16T13:37:04.232Z Note: switching to '58a3ebdf1d86ed03fd996c1ce120b0365e3f9f53'. 2026-10-16T13:37:04.232Z 2026-10-16T13:37:04.232Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-16T13:37:04.232Z changes and commit them, and you can discard any commits you make in this 2026-10-16T13:37:04.232Z state without impacting any branches by switching back to a branch. 2026-10-16T13:37:04.232Z 2026-10-16T13:37:04.232Z If you want to create a new branch to retain commits you create, you may 2026-10-16T13:37:04.232Z do so (now or later) by using -c with the switch command. Example: 2026-10-16T13:37:04.232Z 2026-10-16T13:37:04.232Z git switch -c 2026-10-16T13:37:04.232Z 2026-10-16T13:37:04.232Z Or undo this operation with: 2026-10-16T13:37:04.232Z 2026-10-16T13:37:04.232Z git switch - 2026-10-16T13:37:04.232Z 2026-10-16T13:37:04.232Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-16T13:37:04.232Z 2026-10-16T13:37:04.232Z HEAD is now at 58a3ebd Merge 7cf71e85e383df6866012be9b2e9266570894ad8 into 12fae42e55e68d8094e8db51c7ace084fd225d2a 2026-10-16T13:37:04.238Z HEAD is now at 58a3ebdf1d86ed03fd996c1ce120b0365e3f9f53 2026-10-16T13:37:04.695Z Download action repository 'pnpm/action-setup@v4' 2026-10-16T13:37:05.206Z ##[group]Run pnpm/action-setup@v4 2026-10-16T13:37:05.206Z with: 2026-10-16T13:37:05.206Z dest: ~/setup-pnpm 2026-10-16T13:37:05.206Z run_install: null 2026-10-16T13:37:05.206Z cache: false 2026-10-16T13:37:05.206Z cache_dependency_path: pnpm-lock.yaml 2026-10-16T13:37:05.206Z package_json_file: package.json 2026-10-16T13:37:05.206Z standalone: false 2026-10-16T13:37:05.206Z ##[endgroup] 2026-10-16T13:37:05.498Z ##[group]Running self-installer... 2026-10-16T13:37:06.943Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T13:37:06.962Z Packages: +1 2026-10-16T13:37:06.962Z + 2026-10-16T13:37:07.820Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-16T13:37:07.885Z 2026-10-16T13:37:07.885Z dependencies: 2026-10-16T13:37:07.885Z + pnpm 10.28.0 (12.14.0 is available) 2026-10-16T13:37:07.885Z 2026-10-16T13:37:07.893Z Done in 1.9s 2026-10-16T13:37:07.930Z ##[endgroup] 2026-10-16T13:37:07.930Z Installation Completed! 2026-10-16T13:37:08.076Z ##[group]Run actions/setup-node@v4 2026-10-16T13:37:08.076Z with: 2026-10-16T13:37:08.076Z node-version: 22 2026-10-16T13:37:08.076Z cache: pnpm 2026-10-16T13:37:08.076Z ##[endgroup] 2026-10-16T13:37:08.086Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-16T13:37:16.957Z Cache Size: ~215 MB (225870423 B) 2026-10-16T13:37:22.354Z Cache restored from key: node-cache-Linux-x64-pnpm-4b94436b86798d88b931ea24b5b847697aebf45520d6ef384cb382ce6c1f1e08 2026-10-16T13:37:22.501Z ##[group]Run pnpm install --frozen-lockfile 2026-10-16T13:37:22.501Z ##[endgroup] 2026-10-16T13:37:23.115Z Scope: all 7 workspace projects 2026-10-16T13:37:23.202Z Lockfile is up to date, resolution step is skipped 2026-10-16T13:37:23.280Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T13:37:23.357Z Packages: +248 2026-10-16T13:37:23.357Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-16T13:37:24.282Z Progress: resolved 248, reused 242, downloaded 0, added 163 2026-10-16T13:37:24.743Z Progress: resolved 248, reused 242, downloaded 0, added 248, done 2026-10-16T13:37:41.012Z 2026-10-16T13:37:41.012Z devDependencies: 2026-10-16T13:37:41.012Z + turbo 2.11.7 2026-10-16T13:37:41.012Z + typescript 5.9.3 2026-10-16T13:37:41.012Z 2026-10-16T13:37:41.526Z Done in 18.9s using pnpm v10.28.0 2026-10-16T13:37:41.845Z ##[group]Run pnpm -r --if-present build 2026-10-16T13:37:41.845Z ##[endgroup] 2026-10-16T13:37:42.605Z Scope: 6 of 7 workspace projects 2026-10-16T13:37:42.613Z 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-16T13:37:42.613Z import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);" 2026-10-16T13:37:42.614Z apps/diffinery build$ node islands/build.mjs && node scripts/build-docs.mjs 2026-10-16T13:37:42.615Z 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-16T13:37:42.751Z apps/cli build: dist/diffinery.mjs 439.5kb 2026-10-16T13:37:42.755Z apps/cli build: ⚡ Done in 94ms 2026-10-16T13:37:42.775Z apps/cli build: Done 2026-10-16T13:37:42.799Z containers/runner build: dist/agent.mjs 657.3kb 2026-10-16T13:37:42.801Z containers/runner build: ⚡ Done in 145ms 2026-10-16T13:37:42.812Z containers/runner build: Done 2026-10-16T13:37:44.072Z apps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KB 2026-10-16T13:37:44.565Z apps/diffinery build: docs: 62 pages (+2 generated at runtime), CLI 0.1.0 (230 KiB) 2026-10-16T13:37:44.585Z apps/diffinery build: Done 2026-10-16T13:37:44.839Z ##[group]Run # Shards of similar length; a new test file runs in "rest" unless it's added to another. 2026-10-16T13:37:44.839Z core='/e2e\.test\.mjs$' 2026-10-16T13:37:44.839Z agents='/(agentic|review|tasks)\.test\.mjs$' 2026-10-16T13:37:44.839Z security='/(security|status)\.test\.mjs$' 2026-10-16T13:37:44.839Z # The core file's real histories and large pushes take minutes each (jquery's alone 2 to 3 on 2026-10-16T13:37:44.839Z # Diffinery's runners): two shards of their own, so no part of the file runs into node's 2026-10-16T13:37:44.839Z # per-file timeout, which is the --test-timeout here. 2026-10-16T13:37:44.839Z histories='^real histories:' 2026-10-16T13:37:44.839Z large='^(large files|large pushes):' 2026-10-16T13:37:44.839Z opts=(--test-timeout=600000) 2026-10-16T13:37:44.839Z case "security" in 2026-10-16T13:37:44.839Z core) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-skip-pattern="$histories" --test-skip-pattern="$large") ;; 2026-10-16T13:37:44.839Z histories) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts=(--test-timeout=900000 --test-name-pattern="$histories") ;; 2026-10-16T13:37:44.839Z large) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-name-pattern="$large") ;; 2026-10-16T13:37:44.839Z agents) files=$(ls test/e2e/*.test.mjs | grep -E "$agents") ;; 2026-10-16T13:37:44.839Z security) files=$(ls test/e2e/*.test.mjs | grep -E "$security") ;; 2026-10-16T13:37:44.839Z *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents|$security") ;; 2026-10-16T13:37:44.839Z esac 2026-10-16T13:37:44.839Z echo "$files" 2026-10-16T13:37:44.839Z node --test --test-concurrency=1 "${opts[@]}" $files 2026-10-16T13:37:44.839Z ##[endgroup] 2026-10-16T13:37:44.861Z test/e2e/security.test.mjs 2026-10-16T13:37:44.861Z test/e2e/status.test.mjs 2026-10-16T13:37:44.957Z TAP version 13 2026-10-16T13:38:34.225Z # Subtest: security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-16T13:38:34.226Z ok 1 - security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-16T13:38:34.226Z --- 2026-10-16T13:38:34.226Z duration_ms: 49188.00074 2026-10-16T13:38:34.226Z type: 'test' 2026-10-16T13:38:34.226Z ... 2026-10-16T13:38:34.376Z # Subtest: security: organization admins can't hand out ownership 2026-10-16T13:38:34.376Z ok 2 - security: organization admins can't hand out ownership 2026-10-16T13:38:34.376Z --- 2026-10-16T13:38:34.376Z duration_ms: 149.42252 2026-10-16T13:38:34.376Z type: 'test' 2026-10-16T13:38:34.376Z ... 2026-10-16T13:38:36.390Z # Subtest: security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-16T13:38:36.391Z ok 3 - security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-16T13:38:36.391Z --- 2026-10-16T13:38:36.391Z duration_ms: 2015.58545 2026-10-16T13:38:36.391Z type: 'test' 2026-10-16T13:38:36.391Z ... 2026-10-16T13:38:37.200Z # Subtest: security: push protection covers commits made without git 2026-10-16T13:38:37.201Z ok 4 - security: push protection covers commits made without git 2026-10-16T13:38:37.201Z --- 2026-10-16T13:38:37.201Z duration_ms: 806.80583 2026-10-16T13:38:37.201Z type: 'test' 2026-10-16T13:38:37.201Z ... 2026-10-16T13:39:00.751Z # Subtest: security: limited tokens, invisible repositories, readers' labels and the audit trail 2026-10-16T13:39:00.751Z ok 5 - security: limited tokens, invisible repositories, readers' labels and the audit trail 2026-10-16T13:39:00.751Z --- 2026-10-16T13:39:00.751Z duration_ms: 23552.84423 2026-10-16T13:39:00.751Z type: 'test' 2026-10-16T13:39:00.751Z ... 2026-10-16T13:39:00.903Z # Subtest: security: organization pictures are the owners' to change, and invitations aren't sent twice 2026-10-16T13:39:00.903Z ok 6 - security: organization pictures are the owners' to change, and invitations aren't sent twice 2026-10-16T13:39:00.903Z --- 2026-10-16T13:39:00.903Z duration_ms: 151.24228 2026-10-16T13:39:00.903Z type: 'test' 2026-10-16T13:39:00.903Z ... 2026-10-16T13:39:01.597Z # Subtest: security: organization members get the base permission, which only owners change 2026-10-16T13:39:01.597Z ok 7 - security: organization members get the base permission, which only owners change 2026-10-16T13:39:01.597Z --- 2026-10-16T13:39:01.597Z duration_ms: 691.80607 2026-10-16T13:39:01.597Z type: 'test' 2026-10-16T13:39:01.598Z ... 2026-10-16T13:39:02.325Z # Subtest: security: leaving an organization takes its repository access along 2026-10-16T13:39:02.325Z ok 8 - security: leaving an organization takes its repository access along 2026-10-16T13:39:02.325Z --- 2026-10-16T13:39:02.325Z duration_ms: 730.34015 2026-10-16T13:39:02.325Z type: 'test' 2026-10-16T13:39:02.325Z ... 2026-10-16T13:39:08.151Z # Subtest: security: organization settings are checked before anything is saved, and agents see the base permission 2026-10-16T13:39:08.151Z ok 9 - security: organization settings are checked before anything is saved, and agents see the base permission 2026-10-16T13:39:08.151Z --- 2026-10-16T13:39:08.151Z duration_ms: 5824.55309 2026-10-16T13:39:08.151Z type: 'test' 2026-10-16T13:39:08.151Z ... 2026-10-16T13:39:17.531Z # Subtest: security: a transferred repository keeps its data, and its old name redirects only for readers 2026-10-16T13:39:17.531Z ok 10 - security: a transferred repository keeps its data, and its old name redirects only for readers 2026-10-16T13:39:17.531Z --- 2026-10-16T13:39:17.531Z duration_ms: 9379.47463 2026-10-16T13:39:17.531Z type: 'test' 2026-10-16T13:39:17.531Z ... 2026-10-16T13:39:40.652Z # Subtest: security: agents land changes on protected branches only through auto-merge a person allowed, gated by CI 2026-10-16T13:39:40.652Z ok 11 - security: agents land changes on protected branches only through auto-merge a person allowed, gated by CI 2026-10-16T13:39:40.652Z --- 2026-10-16T13:39:40.652Z duration_ms: 23120.15639 2026-10-16T13:39:40.652Z type: 'test' 2026-10-16T13:39:40.652Z ... 2026-10-16T13:39:56.465Z # Subtest: security: an admin can let agents' auto-merges land on green checks without an approval, and nothing more 2026-10-16T13:39:56.465Z ok 12 - security: an admin can let agents' auto-merges land on green checks without an approval, and nothing more 2026-10-16T13:39:56.465Z --- 2026-10-16T13:39:56.465Z duration_ms: 15813.66802 2026-10-16T13:39:56.465Z type: 'test' 2026-10-16T13:39:56.465Z ... 2026-10-16T13:39:58.448Z # Subtest: security: an archived repository lands nothing by itself: archiving ends auto-merge and empties the merge queue 2026-10-16T13:39:58.448Z ok 13 - security: an archived repository lands nothing by itself: archiving ends auto-merge and empties the merge queue 2026-10-16T13:39:58.448Z --- 2026-10-16T13:39:58.448Z duration_ms: 1980.08355 2026-10-16T13:39:58.448Z type: 'test' 2026-10-16T13:39:58.448Z ... 2026-10-16T13:40:00.944Z # 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-16T13:40:00.944Z 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-16T13:40:00.944Z --- 2026-10-16T13:40:00.944Z duration_ms: 2498.39085 2026-10-16T13:40:00.944Z type: 'test' 2026-10-16T13:40:00.945Z ... 2026-10-16T13:40:02.405Z # Subtest: security: agents see what auto-merge needs next to the refusal to merge directly 2026-10-16T13:40:02.405Z ok 15 - security: agents see what auto-merge needs next to the refusal to merge directly 2026-10-16T13:40:02.405Z --- 2026-10-16T13:40:02.405Z duration_ms: 1460.5959 2026-10-16T13:40:02.405Z type: 'test' 2026-10-16T13:40:02.405Z ... 2026-10-16T13:40:07.728Z # Subtest: security: the queue's bypass button does what it says, and a merge queue can't contradict linear history 2026-10-16T13:40:07.728Z ok 16 - security: the queue's bypass button does what it says, and a merge queue can't contradict linear history 2026-10-16T13:40:07.728Z --- 2026-10-16T13:40:07.728Z duration_ms: 5323.27328 2026-10-16T13:40:07.728Z type: 'test' 2026-10-16T13:40:07.728Z ... 2026-10-16T13:40:08.474Z # Subtest: security: no token can mint a token, an agent or a sandbox, through the API or the web forms 2026-10-16T13:40:08.474Z ok 17 - security: no token can mint a token, an agent or a sandbox, through the API or the web forms 2026-10-16T13:40:08.474Z --- 2026-10-16T13:40:08.474Z duration_ms: 746.27943 2026-10-16T13:40:08.474Z type: 'test' 2026-10-16T13:40:08.474Z ... 2026-10-16T13:40:19.917Z # Subtest: security: repository variable endpoints see only the repository's own, and organization variable deletes are checked 2026-10-16T13:40:19.917Z ok 18 - security: repository variable endpoints see only the repository's own, and organization variable deletes are checked 2026-10-16T13:40:19.917Z --- 2026-10-16T13:40:19.917Z duration_ms: 11442.10921 2026-10-16T13:40:19.917Z type: 'test' 2026-10-16T13:40:19.917Z ... 2026-10-16T13:40:20.550Z # Subtest: security: milestones are checked before an issue is saved, and lists filter by them 2026-10-16T13:40:20.551Z ok 19 - security: milestones are checked before an issue is saved, and lists filter by them 2026-10-16T13:40:20.551Z --- 2026-10-16T13:40:20.551Z duration_ms: 635.14723 2026-10-16T13:40:20.551Z type: 'test' 2026-10-16T13:40:20.551Z ... 2026-10-16T13:40:25.103Z # Subtest: security: push protection reads large files, and revoking a token through the API is on the record 2026-10-16T13:40:25.103Z ok 20 - security: push protection reads large files, and revoking a token through the API is on the record 2026-10-16T13:40:25.103Z --- 2026-10-16T13:40:25.103Z duration_ms: 4550.15543 2026-10-16T13:40:25.103Z type: 'test' 2026-10-16T13:40:25.103Z ... 2026-10-16T13:40:26.467Z # Subtest: security: git request bodies are bounded, compressed or not, before anything reads them 2026-10-16T13:40:26.467Z ok 21 - security: git request bodies are bounded, compressed or not, before anything reads them 2026-10-16T13:40:26.467Z --- 2026-10-16T13:40:26.467Z duration_ms: 1363.10196 2026-10-16T13:40:26.467Z type: 'test' 2026-10-16T13:40:26.467Z ... 2026-10-16T13:40:27.381Z # Subtest: security: a file rewritten from scratch is diffed quickly, even for anonymous readers 2026-10-16T13:40:27.381Z ok 22 - security: a file rewritten from scratch is diffed quickly, even for anonymous readers 2026-10-16T13:40:27.381Z --- 2026-10-16T13:40:27.381Z duration_ms: 914.87926 2026-10-16T13:40:27.381Z type: 'test' 2026-10-16T13:40:27.381Z ... 2026-10-16T13:40:27.827Z # Subtest: security: signed out, a private repository and a missing one look the same everywhere 2026-10-16T13:40:27.827Z ok 23 - security: signed out, a private repository and a missing one look the same everywhere 2026-10-16T13:40:27.827Z --- 2026-10-16T13:40:27.827Z duration_ms: 447.26804 2026-10-16T13:40:27.827Z type: 'test' 2026-10-16T13:40:27.827Z ... 2026-10-16T13:40:28.561Z # Subtest: security: live updates say only that something changed, and never carry audit entries or payloads 2026-10-16T13:40:28.561Z ok 24 - security: live updates say only that something changed, and never carry audit entries or payloads 2026-10-16T13:40:28.561Z --- 2026-10-16T13:40:28.561Z duration_ms: 733.31551 2026-10-16T13:40:28.561Z type: 'test' 2026-10-16T13:40:28.561Z ... 2026-10-16T13:40:32.399Z # Subtest: security: push protection reads commit and tag messages, UTF-16 files and Diffinery's own tokens, and records opt-outs 2026-10-16T13:40:32.399Z ok 25 - security: push protection reads commit and tag messages, UTF-16 files and Diffinery's own tokens, and records opt-outs 2026-10-16T13:40:32.399Z --- 2026-10-16T13:40:32.399Z duration_ms: 3837.10428 2026-10-16T13:40:32.399Z type: 'test' 2026-10-16T13:40:32.399Z ... 2026-10-16T13:40:33.173Z # Subtest: security: required checks gate direct pushes to a protected branch, as on GitHub 2026-10-16T13:40:33.173Z ok 26 - security: required checks gate direct pushes to a protected branch, as on GitHub 2026-10-16T13:40:33.173Z --- 2026-10-16T13:40:33.173Z duration_ms: 773.92403 2026-10-16T13:40:33.173Z type: 'test' 2026-10-16T13:40:33.173Z ... 2026-10-16T13:40:33.557Z # Subtest: security: issue, pull request and comment text has GitHub's length limits 2026-10-16T13:40:33.558Z ok 27 - security: issue, pull request and comment text has GitHub's length limits 2026-10-16T13:40:33.558Z --- 2026-10-16T13:40:33.558Z duration_ms: 382.24793 2026-10-16T13:40:33.558Z type: 'test' 2026-10-16T13:40:33.558Z ... 2026-10-16T13:40:44.187Z # Subtest: security: deleting a repository deletes its stored objects too 2026-10-16T13:40:44.187Z ok 28 - security: deleting a repository deletes its stored objects too 2026-10-16T13:40:44.187Z --- 2026-10-16T13:40:44.187Z duration_ms: 10630.67548 2026-10-16T13:40:44.187Z type: 'test' 2026-10-16T13:40:44.187Z ... 2026-10-16T13:40:45.245Z # Subtest: security: pushes are checked like git's fsck: no '..' or '.git' entries, no unsafe .gitmodules 2026-10-16T13:40:45.245Z ok 29 - security: pushes are checked like git's fsck: no '..' or '.git' entries, no unsafe .gitmodules 2026-10-16T13:40:45.245Z --- 2026-10-16T13:40:45.245Z duration_ms: 1055.93634 2026-10-16T13:40:45.245Z type: 'test' 2026-10-16T13:40:45.245Z ... 2026-10-16T13:40:46.205Z # Subtest: security: a job's runner gets only the secrets the job names 2026-10-16T13:40:46.205Z ok 30 - security: a job's runner gets only the secrets the job names 2026-10-16T13:40:46.205Z --- 2026-10-16T13:40:46.205Z duration_ms: 961.78916 2026-10-16T13:40:46.205Z type: 'test' 2026-10-16T13:40:46.205Z ... 2026-10-16T13:40:47.412Z # Subtest: security: runs of agent code get no repository secrets unless an admin allows it 2026-10-16T13:40:47.412Z ok 31 - security: runs of agent code get no repository secrets unless an admin allows it 2026-10-16T13:40:47.412Z --- 2026-10-16T13:40:47.412Z duration_ms: 1206.75346 2026-10-16T13:40:47.412Z type: 'test' 2026-10-16T13:40:47.412Z ... 2026-10-16T13:40:48.482Z # Subtest: security: an agent's commits stay agent code when a person pushes on top, until a person merges them 2026-10-16T13:40:48.483Z not ok 32 - security: an agent's commits stay agent code when a person pushes on top, until a person merges them 2026-10-16T13:40:48.483Z --- 2026-10-16T13:40:48.483Z duration_ms: 1068.22023 2026-10-16T13:40:48.483Z type: 'test' 2026-10-16T13:40:48.483Z location: '/workspace/diffinery/apps/diffinery/test/e2e/security.test.mjs:1812:1' 2026-10-16T13:40:48.483Z failureType: 'testCodeFailure' 2026-10-16T13:40:48.483Z error: 'PUT /repos/olive/agent-laundry/pulls/1/merge -> 405 {"message":"pull request is not mergeable: needs 1 more approving review(s) (as an admin you can bypass with bypass_rules)","documentation_url":"https://docs.github.com/rest"}' 2026-10-16T13:40:48.483Z code: 'ERR_ASSERTION' 2026-10-16T13:40:48.483Z name: 'AssertionError' 2026-10-16T13:40:48.483Z expected: true 2026-10-16T13:40:48.483Z actual: false 2026-10-16T13:40:48.483Z operator: '==' 2026-10-16T13:40:48.483Z stack: |- 2026-10-16T13:40:48.483Z ok (file:///workspace/diffinery/apps/diffinery/test/e2e/security.test.mjs:110:10) 2026-10-16T13:40:48.483Z process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2026-10-16T13:40:48.483Z async TestContext. (file:///workspace/diffinery/apps/diffinery/test/e2e/security.test.mjs:1839:3) 2026-10-16T13:40:48.483Z async Test.run (node:internal/test_runner/test:1054:7) 2026-10-16T13:40:48.483Z async Test.processPendingSubtests (node:internal/test_runner/test:744:7) 2026-10-16T13:40:48.483Z ... 2026-10-16T13:40:51.381Z # Subtest: security: a workflow on another branch can't cancel a protected branch's run by naming its concurrency group 2026-10-16T13:40:51.382Z ok 33 - security: a workflow on another branch can't cancel a protected branch's run by naming its concurrency group 2026-10-16T13:40:51.382Z --- 2026-10-16T13:40:51.382Z duration_ms: 2901.24675 2026-10-16T13:40:51.382Z type: 'test' 2026-10-16T13:40:51.382Z ... 2026-10-16T13:40:51.955Z # Subtest: security: adding someone by email always invites them, so the address doesn't reveal their username and they agree first 2026-10-16T13:40:51.955Z ok 34 - security: adding someone by email always invites them, so the address doesn't reveal their username and they agree first 2026-10-16T13:40:51.955Z --- 2026-10-16T13:40:51.955Z duration_ms: 574.97174 2026-10-16T13:40:51.955Z type: 'test' 2026-10-16T13:40:51.955Z ... 2026-10-16T13:40:54.339Z # Subtest: security: a job's log is capped, and oversized workflow files aren't parsed 2026-10-16T13:40:54.340Z ok 35 - security: a job's log is capped, and oversized workflow files aren't parsed 2026-10-16T13:40:54.340Z --- 2026-10-16T13:40:54.340Z duration_ms: 2384.16655 2026-10-16T13:40:54.340Z type: 'test' 2026-10-16T13:40:54.340Z ... 2026-10-16T13:40:55.224Z # Subtest: security: a workflow's token can't use another repository's private packages, and a repository's name is its own 2026-10-16T13:40:55.224Z ok 36 - security: a workflow's token can't use another repository's private packages, and a repository's name is its own 2026-10-16T13:40:55.224Z --- 2026-10-16T13:40:55.224Z duration_ms: 883.9978 2026-10-16T13:40:55.224Z type: 'test' 2026-10-16T13:40:55.224Z ... 2026-10-16T13:40:56.040Z # Subtest: security: OIDC tokens name the environment a job deployed to, and carry ids that survive a reused name 2026-10-16T13:40:56.040Z ok 37 - security: OIDC tokens name the environment a job deployed to, and carry ids that survive a reused name 2026-10-16T13:40:56.040Z --- 2026-10-16T13:40:56.040Z duration_ms: 816.48107 2026-10-16T13:40:56.040Z type: 'test' 2026-10-16T13:40:56.040Z ... 2026-10-16T13:40:56.591Z # Subtest: security: sensitive actions need a recent sign-in, sessions end 90 days after it, and one browser can be signed out 2026-10-16T13:40:56.591Z ok 38 - security: sensitive actions need a recent sign-in, sessions end 90 days after it, and one browser can be signed out 2026-10-16T13:40:56.591Z --- 2026-10-16T13:40:56.591Z duration_ms: 551.1702 2026-10-16T13:40:56.591Z type: 'test' 2026-10-16T13:40:56.591Z ... 2026-10-16T13:40:57.776Z # Subtest: security: self-hosted runners register with a one-hour token and claim jobs with their own 2026-10-16T13:40:57.776Z ok 39 - security: self-hosted runners register with a one-hour token and claim jobs with their own 2026-10-16T13:40:57.776Z --- 2026-10-16T13:40:57.776Z duration_ms: 1180.5059 2026-10-16T13:40:57.776Z type: 'test' 2026-10-16T13:40:57.776Z ... 2026-10-16T13:40:59.988Z # Subtest: security: an organization secret reaches only the repositories it's shared with 2026-10-16T13:40:59.988Z ok 40 - security: an organization secret reaches only the repositories it's shared with 2026-10-16T13:40:59.988Z --- 2026-10-16T13:40:59.988Z duration_ms: 2215.53553 2026-10-16T13:40:59.988Z type: 'test' 2026-10-16T13:40:59.988Z ... 2026-10-16T13:41:01.408Z # Subtest: security: an admin can purge objects a force-push left unreachable 2026-10-16T13:41:01.408Z ok 41 - security: an admin can purge objects a force-push left unreachable 2026-10-16T13:41:01.412Z --- 2026-10-16T13:41:01.412Z duration_ms: 1417.76627 2026-10-16T13:41:01.412Z type: 'test' 2026-10-16T13:41:01.412Z ... 2026-10-16T13:41:02.585Z # Subtest: security: webhooks reach only public hosts other than Diffinery, at most 20 per repository 2026-10-16T13:41:02.585Z ok 42 - security: webhooks reach only public hosts other than Diffinery, at most 20 per repository 2026-10-16T13:41:02.585Z --- 2026-10-16T13:41:02.585Z duration_ms: 1174.52505 2026-10-16T13:41:02.585Z type: 'test' 2026-10-16T13:41:02.585Z ... 2026-10-16T13:41:05.322Z # Subtest: security: invitations and test emails have limits, so an account can't be used to send mail in bulk 2026-10-16T13:41:05.322Z ok 43 - security: invitations and test emails have limits, so an account can't be used to send mail in bulk 2026-10-16T13:41:05.322Z --- 2026-10-16T13:41:05.322Z duration_ms: 2740.49668 2026-10-16T13:41:05.322Z type: 'test' 2026-10-16T13:41:05.322Z ... 2026-10-16T13:41:06.163Z # Subtest: security: inputs that were taken on trust are checked (collaborators, check links, paging, MCP batches, reserved names) 2026-10-16T13:41:06.163Z ok 44 - security: inputs that were taken on trust are checked (collaborators, check links, paging, MCP batches, reserved names) 2026-10-16T13:41:06.163Z --- 2026-10-16T13:41:06.163Z duration_ms: 839.68907 2026-10-16T13:41:06.163Z type: 'test' 2026-10-16T13:41:06.163Z ... 2026-10-16T13:41:20.480Z # Subtest: security: environment reviewers hold a deploy job until a listed person approves, and nobody else can 2026-10-16T13:41:20.480Z ok 45 - security: environment reviewers hold a deploy job until a listed person approves, and nobody else can 2026-10-16T13:41:20.480Z --- 2026-10-16T13:41:20.480Z duration_ms: 14317.13823 2026-10-16T13:41:20.480Z type: 'test' 2026-10-16T13:41:20.480Z ... 2026-10-16T13:41:22.331Z # Subtest: security: adding someone by username sends an invitation, and they get access only once they accept 2026-10-16T13:41:22.331Z ok 46 - security: adding someone by username sends an invitation, and they get access only once they accept 2026-10-16T13:41:22.331Z --- 2026-10-16T13:41:22.331Z duration_ms: 1851.72273 2026-10-16T13:41:22.331Z type: 'test' 2026-10-16T13:41:22.331Z ... 2026-10-16T13:42:26.361Z # Subtest: security: per-account quotas on hosted minutes, hosted jobs at once, sandboxes and repositories 2026-10-16T13:42:26.361Z ok 47 - security: per-account quotas on hosted minutes, hosted jobs at once, sandboxes and repositories 2026-10-16T13:42:26.361Z --- 2026-10-16T13:42:26.361Z duration_ms: 64020.04061 2026-10-16T13:42:26.361Z type: 'test' 2026-10-16T13:42:26.361Z ... 2026-10-16T13:42:30.920Z # Subtest: security: a per-account storage quota refuses pushes, Git LFS and release asset uploads past it; reads and deletes keep working 2026-10-16T13:42:30.920Z ok 48 - security: a per-account storage quota refuses pushes, Git LFS and release asset uploads past it; reads and deletes keep working 2026-10-16T13:42:30.920Z --- 2026-10-16T13:42:30.920Z duration_ms: 4565.97943 2026-10-16T13:42:30.920Z type: 'test' 2026-10-16T13:42:30.920Z ... 2026-10-16T13:42:58.052Z # Subtest: security: kill switches suspend Actions for a repository or an account, and pause hosted compute on the instance 2026-10-16T13:42:58.052Z ok 49 - security: kill switches suspend Actions for a repository or an account, and pause hosted compute on the instance 2026-10-16T13:42:58.052Z --- 2026-10-16T13:42:58.052Z duration_ms: 27021.96143 2026-10-16T13:42:58.052Z type: 'test' 2026-10-16T13:42:58.052Z ... 2026-10-16T13:43:30.429Z # Subtest: status page: anyone can read it, and everything is operational at first 2026-10-16T13:43:30.429Z ok 50 - status page: anyone can read it, and everything is operational at first 2026-10-16T13:43:30.429Z --- 2026-10-16T13:43:30.429Z duration_ms: 32182.24504 2026-10-16T13:43:30.429Z type: 'test' 2026-10-16T13:43:30.429Z ... 2026-10-16T13:43:30.598Z # Subtest: status page: only site administrators can manage incidents (404 for anyone else) 2026-10-16T13:43:30.599Z ok 51 - status page: only site administrators can manage incidents (404 for anyone else) 2026-10-16T13:43:30.600Z --- 2026-10-16T13:43:30.600Z duration_ms: 168.19397 2026-10-16T13:43:30.600Z type: 'test' 2026-10-16T13:43:30.600Z ... 2026-10-16T13:43:30.719Z # Subtest: status page: a site administrator opens an incident through the API, and the page shows it 2026-10-16T13:43:30.719Z ok 52 - status page: a site administrator opens an incident through the API, and the page shows it 2026-10-16T13:43:30.719Z --- 2026-10-16T13:43:30.719Z duration_ms: 118.9491 2026-10-16T13:43:30.719Z type: 'test' 2026-10-16T13:43:30.719Z ... 2026-10-16T13:43:31.053Z # Subtest: status page: the web form opens an incident with several components and posts updates 2026-10-16T13:43:31.054Z ok 53 - status page: the web form opens an incident with several components and posts updates 2026-10-16T13:43:31.054Z --- 2026-10-16T13:43:31.054Z duration_ms: 335.81871 2026-10-16T13:43:31.054Z type: 'test' 2026-10-16T13:43:31.054Z ... 2026-10-16T13:43:31.168Z # Subtest: status page: resolving through the API returns the component to operational and moves the incident to past incidents 2026-10-16T13:43:31.168Z ok 54 - status page: resolving through the API returns the component to operational and moves the incident to past incidents 2026-10-16T13:43:31.168Z --- 2026-10-16T13:43:31.168Z duration_ms: 115.76263 2026-10-16T13:43:31.168Z type: 'test' 2026-10-16T13:43:31.168Z ... 2026-10-16T13:43:31.200Z # Subtest: status page: changes are audited without the updates' text 2026-10-16T13:43:31.200Z ok 55 - status page: changes are audited without the updates' text 2026-10-16T13:43:31.200Z --- 2026-10-16T13:43:31.200Z duration_ms: 31.45366 2026-10-16T13:43:31.200Z type: 'test' 2026-10-16T13:43:31.200Z ... 2026-10-16T13:43:31.344Z # Subtest: status page: pausing hosted compute shows Actions and agent sandboxes under maintenance 2026-10-16T13:43:31.344Z ok 56 - status page: pausing hosted compute shows Actions and agent sandboxes under maintenance 2026-10-16T13:43:31.344Z --- 2026-10-16T13:43:31.344Z duration_ms: 134.87309 2026-10-16T13:43:31.344Z type: 'test' 2026-10-16T13:43:31.344Z ... 2026-10-16T13:43:31.450Z 1..56 2026-10-16T13:43:31.450Z # tests 56 2026-10-16T13:43:31.450Z # suites 0 2026-10-16T13:43:31.450Z # pass 55 2026-10-16T13:43:31.450Z # fail 1 2026-10-16T13:43:31.450Z # cancelled 0 2026-10-16T13:43:31.450Z # skipped 0 2026-10-16T13:43:31.450Z # todo 0 2026-10-16T13:43:31.450Z # duration_ms 346526.8573 2026-10-16T13:43:31.462Z ##[error]Process completed with exit code 1. 2026-10-16T13:43:31.949Z Pruning is unnecessary. 2026-10-16T13:43:32.077Z Removing persisted credentials 2026-10-16T13:43:32.139Z Job completed with conclusion: failure