2026-10-16T14:05:32.903Z Diffinery runner: job e2e (End-to-end (security)) for codician/diffinery@ac9367d87591 2026-10-16T14:05:32.915Z Runner: image diffinery-runner:aeeb9e24ddf78dd4d8e258a7, in cdg10, WEUR, container d23bf0183a2194a1bd8f398ede4e4bbca4999566d3f59e868e4177be7cf66a7e 2026-10-16T14:05:32.915Z Runner size: large (4 vCPU, 12 GiB of memory, 20 GB of disk), an earlier run of this job wasn't measured; runs-on: diffinery-large (or -medium, -small, -tiny) sets a size 2026-10-16T14:05:32.915Z Workspace: /workspace/diffinery 2026-10-16T14:05:32.971Z ##[group]Run actions/checkout@v4 2026-10-16T14:05:32.971Z ##[endgroup] 2026-10-16T14:05:32.974Z Syncing repository: codician/diffinery 2026-10-16T14:05:33.040Z Fetching the repository (depth 1) 2026-10-16T14:05:33.728Z remote: Enumerating objects: 622, done. 2026-10-16T14:05:33.933Z Receiving objects: 0% (1/622) Receiving objects: 1% (7/622) Receiving objects: 2% (13/622) Receiving objects: 3% (19/622) Receiving objects: 4% (25/622) Receiving objects: 5% (32/622) Receiving objects: 6% (38/622) Receiving objects: 7% (44/622) Receiving objects: 8% (50/622) Receiving objects: 9% (56/622) Receiving objects: 10% (63/622) Receiving objects: 11% (69/622) Receiving objects: 12% (75/622) Receiving objects: 13% (81/622) Receiving objects: 14% (88/622) Receiving objects: 15% (94/622) Receiving objects: 16% (100/622) Receiving objects: 17% (106/622) Receiving objects: 18% (112/622) Receiving objects: 19% (119/622) Receiving objects: 20% (125/622) Receiving objects: 21% (131/622) Receiving objects: 22% (137/622) Receiving objects: 23% (144/622) Receiving objects: 24% (150/622) Receiving objects: 25% (156/622) Receiving objects: 26% (162/622) Receiving objects: 27% (168/622) Receiving objects: 28% (175/622) Receiving objects: 29% (181/622) Receiving objects: 30% (187/622) Receiving objects: 31% (193/622) Receiving objects: 32% (200/622) Receiving objects: 33% (206/622) Receiving objects: 34% (212/622) Receiving objects: 35% (218/622) Receiving objects: 36% (224/622) Receiving objects: 37% (231/622) Receiving objects: 38% (237/622) Receiving objects: 39% (243/622) Receiving objects: 40% (249/622) Receiving objects: 41% (256/622) Receiving objects: 42% (262/622) Receiving objects: 43% (268/622) Receiving objects: 44% (274/622) Receiving objects: 45% (280/622) Receiving objects: 46% (287/622) Receiving objects: 47% (293/622) Receiving objects: 48% (299/622) Receiving objects: 49% (305/622) Receiving objects: 50% (311/622) Receiving objects: 51% (318/622) Receiving objects: 52% (324/622) Receiving objects: 53% (330/622) Receiving objects: 54% (336/622) Receiving objects: 55% (343/622) Receiving objects: 56% (349/622) Receiving objects: 57% (355/622) Receiving objects: 58% (361/622) Receiving objects: 59% (367/622) Receiving objects: 60% (374/622) Receiving objects: 61% (380/622) Receiving objects: 62% (386/622) Receiving objects: 63% (392/622) Receiving objects: 64% (399/622) Receiving objects: 65% (405/622) Receiving objects: 66% (411/622) Receiving objects: 67% (417/622) Receiving objects: 68% (423/622) Receiving objects: 69% (430/622) Receiving objects: 70% (436/622) Receiving objects: 71% (442/622) Receiving objects: 72% (448/622) Receiving objects: 73% (455/622) Receiving objects: 74% (461/622) Receiving objects: 75% (467/622) Receiving objects: 76% (473/622) Receiving objects: 77% (479/622) Receiving objects: 78% (486/622) Receiving objects: 79% (492/622) Receiving objects: 80% (498/622) Receiving objects: 81% (504/622) Receiving objects: 82% (511/622) Receiving objects: 83% (517/622) Receiving objects: 84% (523/622) Receiving objects: 85% (529/622) Receiving objects: 86% (535/622) Receiving objects: 87% (542/622) Receiving objects: 88% (548/622) Receiving objects: 89% (554/622) Receiving objects: 90% (560/622) Receiving objects: 91% (567/622) Receiving objects: 92% (573/622) Receiving objects: 93% (579/622) Receiving objects: 94% (585/622) Receiving objects: 95% (591/622) Receiving objects: 96% (598/622) remote: Total 622 (delta 0), reused 622 (delta 0) 2026-10-16T14:05:33.935Z Receiving objects: 97% (604/622) Receiving objects: 98% (610/622) Receiving objects: 99% (616/622) Receiving objects: 100% (622/622) Receiving objects: 100% (622/622), 2.54 MiB | 13.20 MiB/s, done. 2026-10-16T14:05:33.951Z From https://diffinery.com/codician/diffinery 2026-10-16T14:05:33.951Z * [new ref] ac9367d87591d621114311a795541039fd963b1d -> origin/diffinery-checkout 2026-10-16T14:05:34.056Z Note: switching to 'ac9367d87591d621114311a795541039fd963b1d'. 2026-10-16T14:05:34.056Z 2026-10-16T14:05:34.056Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-16T14:05:34.056Z changes and commit them, and you can discard any commits you make in this 2026-10-16T14:05:34.056Z state without impacting any branches by switching back to a branch. 2026-10-16T14:05:34.056Z 2026-10-16T14:05:34.056Z If you want to create a new branch to retain commits you create, you may 2026-10-16T14:05:34.056Z do so (now or later) by using -c with the switch command. Example: 2026-10-16T14:05:34.056Z 2026-10-16T14:05:34.056Z git switch -c 2026-10-16T14:05:34.056Z 2026-10-16T14:05:34.056Z Or undo this operation with: 2026-10-16T14:05:34.056Z 2026-10-16T14:05:34.056Z git switch - 2026-10-16T14:05:34.056Z 2026-10-16T14:05:34.056Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-16T14:05:34.056Z 2026-10-16T14:05:34.056Z HEAD is now at ac9367d Merge 786b5065041b296b1c7b69ba3728d5cee12d8b83 into c74f242352b9c6271ed267578eb3ec312700c90d 2026-10-16T14:05:34.062Z HEAD is now at ac9367d87591d621114311a795541039fd963b1d 2026-10-16T14:05:34.179Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-16T14:05:34.693Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-16T14:05:34.693Z with: 2026-10-16T14:05:34.693Z dest: ~/setup-pnpm 2026-10-16T14:05:34.693Z run_install: null 2026-10-16T14:05:34.693Z cache: false 2026-10-16T14:05:34.693Z cache_dependency_path: pnpm-lock.yaml 2026-10-16T14:05:34.693Z package_json_file: package.json 2026-10-16T14:05:34.693Z standalone: false 2026-10-16T14:05:34.693Z ##[endgroup] 2026-10-16T14:05:35.016Z ##[group]Running self-installer... 2026-10-16T14:05:36.471Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T14:05:36.490Z Packages: +1 2026-10-16T14:05:36.490Z + 2026-10-16T14:05:37.474Z Progress: resolved 1, reused 0, downloaded 1, added 0 2026-10-16T14:05:37.581Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-16T14:05:37.637Z 2026-10-16T14:05:37.637Z dependencies: 2026-10-16T14:05:37.638Z + pnpm 10.28.0 (12.14.0 is available) 2026-10-16T14:05:37.638Z 2026-10-16T14:05:37.644Z Done in 2.2s 2026-10-16T14:05:37.683Z ##[endgroup] 2026-10-16T14:05:37.683Z Installation Completed! 2026-10-16T14:05:37.784Z ##[group]Run actions/setup-node@v4 2026-10-16T14:05:37.784Z with: 2026-10-16T14:05:37.784Z node-version: 22 2026-10-16T14:05:37.784Z cache: pnpm 2026-10-16T14:05:37.784Z ##[endgroup] 2026-10-16T14:05:37.803Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-16T14:05:44.006Z Cache Size: ~216 MB (226515969 B) 2026-10-16T14:05:49.156Z Cache restored from key: node-cache-Linux-x64-pnpm-aa519d0d5d7e5a224fb440987e5331e1cb7b3a95e67805db372d6def9572f2b0 2026-10-16T14:05:49.267Z ##[group]Run pnpm install --frozen-lockfile 2026-10-16T14:05:49.268Z ##[endgroup] 2026-10-16T14:05:49.937Z Scope: all 7 workspace projects 2026-10-16T14:05:50.030Z Lockfile is up to date, resolution step is skipped 2026-10-16T14:05:50.109Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T14:05:50.174Z Packages: +249 2026-10-16T14:05:50.174Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-16T14:05:51.114Z Progress: resolved 249, reused 243, downloaded 0, added 162 2026-10-16T14:05:51.508Z Progress: resolved 249, reused 243, downloaded 0, added 249, done 2026-10-16T14:06:07.878Z 2026-10-16T14:06:07.878Z devDependencies: 2026-10-16T14:06:07.878Z + turbo 2.11.7 2026-10-16T14:06:07.878Z + typescript 5.9.3 2026-10-16T14:06:07.878Z 2026-10-16T14:06:08.258Z Done in 18.9s using pnpm v10.28.0 2026-10-16T14:06:08.675Z ##[group]Run pnpm -r --if-present build 2026-10-16T14:06:08.675Z ##[endgroup] 2026-10-16T14:06:09.542Z Scope: 6 of 7 workspace projects 2026-10-16T14:06:09.551Z 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-16T14:06:09.551Z import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);" 2026-10-16T14:06:09.552Z apps/diffinery build$ node islands/build.mjs && node scripts/build-docs.mjs 2026-10-16T14:06:09.553Z 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-16T14:06:09.873Z containers/runner build: dist/agent.mjs 665.1kb 2026-10-16T14:06:09.874Z containers/runner build: ⚡ Done in 245ms 2026-10-16T14:06:09.885Z containers/runner build: Done 2026-10-16T14:06:09.892Z apps/cli build: dist/diffinery.mjs 444.7kb 2026-10-16T14:06:09.892Z apps/cli build: ⚡ Done in 284ms 2026-10-16T14:06:09.900Z apps/cli build: Done 2026-10-16T14:06:11.459Z apps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KB 2026-10-16T14:06:12.013Z apps/diffinery build: docs: 65 pages (+2 generated at runtime), CLI 0.1.0 (234 KiB) 2026-10-16T14:06:12.036Z apps/diffinery build: Done 2026-10-16T14:06:12.240Z ##[group]Run # Shards of similar length; a new test file runs in "rest" unless it's added to another. 2026-10-16T14:06:12.240Z core='/e2e\.test\.mjs$' 2026-10-16T14:06:12.240Z agents='/(agentic|review|tasks)\.test\.mjs$' 2026-10-16T14:06:12.240Z security='/(security|status)\.test\.mjs$' 2026-10-16T14:06:12.240Z # The core file's real histories and large pushes take minutes each (jquery's alone 2 to 3 on 2026-10-16T14:06:12.240Z # Diffinery's runners): two shards of their own, so no part of the file runs into node's 2026-10-16T14:06:12.240Z # per-file timeout, which is the --test-timeout here. 2026-10-16T14:06:12.240Z histories='^real histories:' 2026-10-16T14:06:12.240Z large='^(large files|large pushes):' 2026-10-16T14:06:12.240Z opts=(--test-timeout=600000) 2026-10-16T14:06:12.240Z case "security" in 2026-10-16T14:06:12.240Z core) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-skip-pattern="$histories" --test-skip-pattern="$large") ;; 2026-10-16T14:06:12.240Z histories) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts=(--test-timeout=900000 --test-name-pattern="$histories") ;; 2026-10-16T14:06:12.240Z large) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-name-pattern="$large") ;; 2026-10-16T14:06:12.240Z agents) files=$(ls test/e2e/*.test.mjs | grep -E "$agents") ;; 2026-10-16T14:06:12.240Z security) files=$(ls test/e2e/*.test.mjs | grep -E "$security") ;; 2026-10-16T14:06:12.240Z *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents|$security") ;; 2026-10-16T14:06:12.240Z esac 2026-10-16T14:06:12.240Z echo "$files" 2026-10-16T14:06:12.240Z node --test --test-concurrency=1 "${opts[@]}" $files 2026-10-16T14:06:12.240Z ##[endgroup] 2026-10-16T14:06:12.263Z test/e2e/security.test.mjs 2026-10-16T14:06:12.263Z test/e2e/status.test.mjs 2026-10-16T14:06:12.340Z TAP version 13 2026-10-16T14:07:10.231Z # Subtest: security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-16T14:07:10.232Z ok 1 - security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-16T14:07:10.232Z --- 2026-10-16T14:07:10.232Z duration_ms: 57756.863821 2026-10-16T14:07:10.232Z type: 'test' 2026-10-16T14:07:10.232Z ... 2026-10-16T14:07:10.451Z # Subtest: security: organization admins can't hand out ownership 2026-10-16T14:07:10.452Z ok 2 - security: organization admins can't hand out ownership 2026-10-16T14:07:10.452Z --- 2026-10-16T14:07:10.452Z duration_ms: 222.532802 2026-10-16T14:07:10.452Z type: 'test' 2026-10-16T14:07:10.452Z ... 2026-10-16T14:07:14.006Z # Subtest: security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-16T14:07:14.006Z ok 3 - security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-16T14:07:14.007Z --- 2026-10-16T14:07:14.007Z duration_ms: 3552.374148 2026-10-16T14:07:14.007Z type: 'test' 2026-10-16T14:07:14.007Z ... 2026-10-16T14:07:14.740Z # Subtest: security: push protection covers commits made without git 2026-10-16T14:07:14.740Z ok 4 - security: push protection covers commits made without git 2026-10-16T14:07:14.741Z --- 2026-10-16T14:07:14.741Z duration_ms: 734.38081 2026-10-16T14:07:14.741Z type: 'test' 2026-10-16T14:07:14.741Z ...