2026-10-16T13:47:27.983Z Diffinery runner: job e2e (End-to-end (security)) for codician/diffinery@9702f3ce113c 2026-10-16T13:47:27.989Z Runner: image diffinery-runner:2a3052eff7a82a483a7fde51, in dub03, WEUR, container d856e196a919cddd0c6178e2add345438ad6fe8bacab739a5a8ac081edaf554f 2026-10-16T13:47:27.989Z Workspace: /workspace/diffinery 2026-10-16T13:47:28.042Z ##[group]Run actions/checkout@v4 2026-10-16T13:47:28.042Z ##[endgroup] 2026-10-16T13:47:28.043Z Syncing repository: codician/diffinery 2026-10-16T13:47:28.079Z Fetching the repository (depth 1) 2026-10-16T13:47:28.817Z remote: Enumerating objects: 608, done. 2026-10-16T13:47:29.112Z Receiving objects: 0% (1/608) Receiving objects: 1% (7/608) Receiving objects: 2% (13/608) Receiving objects: 3% (19/608) Receiving objects: 4% (25/608) Receiving objects: 5% (31/608) Receiving objects: 6% (37/608) Receiving objects: 7% (43/608) Receiving objects: 8% (49/608) Receiving objects: 9% (55/608) Receiving objects: 10% (61/608) Receiving objects: 11% (67/608) Receiving objects: 12% (73/608) Receiving objects: 13% (80/608) Receiving objects: 14% (86/608) Receiving objects: 15% (92/608) Receiving objects: 16% (98/608) Receiving objects: 17% (104/608) Receiving objects: 18% (110/608) Receiving objects: 19% (116/608) Receiving objects: 20% (122/608) Receiving objects: 21% (128/608) Receiving objects: 22% (134/608) Receiving objects: 23% (140/608) Receiving objects: 24% (146/608) Receiving objects: 25% (152/608) Receiving objects: 26% (159/608) Receiving objects: 27% (165/608) Receiving objects: 28% (171/608) Receiving objects: 29% (177/608) Receiving objects: 30% (183/608) Receiving objects: 31% (189/608) Receiving objects: 32% (195/608) Receiving objects: 33% (201/608) Receiving objects: 34% (207/608) Receiving objects: 35% (213/608) Receiving objects: 36% (219/608) Receiving objects: 37% (225/608) Receiving objects: 38% (232/608) Receiving objects: 39% (238/608) Receiving objects: 40% (244/608) Receiving objects: 41% (250/608) Receiving objects: 42% (256/608) Receiving objects: 43% (262/608) Receiving objects: 44% (268/608) Receiving objects: 45% (274/608) Receiving objects: 46% (280/608) Receiving objects: 47% (286/608) Receiving objects: 48% (292/608) Receiving objects: 49% (298/608) Receiving objects: 50% (304/608) Receiving objects: 51% (311/608) Receiving objects: 52% (317/608) Receiving objects: 53% (323/608) Receiving objects: 54% (329/608) Receiving objects: 55% (335/608) Receiving objects: 56% (341/608) Receiving objects: 57% (347/608) Receiving objects: 58% (353/608) Receiving objects: 59% (359/608) Receiving objects: 60% (365/608) Receiving objects: 61% (371/608) Receiving objects: 62% (377/608) Receiving objects: 63% (384/608) Receiving objects: 64% (390/608) Receiving objects: 65% (396/608) Receiving objects: 66% (402/608) Receiving objects: 67% (408/608) Receiving objects: 68% (414/608) Receiving objects: 69% (420/608) Receiving objects: 70% (426/608) Receiving objects: 71% (432/608) Receiving objects: 72% (438/608) Receiving objects: 73% (444/608) Receiving objects: 74% (450/608) Receiving objects: 75% (456/608) Receiving objects: 76% (463/608) Receiving objects: 77% (469/608) Receiving objects: 78% (475/608) Receiving objects: 79% (481/608) Receiving objects: 80% (487/608) Receiving objects: 81% (493/608) Receiving objects: 82% (499/608) Receiving objects: 83% (505/608) Receiving objects: 84% (511/608) Receiving objects: 85% (517/608) Receiving objects: 86% (523/608) Receiving objects: 87% (529/608) Receiving objects: 88% (536/608) Receiving objects: 89% (542/608) Receiving objects: 90% (548/608) Receiving objects: 91% (554/608) Receiving objects: 92% (560/608) Receiving objects: 93% (566/608) Receiving objects: 94% (572/608) Receiving objects: 95% (578/608) Receiving objects: 96% (584/608) remote: Total 608 (delta 0), reused 608 (delta 0) 2026-10-16T13:47:29.113Z Receiving objects: 97% (590/608) Receiving objects: 98% (596/608) Receiving objects: 99% (602/608) Receiving objects: 100% (608/608) Receiving objects: 100% (608/608), 2.48 MiB | 8.58 MiB/s, done. 2026-10-16T13:47:29.127Z From https://diffinery.com/codician/diffinery 2026-10-16T13:47:29.127Z * [new ref] 9702f3ce113c04f1d16eb39e7ed1d9ce92d09f73 -> origin/main 2026-10-16T13:47:29.195Z Switched to a new branch 'main' 2026-10-16T13:47:29.199Z HEAD is now at 9702f3ce113c04f1d16eb39e7ed1d9ce92d09f73 2026-10-16T13:47:29.318Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-16T13:47:31.885Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-16T13:47:31.885Z with: 2026-10-16T13:47:31.885Z dest: ~/setup-pnpm 2026-10-16T13:47:31.885Z run_install: null 2026-10-16T13:47:31.885Z cache: false 2026-10-16T13:47:31.885Z cache_dependency_path: pnpm-lock.yaml 2026-10-16T13:47:31.885Z package_json_file: package.json 2026-10-16T13:47:31.885Z standalone: false 2026-10-16T13:47:31.885Z ##[endgroup] 2026-10-16T13:47:32.053Z ##[group]Running self-installer... 2026-10-16T13:47:32.627Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T13:47:32.636Z Packages: +1 2026-10-16T13:47:32.636Z + 2026-10-16T13:47:33.114Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-16T13:47:33.135Z 2026-10-16T13:47:33.135Z dependencies: 2026-10-16T13:47:33.135Z + pnpm 10.28.0 (12.14.0 is available) 2026-10-16T13:47:33.135Z 2026-10-16T13:47:33.137Z Done in 879ms 2026-10-16T13:47:33.159Z ##[endgroup] 2026-10-16T13:47:33.159Z Installation Completed! 2026-10-16T13:47:33.275Z ##[group]Run actions/setup-node@v4 2026-10-16T13:47:33.275Z with: 2026-10-16T13:47:33.275Z node-version: 22 2026-10-16T13:47:33.275Z cache: pnpm 2026-10-16T13:47:33.275Z ##[endgroup] 2026-10-16T13:47:33.282Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-16T13:47:33.672Z pnpm cache is not found 2026-10-16T13:47:33.902Z ##[group]Run pnpm install --frozen-lockfile 2026-10-16T13:47:33.902Z ##[endgroup] 2026-10-16T13:47:34.179Z Scope: all 7 workspace projects 2026-10-16T13:47:34.231Z Lockfile is up to date, resolution step is skipped 2026-10-16T13:47:34.269Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T13:47:34.295Z Packages: +249 2026-10-16T13:47:34.295Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-16T13:47:35.273Z Progress: resolved 249, reused 0, downloaded 120, added 108 2026-10-16T13:47:36.277Z Progress: resolved 249, reused 0, downloaded 163, added 124 2026-10-16T13:47:37.276Z Progress: resolved 249, reused 0, downloaded 237, added 152 2026-10-16T13:47:38.094Z Progress: resolved 249, reused 0, downloaded 243, added 249, done 2026-10-16T13:47:38.175Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-16T13:47:38.175Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-16T13:47:38.176Z .../node_modules/workerd postinstall$ node install.js 2026-10-16T13:47:38.176Z .../node_modules/workerd postinstall$ node install.js 2026-10-16T13:47:38.177Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-16T13:47:38.298Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-16T13:47:38.298Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-16T13:47:38.838Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-16T13:47:38.867Z .../node_modules/workerd postinstall: Done 2026-10-16T13:47:38.867Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-16T13:47:39.067Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-16T13:47:39.072Z .../node_modules/workerd postinstall: Done 2026-10-16T13:47:39.897Z 2026-10-16T13:47:39.897Z devDependencies: 2026-10-16T13:47:39.897Z + turbo 2.11.7 2026-10-16T13:47:39.897Z + typescript 5.9.3 2026-10-16T13:47:39.897Z 2026-10-16T13:47:40.222Z Done in 6.2s using pnpm v10.28.0 2026-10-16T13:47:40.384Z ##[group]Run pnpm -r --if-present build 2026-10-16T13:47:40.384Z ##[endgroup] 2026-10-16T13:47:40.689Z Scope: 6 of 7 workspace projects 2026-10-16T13:47:40.692Z 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:47:40.692Z import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);" 2026-10-16T13:47:40.693Z apps/diffinery build$ node islands/build.mjs && node scripts/build-docs.mjs 2026-10-16T13:47:40.693Z 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:47:40.755Z apps/cli build: dist/diffinery.mjs 441.4kb 2026-10-16T13:47:40.756Z apps/cli build: ⚡ Done in 45ms 2026-10-16T13:47:40.758Z apps/cli build: Done 2026-10-16T13:47:40.767Z containers/runner build: dist/agent.mjs 657.3kb 2026-10-16T13:47:40.767Z containers/runner build: ⚡ Done in 51ms 2026-10-16T13:47:40.770Z containers/runner build: Done 2026-10-16T13:47:41.394Z apps/diffinery build: islands: kumo.js 466 KB, kumo.css 149 KB, terminal.js 286 KB 2026-10-16T13:47:41.603Z apps/diffinery build: docs: 64 pages (+2 generated at runtime), CLI 0.1.0 (232 KiB) 2026-10-16T13:47:41.611Z apps/diffinery build: Done 2026-10-16T13:47:41.796Z ##[group]Run # Shards of similar length; a new test file runs in "rest" unless it's added to another. 2026-10-16T13:47:41.796Z core='/e2e\.test\.mjs$' 2026-10-16T13:47:41.796Z agents='/(agentic|review|tasks)\.test\.mjs$' 2026-10-16T13:47:41.796Z security='/(security|status)\.test\.mjs$' 2026-10-16T13:47:41.796Z # The core file's real histories and large pushes take minutes each (jquery's alone 2 to 3 on 2026-10-16T13:47:41.796Z # Diffinery's runners): two shards of their own, so no part of the file runs into node's 2026-10-16T13:47:41.796Z # per-file timeout, which is the --test-timeout here. 2026-10-16T13:47:41.796Z histories='^real histories:' 2026-10-16T13:47:41.796Z large='^(large files|large pushes):' 2026-10-16T13:47:41.796Z opts=(--test-timeout=600000) 2026-10-16T13:47:41.796Z case "security" in 2026-10-16T13:47:41.796Z core) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-skip-pattern="$histories" --test-skip-pattern="$large") ;; 2026-10-16T13:47:41.796Z histories) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts=(--test-timeout=900000 --test-name-pattern="$histories") ;; 2026-10-16T13:47:41.796Z large) files=$(ls test/e2e/*.test.mjs | grep -E "$core"); opts+=(--test-name-pattern="$large") ;; 2026-10-16T13:47:41.796Z agents) files=$(ls test/e2e/*.test.mjs | grep -E "$agents") ;; 2026-10-16T13:47:41.796Z security) files=$(ls test/e2e/*.test.mjs | grep -E "$security") ;; 2026-10-16T13:47:41.796Z *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents|$security") ;; 2026-10-16T13:47:41.796Z esac 2026-10-16T13:47:41.796Z echo "$files" 2026-10-16T13:47:41.796Z node --test --test-concurrency=1 "${opts[@]}" $files 2026-10-16T13:47:41.796Z ##[endgroup] 2026-10-16T13:47:41.804Z test/e2e/security.test.mjs 2026-10-16T13:47:41.804Z test/e2e/status.test.mjs 2026-10-16T13:47:41.839Z TAP version 13 2026-10-16T13:48:05.753Z # Subtest: security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-16T13:48:05.753Z ok 1 - security: search, required checks, environments, reviews, locks, archives, drafts and tree names 2026-10-16T13:48:05.753Z --- 2026-10-16T13:48:05.753Z duration_ms: 23871.887123 2026-10-16T13:48:05.753Z type: 'test' 2026-10-16T13:48:05.753Z ... 2026-10-16T13:48:05.802Z # Subtest: security: organization admins can't hand out ownership 2026-10-16T13:48:05.802Z ok 2 - security: organization admins can't hand out ownership 2026-10-16T13:48:05.802Z --- 2026-10-16T13:48:05.802Z duration_ms: 49.625089 2026-10-16T13:48:05.802Z type: 'test' 2026-10-16T13:48:05.802Z ... 2026-10-16T13:48:06.675Z # Subtest: security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-16T13:48:06.675Z ok 3 - security: anonymous writes, token scopes, agent secrets, merge rules and drafts 2026-10-16T13:48:06.675Z --- 2026-10-16T13:48:06.675Z duration_ms: 872.53031 2026-10-16T13:48:06.676Z type: 'test' 2026-10-16T13:48:06.676Z ... 2026-10-16T13:48:07.113Z # Subtest: security: push protection covers commits made without git 2026-10-16T13:48:07.113Z ok 4 - security: push protection covers commits made without git 2026-10-16T13:48:07.113Z --- 2026-10-16T13:48:07.113Z duration_ms: 437.482051 2026-10-16T13:48:07.113Z type: 'test' 2026-10-16T13:48:07.113Z ... 2026-10-16T13:48:18.470Z # Subtest: security: limited tokens, invisible repositories, readers' labels and the audit trail 2026-10-16T13:48:18.470Z ok 5 - security: limited tokens, invisible repositories, readers' labels and the audit trail 2026-10-16T13:48:18.470Z --- 2026-10-16T13:48:18.470Z duration_ms: 11357.119743 2026-10-16T13:48:18.470Z type: 'test' 2026-10-16T13:48:18.470Z ... 2026-10-16T13:48:18.538Z # Subtest: security: organization pictures are the owners' to change, and invitations aren't sent twice 2026-10-16T13:48:18.538Z ok 6 - security: organization pictures are the owners' to change, and invitations aren't sent twice 2026-10-16T13:48:18.538Z --- 2026-10-16T13:48:18.538Z duration_ms: 68.739319 2026-10-16T13:48:18.538Z type: 'test' 2026-10-16T13:48:18.538Z ... 2026-10-16T13:48:18.754Z # Subtest: security: organization members get the base permission, which only owners change 2026-10-16T13:48:18.754Z ok 7 - security: organization members get the base permission, which only owners change 2026-10-16T13:48:18.754Z --- 2026-10-16T13:48:18.754Z duration_ms: 215.467233 2026-10-16T13:48:18.754Z type: 'test' 2026-10-16T13:48:18.754Z ... 2026-10-16T13:48:18.990Z # Subtest: security: leaving an organization takes its repository access along 2026-10-16T13:48:18.990Z ok 8 - security: leaving an organization takes its repository access along 2026-10-16T13:48:18.990Z --- 2026-10-16T13:48:18.990Z duration_ms: 236.406521 2026-10-16T13:48:18.990Z type: 'test' 2026-10-16T13:48:18.990Z ... 2026-10-16T13:48:22.033Z # Subtest: security: organization settings are checked before anything is saved, and agents see the base permission 2026-10-16T13:48:22.033Z ok 9 - security: organization settings are checked before anything is saved, and agents see the base permission 2026-10-16T13:48:22.033Z --- 2026-10-16T13:48:22.033Z duration_ms: 3041.982189 2026-10-16T13:48:22.033Z type: 'test' 2026-10-16T13:48:22.033Z ...