2026-10-24T11:26:14.891Z Diffinery runner: job e2e (End-to-end (security)) for codician/diffinery@142f6dac6b62 2026-10-24T11:26:14.907Z Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in cdg15, WEUR, container d406d55e5183f45ef8af65aa0a7fe65455956cc1a665fe408c3bc0b5d3cf4e80 2026-10-24T11:26:14.907Z 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-24T11:26:14.907Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-24T11:26:14.907Z Workspace: /workspace/diffinery 2026-10-24T11:26:14.945Z ##[group]Run actions/checkout@v4 2026-10-24T11:26:14.945Z ##[endgroup] 2026-10-24T11:26:14.946Z Syncing repository: codician/diffinery 2026-10-24T11:26:14.998Z Fetching the repository (depth 1) 2026-10-24T11:26:15.597Z remote: Enumerating objects: 785, done. 2026-10-24T11:26:16.028Z Receiving objects: 0% (1/785) Receiving objects: 1% (8/785) Receiving objects: 2% (16/785) Receiving objects: 3% (24/785) Receiving objects: 4% (32/785) Receiving objects: 5% (40/785) Receiving objects: 6% (48/785) Receiving objects: 7% (55/785) Receiving objects: 8% (63/785) Receiving objects: 9% (71/785) Receiving objects: 10% (79/785) Receiving objects: 11% (87/785) Receiving objects: 12% (95/785) Receiving objects: 13% (103/785) Receiving objects: 14% (110/785) Receiving objects: 15% (118/785) Receiving objects: 16% (126/785) Receiving objects: 17% (134/785) Receiving objects: 18% (142/785) Receiving objects: 19% (150/785) Receiving objects: 20% (157/785) Receiving objects: 21% (165/785) Receiving objects: 22% (173/785) Receiving objects: 23% (181/785) Receiving objects: 24% (189/785) Receiving objects: 25% (197/785) Receiving objects: 26% (205/785) Receiving objects: 27% (212/785) Receiving objects: 28% (220/785) Receiving objects: 29% (228/785) Receiving objects: 30% (236/785) Receiving objects: 31% (244/785) Receiving objects: 32% (252/785) Receiving objects: 33% (260/785) Receiving objects: 34% (267/785) Receiving objects: 35% (275/785) Receiving objects: 36% (283/785) Receiving objects: 37% (291/785) Receiving objects: 38% (299/785) Receiving objects: 39% (307/785) Receiving objects: 40% (314/785) Receiving objects: 41% (322/785) Receiving objects: 42% (330/785) Receiving objects: 43% (338/785) Receiving objects: 44% (346/785) Receiving objects: 45% (354/785) Receiving objects: 46% (362/785) Receiving objects: 47% (369/785) Receiving objects: 48% (377/785) Receiving objects: 49% (385/785) Receiving objects: 50% (393/785) Receiving objects: 51% (401/785) Receiving objects: 52% (409/785) Receiving objects: 53% (417/785) Receiving objects: 54% (424/785) Receiving objects: 55% (432/785) Receiving objects: 56% (440/785) Receiving objects: 57% (448/785) Receiving objects: 58% (456/785) Receiving objects: 59% (464/785) Receiving objects: 60% (471/785) Receiving objects: 61% (479/785) Receiving objects: 62% (487/785) Receiving objects: 63% (495/785) Receiving objects: 64% (503/785) Receiving objects: 65% (511/785) Receiving objects: 66% (519/785) Receiving objects: 67% (526/785) Receiving objects: 68% (534/785) Receiving objects: 69% (542/785) Receiving objects: 70% (550/785) Receiving objects: 71% (558/785) Receiving objects: 72% (566/785) Receiving objects: 73% (574/785) Receiving objects: 74% (581/785) Receiving objects: 75% (589/785) Receiving objects: 76% (597/785) Receiving objects: 77% (605/785) Receiving objects: 78% (613/785) Receiving objects: 79% (621/785) Receiving objects: 80% (628/785) Receiving objects: 81% (636/785) Receiving objects: 82% (644/785) Receiving objects: 83% (652/785) Receiving objects: 84% (660/785) Receiving objects: 85% (668/785) Receiving objects: 86% (676/785) Receiving objects: 87% (683/785) Receiving objects: 88% (691/785) Receiving objects: 89% (699/785) Receiving objects: 90% (707/785) Receiving objects: 91% (715/785) Receiving objects: 92% (723/785) Receiving objects: 93% (731/785) Receiving objects: 94% (738/785) Receiving objects: 95% (746/785) Receiving objects: 96% (754/785) Receiving objects: 97% (762/785) remote: Total 785 (delta 0), reused 785 (delta 0) 2026-10-24T11:26:16.029Z Receiving objects: 98% (770/785) Receiving objects: 99% (778/785) Receiving objects: 100% (785/785) Receiving objects: 100% (785/785), 3.59 MiB | 11.21 MiB/s, done. 2026-10-24T11:26:16.039Z From https://diffinery.com/codician/diffinery 2026-10-24T11:26:16.040Z * [new ref] 142f6dac6b626f63a83d2090699c1101219b306d -> origin/diffinery-checkout 2026-10-24T11:26:16.119Z Note: switching to '142f6dac6b626f63a83d2090699c1101219b306d'. 2026-10-24T11:26:16.119Z 2026-10-24T11:26:16.119Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-24T11:26:16.119Z changes and commit them, and you can discard any commits you make in this 2026-10-24T11:26:16.119Z state without impacting any branches by switching back to a branch. 2026-10-24T11:26:16.119Z 2026-10-24T11:26:16.119Z If you want to create a new branch to retain commits you create, you may 2026-10-24T11:26:16.119Z do so (now or later) by using -c with the switch command. Example: 2026-10-24T11:26:16.119Z 2026-10-24T11:26:16.119Z git switch -c 2026-10-24T11:26:16.119Z 2026-10-24T11:26:16.119Z Or undo this operation with: 2026-10-24T11:26:16.119Z 2026-10-24T11:26:16.119Z git switch - 2026-10-24T11:26:16.119Z 2026-10-24T11:26:16.119Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-24T11:26:16.119Z 2026-10-24T11:26:16.119Z HEAD is now at 142f6da Merge 6022b3d579ff00127f4e8ccd9889f49a5fbed626 into 683b739beb0ea3e50cf58e3a579f825990056406 2026-10-24T11:26:16.122Z HEAD is now at 142f6dac6b626f63a83d2090699c1101219b306d 2026-10-24T11:26:16.234Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-24T11:26:16.588Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-24T11:26:16.588Z with: 2026-10-24T11:26:16.588Z dest: ~/setup-pnpm 2026-10-24T11:26:16.588Z run_install: null 2026-10-24T11:26:16.588Z cache: false 2026-10-24T11:26:16.588Z cache_dependency_path: pnpm-lock.yaml 2026-10-24T11:26:16.588Z package_json_file: package.json 2026-10-24T11:26:16.588Z standalone: false 2026-10-24T11:26:16.588Z ##[endgroup] 2026-10-24T11:26:16.756Z ##[group]Running self-installer... 2026-10-24T11:26:17.379Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-24T11:26:17.388Z Packages: +1 2026-10-24T11:26:17.388Z + 2026-10-24T11:26:17.896Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-24T11:26:17.923Z 2026-10-24T11:26:17.923Z dependencies: 2026-10-24T11:26:17.923Z + pnpm 10.28.0 (12.15.0 is available) 2026-10-24T11:26:17.923Z 2026-10-24T11:26:17.925Z Done in 955ms 2026-10-24T11:26:17.950Z ##[endgroup] 2026-10-24T11:26:17.950Z Installation Completed! 2026-10-24T11:26:18.060Z ##[group]Run actions/setup-node@v4 2026-10-24T11:26:18.060Z with: 2026-10-24T11:26:18.060Z node-version: 22 2026-10-24T11:26:18.060Z cache: pnpm 2026-10-24T11:26:18.060Z ##[endgroup] 2026-10-24T11:26:18.068Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-24T11:26:19.257Z Cache Size: ~216 MB (226934503 B) 2026-10-24T11:26:23.698Z Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b 2026-10-24T11:26:24.079Z ##[group]Run pnpm install --frozen-lockfile 2026-10-24T11:26:24.079Z ##[endgroup] 2026-10-24T11:26:24.419Z Scope: all 8 workspace projects 2026-10-24T11:26:24.480Z Lockfile is up to date, resolution step is skipped 2026-10-24T11:26:24.529Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-24T11:26:24.572Z Packages: +251 2026-10-24T11:26:24.572Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-24T11:26:25.530Z Progress: resolved 251, reused 245, downloaded 0, added 237 2026-10-24T11:26:25.718Z Progress: resolved 251, reused 245, downloaded 0, added 251, done 2026-10-24T11:26:25.828Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-24T11:26:25.829Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-24T11:26:25.829Z .../node_modules/workerd postinstall$ node install.js 2026-10-24T11:26:25.830Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-24T11:26:25.838Z .../node_modules/workerd postinstall$ node install.js 2026-10-24T11:26:25.917Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-24T11:26:25.921Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-24T11:26:25.933Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-24T11:26:26.034Z .../node_modules/workerd postinstall: Done 2026-10-24T11:26:26.168Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-24T11:26:26.168Z .../node_modules/workerd postinstall: Done 2026-10-24T11:26:26.171Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-24T11:26:26.585Z 2026-10-24T11:26:26.585Z devDependencies: 2026-10-24T11:26:26.585Z + turbo 2.11.7 2026-10-24T11:26:26.585Z + typescript 5.9.3 2026-10-24T11:26:26.585Z 2026-10-24T11:26:27.045Z Done in 2.9s using pnpm v10.28.0 2026-10-24T11:26:27.617Z ##[group]Run pnpm -r --if-present build 2026-10-24T11:26:27.617Z ##[endgroup] 2026-10-24T11:26:27.919Z Scope: 7 of 8 workspace projects 2026-10-24T11:26:27.923Z 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-24T11:26:27.923Z import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);" 2026-10-24T11:26:27.923Z apps/diffinery build$ node islands/build.mjs && node scripts/build-docs.mjs 2026-10-24T11:26:27.924Z 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-24T11:26:27.992Z apps/cli build: dist/diffinery.mjs 465.9kb 2026-10-24T11:26:27.992Z apps/cli build: ⚡ Done in 44ms 2026-10-24T11:26:28.004Z apps/cli build: Done 2026-10-24T11:26:28.017Z containers/runner build: dist/agent.mjs 684.1kb 2026-10-24T11:26:28.017Z containers/runner build: ⚡ Done in 73ms 2026-10-24T11:26:28.021Z containers/runner build: Done 2026-10-24T11:26:28.736Z apps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KB 2026-10-24T11:26:29.036Z apps/diffinery build: docs: 75 pages (+2 generated at runtime), 10 site pages, 11 images, CLI 0.1.0 (248 KiB), editor extension 0.1.1 (20 KiB), JetBrains plugin 0.1.0 (64 KiB), Claude Code plugins diffinery 0.1.1, diffinery-ci 0.2.1 2026-10-24T11:26:29.045Z apps/diffinery build: Done 2026-10-24T11:26:29.205Z ##[group]Run # Shards of similar length; a new test file runs in "rest" unless it's added to another. 2026-10-24T11:26:29.205Z core='/e2e\.test\.mjs$' 2026-10-24T11:26:29.205Z agents='/(agentic|review|tasks)\.test\.mjs$' 2026-10-24T11:26:29.205Z # security.test.mjs, security-*.test.mjs (security-txt's too) and status.test.mjs. 2026-10-24T11:26:29.205Z security='/(security(-[a-z-]+)?|status)\.test\.mjs$' 2026-10-24T11:26:29.205Z # The core file's real histories and large pushes take minutes each (jquery's alone 2 to 3 on 2026-10-24T11:26:29.205Z # Diffinery's runners): two shards of their own, so no part of the file runs into node's 2026-10-24T11:26:29.205Z # per-file timeout, which is the --test-timeout here. 2026-10-24T11:26:29.205Z histories='^real histories:' 2026-10-24T11:26:29.205Z large='^(large files|large pushes):' 2026-10-24T11:26:29.205Z opts=(--test-timeout=600000) 2026-10-24T11:26:29.205Z case "security" in 2026-10-24T11:26:29.205Z core) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-skip-pattern="$histories" --test-skip-pattern="$large") ;; 2026-10-24T11:26:29.205Z histories) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts=(--test-timeout=900000 --test-name-pattern="$histories") ;; 2026-10-24T11:26:29.205Z large) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-name-pattern="$large") ;; 2026-10-24T11:26:29.205Z agents) files=$(ls test/e2e/*.test.mjs | grep -E "$agents") ;; 2026-10-24T11:26:29.205Z security) files=$(ls test/e2e/*.test.mjs | grep -E "$security") ;; 2026-10-24T11:26:29.205Z *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents|$security") ;; 2026-10-24T11:26:29.205Z esac 2026-10-24T11:26:29.205Z echo "$files" 2026-10-24T11:26:29.205Z # Two files at a time: each starts its own local server on its own port, database and 2026-10-24T11:26:29.205Z # directory, so they don't share state, and a file's server mostly keeps one core busy. 2026-10-24T11:26:29.205Z node --test --test-concurrency=2 "${opts[@]}" $files 2026-10-24T11:26:29.205Z ##[endgroup] 2026-10-24T11:26:29.256Z test/e2e/security-limits.test.mjs 2026-10-24T11:26:29.256Z test/e2e/security-txt.test.mjs 2026-10-24T11:26:29.256Z test/e2e/security.test.mjs 2026-10-24T11:26:29.256Z test/e2e/status.test.mjs 2026-10-24T11:26:29.301Z TAP version 13 2026-10-24T11:27:01.371Z # Subtest: security: environment reviewers hold a deploy job until a listed person approves, and nobody else can 2026-10-24T11:27:01.372Z ok 1 - security: environment reviewers hold a deploy job until a listed person approves, and nobody else can 2026-10-24T11:27:01.372Z --- 2026-10-24T11:27:01.372Z duration_ms: 31948.462232 2026-10-24T11:27:01.372Z type: 'test' 2026-10-24T11:27:01.372Z ... 2026-10-24T11:27:02.596Z # Subtest: security: adding someone by username sends an invitation, and they get access only once they accept 2026-10-24T11:27:02.596Z ok 2 - security: adding someone by username sends an invitation, and they get access only once they accept 2026-10-24T11:27:02.596Z --- 2026-10-24T11:27:02.596Z duration_ms: 1224.954054 2026-10-24T11:27:02.596Z type: 'test' 2026-10-24T11:27:02.596Z ... 2026-10-24T11:28:05.405Z # Subtest: security: per-account quotas on hosted minutes, hosted jobs at once, sandboxes and repositories 2026-10-24T11:28:05.407Z ok 3 - security: per-account quotas on hosted minutes, hosted jobs at once, sandboxes and repositories 2026-10-24T11:28:05.409Z --- 2026-10-24T11:28:05.409Z duration_ms: 62809.574946 2026-10-24T11:28:05.409Z type: 'test' 2026-10-24T11:28:05.409Z ... 2026-10-24T11:28:08.807Z # Subtest: security: a per-account storage quota refuses pushes, Git LFS and release asset uploads past it; reads and deletes keep working 2026-10-24T11:28:08.808Z ok 4 - security: a per-account storage quota refuses pushes, Git LFS and release asset uploads past it; reads and deletes keep working 2026-10-24T11:28:08.808Z --- 2026-10-24T11:28:08.808Z duration_ms: 3402.9086 2026-10-24T11:28:08.808Z type: 'test' 2026-10-24T11:28:08.808Z ... 2026-10-24T11:28:26.612Z # Subtest: security: kill switches suspend Actions for a repository or an account, and pause hosted compute on the instance 2026-10-24T11:28:26.613Z ok 5 - security: kill switches suspend Actions for a repository or an account, and pause hosted compute on the instance 2026-10-24T11:28:26.613Z --- 2026-10-24T11:28:26.613Z duration_ms: 17804.105016 2026-10-24T11:28:26.613Z type: 'test' 2026-10-24T11:28:26.613Z ... 2026-10-24T11:28:26.899Z # Subtest: security: Markdown images from other sites load through Diffinery's signed image proxy 2026-10-24T11:28:26.899Z ok 6 - security: Markdown images from other sites load through Diffinery's signed image proxy 2026-10-24T11:28:26.899Z --- 2026-10-24T11:28:26.899Z duration_ms: 255.798278 2026-10-24T11:28:26.899Z type: 'test' 2026-10-24T11:28:26.899Z ... 2026-10-24T11:28:27.004Z # Subtest: security.txt: every RFC 9116 field with SECURITY_CONTACT set 2026-10-24T11:28:27.004Z ok 7 - security.txt: every RFC 9116 field with SECURITY_CONTACT set 2026-10-24T11:28:27.004Z --- 2026-10-24T11:28:27.004Z duration_ms: 17247.567441 2026-10-24T11:28:27.004Z type: 'test' 2026-10-24T11:28:27.004Z ... 2026-10-24T11:28:27.004Z # Subtest: security reports: security.txt names the form, and an anonymous report needs a reply-to address 2026-10-24T11:28:27.004Z ok 8 - security reports: security.txt names the form, and an anonymous report needs a reply-to address 2026-10-24T11:28:27.004Z --- 2026-10-24T11:28:27.004Z duration_ms: 5425.572475 2026-10-24T11:28:27.004Z type: 'test' 2026-10-24T11:28:27.004Z ... 2026-10-24T11:28:27.005Z # Subtest: security reports: a signed-in report replies to the account's address 2026-10-24T11:28:27.005Z ok 9 - security reports: a signed-in report replies to the account's address 2026-10-24T11:28:27.005Z --- 2026-10-24T11:28:27.005Z duration_ms: 64.214104 2026-10-24T11:28:27.005Z type: 'test' 2026-10-24T11:28:27.005Z ... 2026-10-24T11:28:27.005Z # Subtest: security reports: only site administrators can see them (404 for anyone else) 2026-10-24T11:28:27.005Z ok 10 - security reports: only site administrators can see them (404 for anyone else) 2026-10-24T11:28:27.005Z --- 2026-10-24T11:28:27.005Z duration_ms: 123.213105 2026-10-24T11:28:27.005Z type: 'test' 2026-10-24T11:28:27.005Z ... 2026-10-24T11:28:27.005Z # Subtest: security reports: each new report emails the site administrators, and only them 2026-10-24T11:28:27.006Z ok 11 - security reports: each new report emails the site administrators, and only them 2026-10-24T11:28:27.006Z --- 2026-10-24T11:28:27.006Z duration_ms: 1045.889422 2026-10-24T11:28:27.006Z type: 'test' 2026-10-24T11:28:27.006Z ... 2026-10-24T11:28:27.006Z # Subtest: security reports: triage and resolve, on the web and through the API, audited 2026-10-24T11:28:27.006Z ok 12 - security reports: triage and resolve, on the web and through the API, audited 2026-10-24T11:28:27.006Z --- 2026-10-24T11:28:27.006Z duration_ms: 95.268771 2026-10-24T11:28:27.006Z type: 'test' 2026-10-24T11:28:27.006Z ...