2026-10-16T12:55:17.995Z Diffinery runner: job e2e (End-to-end (security)) for codician/diffinery@be909c86151b 2026-10-16T12:55:18.019Z Runner: image diffinery-runner:2a3052eff7a82a483a7fde51, in cdg12, WEUR, container dc5349c16fe262abeab3810e3a21b2920f91e305ac29aba54bec864d9a1e9e77 2026-10-16T12:55:18.019Z Workspace: /workspace/diffinery 2026-10-16T12:55:18.083Z ##[group]Run actions/checkout@v4 2026-10-16T12:55:18.083Z ##[endgroup] 2026-10-16T12:55:18.087Z Syncing repository: codician/diffinery 2026-10-16T12:55:18.226Z Fetching the repository (depth 1) 2026-10-16T12:55:19.801Z remote: Enumerating objects: 602, done. 2026-10-16T12:55:20.265Z 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-16T12:55:20.269Z 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 | 7.30 MiB/s, done. 2026-10-16T12:55:20.327Z From https://diffinery.com/codician/diffinery 2026-10-16T12:55:20.327Z * [new ref] be909c86151b78b94d76ad5cb2332b14ffd64f29 -> origin/main 2026-10-16T12:55:20.441Z Switched to a new branch 'main' 2026-10-16T12:55:20.448Z HEAD is now at be909c86151b78b94d76ad5cb2332b14ffd64f29 2026-10-16T12:55:20.559Z Download action repository 'pnpm/action-setup@v4' 2026-10-16T12:55:21.081Z ##[group]Run pnpm/action-setup@v4 2026-10-16T12:55:21.081Z with: 2026-10-16T12:55:21.081Z dest: ~/setup-pnpm 2026-10-16T12:55:21.081Z run_install: null 2026-10-16T12:55:21.081Z cache: false 2026-10-16T12:55:21.081Z cache_dependency_path: pnpm-lock.yaml 2026-10-16T12:55:21.081Z package_json_file: package.json 2026-10-16T12:55:21.081Z standalone: false 2026-10-16T12:55:21.081Z ##[endgroup] 2026-10-16T12:55:21.508Z ##[group]Running self-installer... 2026-10-16T12:55:22.704Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T12:55:22.722Z Packages: +1 2026-10-16T12:55:22.722Z + 2026-10-16T12:55:23.600Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-16T12:55:23.667Z 2026-10-16T12:55:23.668Z dependencies: 2026-10-16T12:55:23.668Z + pnpm 10.28.0 (12.14.0 is available) 2026-10-16T12:55:23.668Z 2026-10-16T12:55:23.675Z Done in 1.7s 2026-10-16T12:55:23.723Z ##[endgroup] 2026-10-16T12:55:23.723Z Installation Completed! 2026-10-16T12:55:23.890Z ##[group]Run actions/setup-node@v4 2026-10-16T12:55:23.890Z with: 2026-10-16T12:55:23.890Z node-version: 22 2026-10-16T12:55:23.890Z cache: pnpm 2026-10-16T12:55:23.890Z ##[endgroup] 2026-10-16T12:55:23.904Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-16T12:55:30.546Z Cache Size: ~215 MB (225870423 B) 2026-10-16T12:55:35.537Z Cache restored from key: node-cache-Linux-x64-pnpm-4b94436b86798d88b931ea24b5b847697aebf45520d6ef384cb382ce6c1f1e08 2026-10-16T12:55:35.742Z ##[group]Run pnpm install --frozen-lockfile 2026-10-16T12:55:35.742Z ##[endgroup] 2026-10-16T12:55:36.450Z Scope: all 7 workspace projects 2026-10-16T12:55:36.573Z Lockfile is up to date, resolution step is skipped 2026-10-16T12:55:36.659Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T12:55:36.742Z Packages: +248 2026-10-16T12:55:36.742Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-16T12:55:37.661Z Progress: resolved 248, reused 242, downloaded 0, added 40 2026-10-16T12:55:38.661Z Progress: resolved 248, reused 242, downloaded 0, added 247 2026-10-16T12:55:38.772Z Progress: resolved 248, reused 242, downloaded 0, added 248, done 2026-10-16T12:55:55.075Z 2026-10-16T12:55:55.075Z devDependencies: 2026-10-16T12:55:55.075Z + turbo 2.11.7 2026-10-16T12:55:55.075Z + typescript 5.9.3 2026-10-16T12:55:55.075Z 2026-10-16T12:55:55.499Z Done in 19.6s using pnpm v10.28.0 2026-10-16T12:55:55.799Z ##[group]Run pnpm -r --if-present build 2026-10-16T12:55:55.799Z ##[endgroup] 2026-10-16T12:55:56.382Z Scope: 6 of 7 workspace projects 2026-10-16T12:55:56.388Z 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-16T12:55:56.388Z import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);" 2026-10-16T12:55:56.389Z 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-16T12:55:56.389Z apps/diffinery build$ node islands/build.mjs && node scripts/build-docs.mjs 2026-10-16T12:55:56.553Z apps/cli build: dist/diffinery.mjs 439.5kb 2026-10-16T12:55:56.553Z apps/cli build: ⚡ Done in 120ms 2026-10-16T12:55:56.554Z containers/runner build: dist/agent.mjs 657.3kb 2026-10-16T12:55:56.555Z containers/runner build: ⚡ Done in 136ms 2026-10-16T12:55:56.556Z apps/cli build: Done 2026-10-16T12:55:56.558Z containers/runner build: Done 2026-10-16T12:55:57.950Z apps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KB 2026-10-16T12:55:58.401Z apps/diffinery build: docs: 62 pages (+2 generated at runtime), CLI 0.1.0 (230 KiB) 2026-10-16T12:55:58.417Z apps/diffinery build: Done 2026-10-16T12:55:59.157Z ##[group]Run # Shards of similar length; a new test file runs in "rest" unless it's added to another. 2026-10-16T12:55:59.157Z core='/e2e\.test\.mjs$' 2026-10-16T12:55:59.157Z agents='/(agentic|review|tasks)\.test\.mjs$' 2026-10-16T12:55:59.157Z security='/(security|status)\.test\.mjs$' 2026-10-16T12:55:59.157Z # The core file's real histories and large pushes take minutes each (jquery's alone 2 to 3 on 2026-10-16T12:55:59.157Z # Diffinery's runners): two shards of their own, so no part of the file runs into node's 2026-10-16T12:55:59.157Z # per-file timeout, which is the --test-timeout here. 2026-10-16T12:55:59.157Z histories='^real histories:' 2026-10-16T12:55:59.157Z large='^(large files|large pushes):' 2026-10-16T12:55:59.157Z opts=(--test-timeout=600000) 2026-10-16T12:55:59.157Z case "security" in 2026-10-16T12:55:59.157Z core) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-skip-pattern="$histories" --test-skip-pattern="$large") ;; 2026-10-16T12:55:59.157Z histories) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts=(--test-timeout=900000 --test-name-pattern="$histories") ;; 2026-10-16T12:55:59.157Z large) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-name-pattern="$large") ;; 2026-10-16T12:55:59.157Z agents) files=$(ls test/e2e/*.test.mjs | grep -E "$agents") ;; 2026-10-16T12:55:59.157Z security) files=$(ls test/e2e/*.test.mjs | grep -E "$security") ;; 2026-10-16T12:55:59.157Z *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents|$security") ;; 2026-10-16T12:55:59.157Z esac 2026-10-16T12:55:59.157Z echo "$files" 2026-10-16T12:55:59.157Z node --test --test-concurrency=1 "${opts[@]}" $files 2026-10-16T12:55:59.157Z ##[endgroup] 2026-10-16T12:55:59.178Z test/e2e/security.test.mjs 2026-10-16T12:55:59.178Z test/e2e/status.test.mjs 2026-10-16T12:55:59.252Z TAP version 13 2026-10-16T12:56:50.112Z # Subtest: security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-16T12:56:50.113Z ok 1 - security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-16T12:56:50.113Z --- 2026-10-16T12:56:50.113Z duration_ms: 50792.338869 2026-10-16T12:56:50.113Z type: 'test' 2026-10-16T12:56:50.113Z ... 2026-10-16T12:56:50.292Z # Subtest: security: organization admins can't hand out ownership 2026-10-16T12:56:50.292Z ok 2 - security: organization admins can't hand out ownership 2026-10-16T12:56:50.292Z --- 2026-10-16T12:56:50.292Z duration_ms: 177.653735 2026-10-16T12:56:50.292Z type: 'test' 2026-10-16T12:56:50.292Z ... 2026-10-16T12:56:53.618Z # Subtest: security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-16T12:56:53.619Z ok 3 - security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-16T12:56:53.619Z --- 2026-10-16T12:56:53.619Z duration_ms: 3326.897307 2026-10-16T12:56:53.619Z type: 'test' 2026-10-16T12:56:53.619Z ... 2026-10-16T12:56:54.562Z # Subtest: security: push protection covers commits made without git 2026-10-16T12:56:54.562Z ok 4 - security: push protection covers commits made without git 2026-10-16T12:56:54.562Z --- 2026-10-16T12:56:54.562Z duration_ms: 943.32986 2026-10-16T12:56:54.562Z type: 'test' 2026-10-16T12:56:54.562Z ...