2026-10-26T15:13:56.595Z Diffinery runner: job e2e (End-to-end (security)) for codician/diffinery@fdd2522f8a66 2026-10-26T15:13:56.617Z Runner: image diffinery-runner:bca05d12d6c57337029615de, in mrs06, WEUR, container 9c6ff9c4daa13d9b11e5ad141b9e06838f80112c3d249f02c28ac3c42e8889e2 2026-10-26T15:13:56.617Z Runner size: large (4 vCPU, 12 GiB of memory, 20 GB of disk), this job uses what a smaller runner doesn't have; runs-on: diffinery-large (or -medium, -small, -tiny) sets a size 2026-10-26T15:13:56.617Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-26T15:13:56.618Z Workspace: /workspace/diffinery 2026-10-26T15:13:56.691Z ##[group]Run actions/checkout@v4 2026-10-26T15:13:56.691Z ##[endgroup] 2026-10-26T15:13:56.693Z Syncing repository: codician/diffinery 2026-10-26T15:13:56.818Z Fetching the repository (depth 1) 2026-10-26T15:13:57.586Z remote: Enumerating objects: 919, done. 2026-10-26T15:13:57.947Z Receiving objects: 0% (1/919) Receiving objects: 1% (10/919) Receiving objects: 2% (19/919) Receiving objects: 3% (28/919) Receiving objects: 4% (37/919) Receiving objects: 5% (46/919) Receiving objects: 6% (56/919) Receiving objects: 7% (65/919) Receiving objects: 8% (74/919) Receiving objects: 9% (83/919) Receiving objects: 10% (92/919) Receiving objects: 11% (102/919) Receiving objects: 12% (111/919) Receiving objects: 13% (120/919) Receiving objects: 14% (129/919) Receiving objects: 15% (138/919) Receiving objects: 16% (148/919) Receiving objects: 17% (157/919) Receiving objects: 18% (166/919) Receiving objects: 19% (175/919) Receiving objects: 20% (184/919) Receiving objects: 21% (193/919) Receiving objects: 22% (203/919) Receiving objects: 23% (212/919) Receiving objects: 24% (221/919) Receiving objects: 25% (230/919) Receiving objects: 26% (239/919) Receiving objects: 27% (249/919) Receiving objects: 28% (258/919) Receiving objects: 29% (267/919) Receiving objects: 30% (276/919) Receiving objects: 31% (285/919) Receiving objects: 32% (295/919) Receiving objects: 33% (304/919) Receiving objects: 34% (313/919) Receiving objects: 35% (322/919) Receiving objects: 36% (331/919) Receiving objects: 37% (341/919) Receiving objects: 38% (350/919) Receiving objects: 39% (359/919) Receiving objects: 40% (368/919) Receiving objects: 41% (377/919) Receiving objects: 42% (386/919) Receiving objects: 43% (396/919) Receiving objects: 44% (405/919) Receiving objects: 45% (414/919) Receiving objects: 46% (423/919) Receiving objects: 47% (432/919) Receiving objects: 48% (442/919) Receiving objects: 49% (451/919) Receiving objects: 50% (460/919) Receiving objects: 51% (469/919) Receiving objects: 52% (478/919) Receiving objects: 53% (488/919) Receiving objects: 54% (497/919) Receiving objects: 55% (506/919) Receiving objects: 56% (515/919) Receiving objects: 57% (524/919) Receiving objects: 58% (534/919) Receiving objects: 59% (543/919) Receiving objects: 60% (552/919) Receiving objects: 61% (561/919) Receiving objects: 62% (570/919) Receiving objects: 63% (579/919) Receiving objects: 64% (589/919) Receiving objects: 65% (598/919) Receiving objects: 66% (607/919) Receiving objects: 67% (616/919) Receiving objects: 68% (625/919) Receiving objects: 69% (635/919) Receiving objects: 70% (644/919) Receiving objects: 71% (653/919) Receiving objects: 72% (662/919) Receiving objects: 73% (671/919) Receiving objects: 74% (681/919) Receiving objects: 75% (690/919) Receiving objects: 76% (699/919) Receiving objects: 77% (708/919) Receiving objects: 78% (717/919) Receiving objects: 79% (727/919) Receiving objects: 80% (736/919) Receiving objects: 81% (745/919) Receiving objects: 82% (754/919) Receiving objects: 83% (763/919) Receiving objects: 84% (772/919) Receiving objects: 85% (782/919) Receiving objects: 86% (791/919) Receiving objects: 87% (800/919) Receiving objects: 88% (809/919) Receiving objects: 89% (818/919) Receiving objects: 90% (828/919) Receiving objects: 91% (837/919) Receiving objects: 92% (846/919) Receiving objects: 93% (855/919) Receiving objects: 94% (864/919) Receiving objects: 95% (874/919) Receiving objects: 96% (883/919) remote: Total 919 (delta 0), reused 919 (delta 0) 2026-10-26T15:13:57.950Z Receiving objects: 97% (892/919) Receiving objects: 98% (901/919) Receiving objects: 99% (910/919) Receiving objects: 100% (919/919) Receiving objects: 100% (919/919), 5.83 MiB | 16.26 MiB/s, done. 2026-10-26T15:13:57.987Z From https://diffinery.com/codician/diffinery 2026-10-26T15:13:57.987Z * [new ref] fdd2522f8a663052c02990087fadc874645e4001 -> origin/main 2026-10-26T15:13:58.188Z Switched to a new branch 'main' 2026-10-26T15:13:58.195Z HEAD is now at fdd2522f8a663052c02990087fadc874645e4001 2026-10-26T15:13:58.397Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-26T15:13:59.026Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-26T15:13:59.026Z with: 2026-10-26T15:13:59.026Z dest: ~/setup-pnpm 2026-10-26T15:13:59.026Z run_install: null 2026-10-26T15:13:59.026Z cache: false 2026-10-26T15:13:59.026Z cache_dependency_path: pnpm-lock.yaml 2026-10-26T15:13:59.026Z package_json_file: package.json 2026-10-26T15:13:59.026Z standalone: false 2026-10-26T15:13:59.026Z ##[endgroup] 2026-10-26T15:13:59.330Z ##[group]Running self-installer... 2026-10-26T15:14:00.330Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-26T15:14:00.343Z Packages: +1 2026-10-26T15:14:00.343Z + 2026-10-26T15:14:01.146Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-26T15:14:01.242Z 2026-10-26T15:14:01.242Z dependencies: 2026-10-26T15:14:01.242Z + pnpm 10.28.0 (12.15.0 is available) 2026-10-26T15:14:01.242Z 2026-10-26T15:14:01.249Z Done in 1.5s 2026-10-26T15:14:01.299Z ##[endgroup] 2026-10-26T15:14:01.299Z Installation Completed! 2026-10-26T15:14:01.425Z ##[group]Run actions/setup-node@v4 2026-10-26T15:14:01.425Z with: 2026-10-26T15:14:01.425Z node-version: 22 2026-10-26T15:14:01.425Z cache: pnpm 2026-10-26T15:14:01.425Z ##[endgroup] 2026-10-26T15:14:01.449Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-26T15:14:02.687Z Cache Size: ~216 MB (226934503 B) 2026-10-26T15:14:09.980Z Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b 2026-10-26T15:14:10.113Z ##[group]Run pnpm install --frozen-lockfile 2026-10-26T15:14:10.113Z ##[endgroup] 2026-10-26T15:14:10.651Z Scope: all 8 workspace projects 2026-10-26T15:14:10.725Z Lockfile is up to date, resolution step is skipped 2026-10-26T15:14:10.788Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-26T15:14:10.835Z Packages: +251 2026-10-26T15:14:10.835Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-26T15:14:11.790Z Progress: resolved 251, reused 245, downloaded 0, added 137 2026-10-26T15:14:12.792Z Progress: resolved 251, reused 245, downloaded 0, added 230 2026-10-26T15:14:13.223Z Progress: resolved 251, reused 245, downloaded 0, added 251, done 2026-10-26T15:14:13.433Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-26T15:14:13.434Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-26T15:14:13.435Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-26T15:14:13.446Z .../node_modules/workerd postinstall$ node install.js 2026-10-26T15:14:13.476Z .../node_modules/workerd postinstall$ node install.js 2026-10-26T15:14:13.593Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-26T15:14:13.605Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-26T15:14:13.613Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-26T15:14:13.628Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-26T15:14:13.965Z .../node_modules/workerd postinstall: Done 2026-10-26T15:14:14.188Z .../node_modules/workerd postinstall: Done 2026-10-26T15:14:14.192Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-26T15:14:14.861Z 2026-10-26T15:14:14.861Z devDependencies: 2026-10-26T15:14:14.861Z + turbo 2.11.7 2026-10-26T15:14:14.861Z + typescript 5.9.3 2026-10-26T15:14:14.861Z 2026-10-26T15:14:15.627Z Done in 5.4s using pnpm v10.28.0 2026-10-26T15:14:16.502Z ##[group]Run pnpm -r --if-present build 2026-10-26T15:14:16.502Z ##[endgroup] 2026-10-26T15:14:16.934Z Scope: 7 of 8 workspace projects 2026-10-26T15:14:16.946Z 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-26T15:14:16.946Z import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);" 2026-10-26T15:14:16.946Z apps/diffinery build$ node islands/build.mjs && node scripts/build-docs.mjs 2026-10-26T15:14:16.946Z 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-26T15:14:17.091Z apps/cli build: dist/diffinery.mjs 473.3kb 2026-10-26T15:14:17.093Z apps/cli build: ⚡ Done in 109ms 2026-10-26T15:14:17.104Z apps/cli build: Done 2026-10-26T15:14:17.108Z containers/runner build: dist/agent.mjs 684.1kb 2026-10-26T15:14:17.109Z containers/runner build: ⚡ Done in 122ms 2026-10-26T15:14:17.116Z containers/runner build: Done 2026-10-26T15:14:19.743Z apps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KB 2026-10-26T15:14:20.349Z apps/diffinery build: docs: 86 pages (+2 generated at runtime), 20 site pages, 15 images, CLI 0.1.0 (254 KiB), editor extension 0.1.2 (26 KiB), JetBrains plugin 0.1.1 (70 KiB), Claude Code plugins diffinery 0.1.4, diffinery-ci 0.2.4 2026-10-26T15:14:20.371Z apps/diffinery build: Done 2026-10-26T15:14:20.654Z ##[group]Run # Shards of similar length; a new test file runs in "rest" unless it's added to another. 2026-10-26T15:14:20.654Z core='/e2e\.test\.mjs$' 2026-10-26T15:14:20.654Z agents='/(agentic|review|tasks)\.test\.mjs$' 2026-10-26T15:14:20.654Z # security.test.mjs, security-*.test.mjs (security-txt's too) and status.test.mjs. 2026-10-26T15:14:20.654Z security='/(security(-[a-z-]+)?|status)\.test\.mjs$' 2026-10-26T15:14:20.654Z # The core file's real histories and large pushes take minutes each (jquery's alone 2 to 3 on 2026-10-26T15:14:20.654Z # Diffinery's runners): two shards of their own, so no part of the file runs into node's 2026-10-26T15:14:20.654Z # per-file timeout, which is the --test-timeout here. 2026-10-26T15:14:20.654Z histories='^real histories:' 2026-10-26T15:14:20.654Z large='^(large files|large pushes):' 2026-10-26T15:14:20.654Z opts=(--test-timeout=600000) 2026-10-26T15:14:20.654Z case "security" in 2026-10-26T15:14:20.654Z core) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-skip-pattern="$histories" --test-skip-pattern="$large") ;; 2026-10-26T15:14:20.654Z histories) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts=(--test-timeout=900000 --test-name-pattern="$histories") ;; 2026-10-26T15:14:20.654Z large) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-name-pattern="$large") ;; 2026-10-26T15:14:20.654Z agents) files=$(ls test/e2e/*.test.mjs | grep -E "$agents") ;; 2026-10-26T15:14:20.654Z security) files=$(ls test/e2e/*.test.mjs | grep -E "$security") ;; 2026-10-26T15:14:20.654Z *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents|$security") ;; 2026-10-26T15:14:20.654Z esac 2026-10-26T15:14:20.654Z echo "$files" 2026-10-26T15:14:20.654Z # Two files at a time: each starts its own local server on its own port, database and 2026-10-26T15:14:20.654Z # directory, so they don't share state, and a file's server mostly keeps one core busy. 2026-10-26T15:14:20.654Z node --test --test-concurrency=2 "${opts[@]}" $files 2026-10-26T15:14:20.654Z ##[endgroup] 2026-10-26T15:14:22.949Z test/e2e/security-limits.test.mjs 2026-10-26T15:14:22.949Z test/e2e/security-txt.test.mjs 2026-10-26T15:14:22.949Z test/e2e/security.test.mjs 2026-10-26T15:14:22.949Z test/e2e/status.test.mjs 2026-10-26T15:14:23.066Z TAP version 13 2026-10-26T15:15:16.340Z # Subtest: security: environment reviewers hold a deploy job until a listed person approves, and nobody else can 2026-10-26T15:15:16.344Z ok 1 - security: environment reviewers hold a deploy job until a listed person approves, and nobody else can 2026-10-26T15:15:16.344Z --- 2026-10-26T15:15:16.344Z duration_ms: 53029.404159 2026-10-26T15:15:16.344Z type: 'test' 2026-10-26T15:15:16.344Z ... 2026-10-26T15:15:19.608Z # Subtest: security: adding someone by username sends an invitation, and they get access only once they accept 2026-10-26T15:15:19.608Z ok 2 - security: adding someone by username sends an invitation, and they get access only once they accept 2026-10-26T15:15:19.608Z --- 2026-10-26T15:15:19.609Z duration_ms: 3266.840095 2026-10-26T15:15:19.609Z type: 'test' 2026-10-26T15:15:19.609Z ... 2026-10-26T15:16:25.270Z # Subtest: security: per-account quotas on hosted minutes, hosted jobs at once, sandboxes and repositories 2026-10-26T15:16:25.270Z ok 3 - security: per-account quotas on hosted minutes, hosted jobs at once, sandboxes and repositories 2026-10-26T15:16:25.270Z --- 2026-10-26T15:16:25.270Z duration_ms: 65661.645976 2026-10-26T15:16:25.270Z type: 'test' 2026-10-26T15:16:25.270Z ... 2026-10-26T15:16:30.503Z # Subtest: security: a per-account storage quota refuses pushes, Git LFS and release asset uploads past it; reads and deletes keep working 2026-10-26T15:16:30.505Z 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-26T15:16:30.505Z --- 2026-10-26T15:16:30.505Z duration_ms: 5234.528822 2026-10-26T15:16:30.505Z type: 'test' 2026-10-26T15:16:30.505Z ... 2026-10-26T15:16:56.880Z # Subtest: security: kill switches suspend Actions for a repository or an account, and pause hosted compute on the instance 2026-10-26T15:16:56.881Z ok 5 - security: kill switches suspend Actions for a repository or an account, and pause hosted compute on the instance 2026-10-26T15:16:56.881Z --- 2026-10-26T15:16:56.881Z duration_ms: 26377.648233 2026-10-26T15:16:56.881Z type: 'test' 2026-10-26T15:16:56.881Z ... 2026-10-26T15:16:57.271Z # Subtest: security: Markdown images from other sites load through Diffinery's signed image proxy 2026-10-26T15:16:57.272Z ok 6 - security: Markdown images from other sites load through Diffinery's signed image proxy 2026-10-26T15:16:57.272Z --- 2026-10-26T15:16:57.272Z duration_ms: 368.080723 2026-10-26T15:16:57.272Z type: 'test' 2026-10-26T15:16:57.272Z ... 2026-10-26T15:16:57.470Z # Subtest: security.txt: every RFC 9116 field with SECURITY_CONTACT set 2026-10-26T15:16:57.470Z ok 7 - security.txt: every RFC 9116 field with SECURITY_CONTACT set 2026-10-26T15:16:57.470Z --- 2026-10-26T15:16:57.470Z duration_ms: 32403.96523 2026-10-26T15:16:57.470Z type: 'test' 2026-10-26T15:16:57.470Z ... 2026-10-26T15:16:57.471Z # Subtest: security reports: security.txt names the form, and an anonymous report needs a reply-to address 2026-10-26T15:16:57.476Z ok 8 - security reports: security.txt names the form, and an anonymous report needs a reply-to address 2026-10-26T15:16:57.476Z --- 2026-10-26T15:16:57.476Z duration_ms: 10143.898356 2026-10-26T15:16:57.476Z type: 'test' 2026-10-26T15:16:57.476Z ... 2026-10-26T15:16:57.477Z # Subtest: security reports: a signed-in report replies to the account's address 2026-10-26T15:16:57.477Z ok 9 - security reports: a signed-in report replies to the account's address 2026-10-26T15:16:57.477Z --- 2026-10-26T15:16:57.477Z duration_ms: 129.927101 2026-10-26T15:16:57.477Z type: 'test' 2026-10-26T15:16:57.477Z ... 2026-10-26T15:16:57.477Z # Subtest: security reports: only site administrators can see them (404 for anyone else) 2026-10-26T15:16:57.477Z ok 10 - security reports: only site administrators can see them (404 for anyone else) 2026-10-26T15:16:57.477Z --- 2026-10-26T15:16:57.477Z duration_ms: 374.99754 2026-10-26T15:16:57.477Z type: 'test' 2026-10-26T15:16:57.477Z ... 2026-10-26T15:16:57.477Z # Subtest: security reports: each new report emails the site administrators, and only them 2026-10-26T15:16:57.478Z ok 11 - security reports: each new report emails the site administrators, and only them 2026-10-26T15:16:57.478Z --- 2026-10-26T15:16:57.478Z duration_ms: 572.586208 2026-10-26T15:16:57.478Z type: 'test' 2026-10-26T15:16:57.478Z ... 2026-10-26T15:16:57.478Z # Subtest: security reports: triage and resolve, on the web and through the API, audited 2026-10-26T15:16:57.478Z ok 12 - security reports: triage and resolve, on the web and through the API, audited 2026-10-26T15:16:57.478Z --- 2026-10-26T15:16:57.478Z duration_ms: 209.084238 2026-10-26T15:16:57.478Z type: 'test' 2026-10-26T15:16:57.478Z ...