2026-10-24T13:55:21.455Z Diffinery runner: job live (Containers, registry, sandboxes, webhooks, schedules, LFS and pull requests) for codician/diffinery@88b59f0790e2 2026-10-24T13:55:21.461Z Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in lis01, WEUR, container 0e29b565f547b8d28b6864da4cd8279082c9267b9010b79190ed0cf8cc5f9c85 2026-10-24T13:55:21.461Z 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-24T13:55:21.461Z Host: AMD EPYC (family 26, model 17), 4 vCPUs, 2250 MHz 2026-10-24T13:55:21.461Z Workspace: /workspace/diffinery 2026-10-24T13:55:21.576Z ##[group]Run if [ "$GITHUB_EVENT_NAME" = workflow_run ]; then 2026-10-24T13:55:21.576Z # Deploy's gate skips a commit that is no longer main's tip (the newer commit's run deploys it): 2026-10-24T13:55:21.576Z # then nothing new is live, and this run would only test the site as it was. 2026-10-24T13:55:21.576Z deployed=$(curl -fsS "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/actions/runs/$DEPLOY_RUN/jobs" -H "Authorization: Bearer $GH_TOKEN" | jq -r '[.jobs[] | select(.name == "Deploy to Cloudflare") | .conclusion][0] // "unknown"' || echo unknown) 2026-10-24T13:55:21.576Z if [ "$deployed" = skipped ]; then 2026-10-24T13:55:21.576Z echo "::notice::Deploy deployed nothing for $HEAD_SHA (main has moved on), so there is nothing new to test" 2026-10-24T13:55:21.576Z echo "skip=true" >> "$GITHUB_OUTPUT" 2026-10-24T13:55:21.576Z exit 0 2026-10-24T13:55:21.576Z fi 2026-10-24T13:55:21.576Z fi 2026-10-24T13:55:21.576Z if [ -z "$TOKEN" ]; then 2026-10-24T13:55:21.576Z # After a deploy of diffinery.com a missing token is an error: a green run would mean nothing was tested. 2026-10-24T13:55:21.576Z if [ "$GITHUB_EVENT_NAME" = workflow_run ]; then 2026-10-24T13:55:21.576Z echo "::error::DIFFINERY_LIVE_TOKEN is not set in the production environment, so nothing was tested. Create a write token at $DIFFINERY/settings/tokens and save it as a production environment secret." 2026-10-24T13:55:21.576Z exit 1 2026-10-24T13:55:21.576Z fi 2026-10-24T13:55:21.576Z echo "::warning::DIFFINERY_LIVE_TOKEN is not set, so the live test is skipped. Create a write token at $DIFFINERY/settings/tokens and save it as a production environment secret." 2026-10-24T13:55:21.576Z echo "skip=true" >> "$GITHUB_OUTPUT" 2026-10-24T13:55:21.576Z exit 0 2026-10-24T13:55:21.576Z fi 2026-10-24T13:55:21.576Z login=$(curl -fsS "$DIFFINERY/api/v3/user" -H "Authorization: Bearer $TOKEN" | jq -r .login) 2026-10-24T13:55:21.576Z echo "OWNER=$login" >> "$GITHUB_ENV" 2026-10-24T13:55:21.576Z echo "testing as $login in $login/$REPO" 2026-10-24T13:55:21.576Z env: 2026-10-24T13:55:21.576Z GH_TOKEN: *** 2026-10-24T13:55:21.576Z DEPLOY_RUN: 766 2026-10-24T13:55:21.576Z ##[endgroup] 2026-10-24T13:55:22.408Z testing as cnbrkdmrci in cnbrkdmrci/live-767-1 2026-10-24T13:55:22.610Z ##[group]Run set -euo pipefail 2026-10-24T13:55:22.610Z # Layers over Cloudflare's 100 MB request limit (which hosted runners push through 2026-10-24T13:55:22.610Z # the registry relay) take minutes to push and pull. They're pushed on manual runs and 2026-10-24T13:55:22.610Z # whenever the registry, the runner image or this test changed since the last 2026-10-24T13:55:22.610Z # successful live test; other deploys push small images through the same path. 2026-10-24T13:55:22.610Z full=true 2026-10-24T13:55:22.610Z if [ "$GITHUB_EVENT_NAME" = workflow_run ]; then 2026-10-24T13:55:22.610Z api() { curl -fsS "$DIFFINERY/api/v3/repos/$GITHUB_REPOSITORY$1" -H "Authorization: Bearer $TOKEN"; } 2026-10-24T13:55:22.610Z last=$(api "/actions/runs?workflow=live-test.yml&status=success&per_page=1" | jq -r '.workflow_runs[0].head_sha // empty' || true) 2026-10-24T13:55:22.610Z if [ -n "$last" ] && files=$(api "/compare/$last...$HEAD_SHA" | jq -r '.files[].filename'); then 2026-10-24T13:55:22.610Z grep -qE '^(apps/diffinery/src/registry/|containers/runner/|\.github/workflows/live-test\.yml$)' <<<"$files" || full=false 2026-10-24T13:55:22.610Z echo "changed since $last: $(wc -l <<<"$files") files" 2026-10-24T13:55:22.610Z fi 2026-10-24T13:55:22.610Z fi 2026-10-24T13:55:22.610Z if [ "$full" = true ]; then 2026-10-24T13:55:22.610Z echo "BIG=150000000" >> "$GITHUB_ENV" 2026-10-24T13:55:22.610Z echo "BUILDX=120000000" >> "$GITHUB_ENV" 2026-10-24T13:55:22.610Z else 2026-10-24T13:55:22.610Z echo "BIG=5000000" >> "$GITHUB_ENV" 2026-10-24T13:55:22.610Z echo "BUILDX=4000000" >> "$GITHUB_ENV" 2026-10-24T13:55:22.610Z fi 2026-10-24T13:55:22.610Z echo "registry check: full=$full" 2026-10-24T13:55:22.610Z ##[endgroup] 2026-10-24T13:55:23.775Z changed since dd9f88fdc1f124292d7f34761a08ad3743df4460: 2 files 2026-10-24T13:55:23.775Z registry check: full=false 2026-10-24T13:55:23.926Z ##[group]Run set -euo pipefail 2026-10-24T13:55:23.926Z av="$DIFFINERY/api/avatars/$OWNER" 2026-10-24T13:55:23.926Z # Keep the account's current picture, if it has one, to put it back afterwards. 2026-10-24T13:55:23.926Z had=$(curl -fsS -o before.webp -w '%{content_type}' "$av?s=256&v=1") 2026-10-24T13:55:23.926Z restore() { 2026-10-24T13:55:23.926Z if [ "$had" = image/webp ]; then 2026-10-24T13:55:23.926Z curl -fsS -X PUT "$DIFFINERY/api/v3/user/avatar" -H "Authorization: Bearer $TOKEN" -H "content-type: image/webp" --data-binary @before.webp | jq -r '"restored the previous picture: \(.avatar_url)"' 2026-10-24T13:55:23.926Z else 2026-10-24T13:55:23.926Z curl -fsS -o /dev/null -X DELETE "$DIFFINERY/api/v3/user/avatar" -H "Authorization: Bearer $TOKEN" 2026-10-24T13:55:23.926Z fi 2026-10-24T13:55:23.926Z } 2026-10-24T13:55:23.926Z trap restore EXIT 2026-10-24T13:55:23.926Z # A 600×400 PNG gradient; the server crops it to a square and makes small WebPs. 2026-10-24T13:55:23.926Z python3 - <<'EOF' 2026-10-24T13:55:23.926Z import struct, zlib 2026-10-24T13:55:23.926Z w, h = 600, 400 2026-10-24T13:55:23.926Z rows = b"".join(b"\0" + bytes(c for x in range(w) for c in (x * 255 // w, y * 255 // h, 128)) for y in range(h)) 2026-10-24T13:55:23.926Z chunk = lambda t, d: struct.pack(">I", len(d)) + t + d + struct.pack(">I", zlib.crc32(t + d)) 2026-10-24T13:55:23.926Z open("avatar.png", "wb").write(b"\x89PNG\r\n\x1a\n" + chunk(b"IHDR", struct.pack(">IIBBBBB", w, h, 8, 2, 0, 0, 0)) + chunk(b"IDAT", zlib.compress(rows)) + chunk(b"IEND", b"")) 2026-10-24T13:55:23.926Z EOF 2026-10-24T13:55:23.926Z url=$(curl -fsS -X PUT "$DIFFINERY/api/v3/user/avatar" -H "Authorization: Bearer $TOKEN" -H "content-type: image/png" --data-binary @avatar.png | jq -r .avatar_url) 2026-10-24T13:55:23.926Z echo "uploaded: $url" 2026-10-24T13:55:23.926Z v=${url##*v=} 2026-10-24T13:55:23.926Z type=$(curl -fsS -o small.webp -w '%{content_type}' "$av?s=64&v=$v") 2026-10-24T13:55:23.926Z [ "$type" = image/webp ] || { echo "::error::expected image/webp, got $type"; exit 1; } 2026-10-24T13:55:23.926Z python3 - <<'EOF' 2026-10-24T13:55:23.926Z import struct, sys 2026-10-24T13:55:23.926Z b = open("small.webp", "rb").read() 2026-10-24T13:55:23.926Z ok = b[:4] == b"RIFF" and b[8:12] == b"WEBP" 2026-10-24T13:55:23.926Z if b[12:16] == b"VP8 ": 2026-10-24T13:55:23.926Z size = (struct.unpack(" 5000: 2026-10-24T13:55:23.926Z print("::error::the 64 px avatar is not a 64x64 WebP under 5 KB"); sys.exit(1) 2026-10-24T13:55:23.926Z EOF 2026-10-24T13:55:23.926Z curl -fsS -X DELETE "$DIFFINERY/api/v3/user/avatar" -H "Authorization: Bearer $TOKEN" >/dev/null 2026-10-24T13:55:23.926Z # A `v` that is not current bypasses the edge cache, so this sees the removal from any colo. 2026-10-24T13:55:23.926Z type=$(curl -fsS -o /dev/null -w '%{content_type}' "$av?s=64&v=1") 2026-10-24T13:55:23.926Z [[ "$type" == image/svg+xml* ]] || { echo "::error::after removal expected the initials SVG, got $type"; exit 1; } 2026-10-24T13:55:23.926Z echo "removed: initials again ($type)" 2026-10-24T13:55:23.926Z ##[endgroup] 2026-10-24T13:55:26.151Z uploaded: https://diffinery.com/api/avatars/cnbrkdmrci?v=1792850124 2026-10-24T13:55:26.559Z 64 px avatar: 256 bytes, (64, 64) 2026-10-24T13:55:27.542Z removed: initials again (image/svg+xml; charset=utf-8) 2026-10-24T13:55:30.210Z restored the previous picture: https://diffinery.com/api/avatars/cnbrkdmrci?v=1792850127 2026-10-24T13:55:30.356Z ##[group]Run set -euo pipefail 2026-10-24T13:55:30.356Z check() { # path, content type, text it must contain 2026-10-24T13:55:30.356Z body=$(curl -fsS -D /tmp/h "$DIFFINERY$1") 2026-10-24T13:55:30.356Z grep -qi "content-type: $2" /tmp/h || { echo "::error::$1 is not $2"; exit 1; } 2026-10-24T13:55:30.356Z grep -qF -- "$3" <<<"$body" || { echo "::error::$1 doesn't contain: $3"; exit 1; } 2026-10-24T13:55:30.356Z echo "$1 ok ($(wc -c <<<"$body") bytes)" 2026-10-24T13:55:30.356Z } 2026-10-24T13:55:30.356Z check /docs "text/html" "Overview" 2026-10-24T13:55:30.356Z check /docs/actions/workflow-syntax "text/html" "View as Markdown" 2026-10-24T13:55:30.356Z check /docs/quickstart.md "text/markdown" "# Quickstart" 2026-10-24T13:55:30.356Z check /llms.txt "text/plain" "/docs/actions/workflow-syntax.md" 2026-10-24T13:55:30.356Z check /llms-full.txt "text/plain" "# REST API reference" 2026-10-24T13:55:30.356Z check /docs/api/openapi.json "application/json" '"openapi": "3.1.0"' 2026-10-24T13:55:30.356Z check /-/cli/diffinery.mjs "text/javascript" "#!/usr/bin/env node" 2026-10-24T13:55:30.356Z md=$(curl -fsS -H "Accept: text/markdown" "$DIFFINERY/docs/agents/mcp") 2026-10-24T13:55:30.356Z grep -q "^# MCP" <<<"$md" || { echo "::error::Accept: text/markdown didn't return Markdown"; exit 1; } 2026-10-24T13:55:30.356Z curl -fsS "$DIFFINERY/-/cli/diffinery.mjs" -o /tmp/diffinery.mjs && node /tmp/diffinery.mjs --version 2026-10-24T13:55:30.356Z ##[endgroup] 2026-10-24T13:55:30.446Z /docs ok (95480 bytes) 2026-10-24T13:55:30.733Z /docs/actions/workflow-syntax ok (181306 bytes) 2026-10-24T13:55:30.777Z /docs/quickstart.md ok (17655 bytes) 2026-10-24T13:55:30.844Z /llms.txt ok (24038 bytes) 2026-10-24T13:55:31.063Z /llms-full.txt ok (2593963 bytes) 2026-10-24T13:55:31.196Z /docs/api/openapi.json ok (825256 bytes) 2026-10-24T13:55:31.256Z /-/cli/diffinery.mjs ok (256504 bytes) 2026-10-24T13:55:31.440Z diffinery 0.1.0 2026-10-24T13:55:31.622Z ##[group]Run set -euo pipefail 2026-10-24T13:55:31.622Z s=$(curl -sS -w '\n%{http_code}' "$DIFFINERY/api/v3/diffinery/admin/email" -H "Authorization: Bearer $TOKEN") 2026-10-24T13:55:31.622Z code=${s##*$'\n'}; s=${s%$'\n'*} 2026-10-24T13:55:31.623Z # Only a site administrator's token reads the email settings, and the live-test account isn't one. 2026-10-24T13:55:31.623Z if [ "$code" = 403 ]; then echo "::notice::skipped: the live-test token isn't a site administrator's"; exit 0; fi 2026-10-24T13:55:31.623Z [ "$code" = 200 ] || { echo "::error::/diffinery/admin/email answered $code"; exit 1; } 2026-10-24T13:55:31.623Z echo "$s" | jq '{sending, queue, from, last_24h}' 2026-10-24T13:55:31.623Z [ "$(jq -r .sending <<<"$s")" = true ] || { echo "::error::the Worker has no Email Sending binding"; exit 1; } 2026-10-24T13:55:31.623Z [ "$(jq -r .queue <<<"$s")" = true ] || { echo "::error::the Worker has no mail queue binding"; exit 1; } 2026-10-24T13:55:31.623Z failed=$(jq -r .last_24h.failed <<<"$s") 2026-10-24T13:55:31.623Z [ "$failed" = 0 ] || echo "::warning::$failed emails failed in the last 24 hours; see Settings -> Email in site administration" 2026-10-24T13:55:31.623Z ##[endgroup] 2026-10-24T13:55:31.848Z { 2026-10-24T13:55:31.848Z "sending": true, 2026-10-24T13:55:31.848Z "queue": true, 2026-10-24T13:55:31.848Z "from": "notifications@diffinery.com", 2026-10-24T13:55:31.848Z "last_24h": { 2026-10-24T13:55:31.848Z "sent": 19, 2026-10-24T13:55:31.848Z "failed": 0, 2026-10-24T13:55:31.848Z "skipped": 0 2026-10-24T13:55:31.848Z } 2026-10-24T13:55:31.848Z } 2026-10-24T13:55:32.007Z ##[group]Run set -euo pipefail 2026-10-24T13:55:32.007Z api() { curl -fsS -X "$1" "$DIFFINERY/api/v3$2" -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" ${3:+--data "$3"}; } 2026-10-24T13:55:32.007Z api POST /user/repos "{\"name\":\"$REPO\",\"private\":true}" >/dev/null 2026-10-24T13:55:32.007Z # Webhooks may only reach public hosts other than Diffinery itself; the push's delivery goes to example.com. 2026-10-24T13:55:32.007Z code=$(curl -sS -o /dev/null -w '%{http_code}' -X POST "$DIFFINERY/api/v3/repos/$OWNER/$REPO/hooks" -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" --data "{\"config\":{\"url\":\"$DIFFINERY/healthz\"},\"events\":[\"push\"]}") 2026-10-24T13:55:32.007Z [ "$code" = 422 ] || { echo "::error::a webhook to Diffinery itself answered $code, not 422"; exit 1; } 2026-10-24T13:55:32.007Z api POST "/repos/$OWNER/$REPO/hooks" "{\"config\":{\"url\":\"https://example.com/diffinery-live-test\"},\"events\":[\"push\"]}" >/dev/null 2026-10-24T13:55:32.007Z echo "created $OWNER/$REPO" 2026-10-24T13:55:32.007Z ##[endgroup] 2026-10-24T13:55:34.614Z created cnbrkdmrci/live-767-1 2026-10-24T13:55:34.755Z ##[group]Run set -euo pipefail 2026-10-24T13:55:34.755Z # A deploy's container rollout updates instances over a while after it starts, and an 2026-10-24T13:55:34.755Z # instance not yet updated starts jobs on the previous runner image. Jobs report their 2026-10-24T13:55:34.755Z # image (`runner.image`), so a probe workflow runs until three jobs in a row land on the 2026-10-24T13:55:34.755Z # image the deploy set (/meta's runner_image) before the Docker and registry checks. 2026-10-24T13:55:34.755Z api() { curl -fsS -X "$1" "$DIFFINERY/api/v3$2" -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" ${3:+--data "$3"}; } 2026-10-24T13:55:34.755Z expected=$(api GET /meta | jq -r '.runner_image // empty') 2026-10-24T13:55:34.755Z if [ -z "$expected" ]; then 2026-10-24T13:55:34.755Z echo "::warning::/meta doesn't name the deployed runner image, so jobs aren't checked against it" 2026-10-24T13:55:34.755Z exit 0 2026-10-24T13:55:34.755Z fi 2026-10-24T13:55:34.755Z echo "DEPLOYED_RUNNER_IMAGE=$expected" >> "$GITHUB_ENV" 2026-10-24T13:55:34.755Z mkdir -p src/.github/workflows && cd src 2026-10-24T13:55:34.755Z git init -q -b main 2026-10-24T13:55:34.755Z git config user.name "Live test" && git config user.email "live-test@diffinery.com" 2026-10-24T13:55:34.755Z cat > .github/workflows/probe.yml <<'EOF' 2026-10-24T13:55:34.755Z on: workflow_dispatch 2026-10-24T13:55:34.755Z jobs: 2026-10-24T13:55:34.755Z probe: 2026-10-24T13:55:34.755Z runs-on: ubuntu-latest 2026-10-24T13:55:34.755Z strategy: 2026-10-24T13:55:34.755Z matrix: 2026-10-24T13:55:34.755Z n: [1, 2, 3] 2026-10-24T13:55:34.755Z steps: 2026-10-24T13:55:34.755Z - run: echo "probe ok" 2026-10-24T13:55:34.755Z EOF 2026-10-24T13:55:34.755Z git add -A && git commit -q -m "Runner image probe" 2026-10-24T13:55:34.755Z git push -q "https://x-token:${TOKEN}@${DIFFINERY#https://}/$OWNER/$REPO.git" main 2026-10-24T13:55:34.755Z deadline=$(( $(date +%s) + 15 * 60 )) 2026-10-24T13:55:34.755Z while :; do 2026-10-24T13:55:34.755Z before=$(api GET "/repos/$OWNER/$REPO/actions/runs?event=workflow_dispatch" | jq '.workflow_runs | length') 2026-10-24T13:55:34.755Z api POST "/repos/$OWNER/$REPO/actions/workflows/probe.yml/dispatches" '{"ref":"main"}' >/dev/null 2026-10-24T13:55:34.755Z run="" 2026-10-24T13:55:34.755Z # Up to 10 minutes: a job turned away from a replaced image starts again after 30 s, 1, 2 and 4 minutes. 2026-10-24T13:55:34.755Z for i in $(seq 1 120); do 2026-10-24T13:55:34.755Z runs=$(api GET "/repos/$OWNER/$REPO/actions/runs?event=workflow_dispatch") 2026-10-24T13:55:34.755Z if [ "$(jq '.workflow_runs | length' <<<"$runs")" -gt "$before" ]; then 2026-10-24T13:55:34.755Z run=$(jq -c '.workflow_runs[0]' <<<"$runs") 2026-10-24T13:55:34.755Z [ "$(jq -r .status <<<"$run")" = completed ] && break 2026-10-24T13:55:34.755Z fi 2026-10-24T13:55:34.755Z sleep 5 2026-10-24T13:55:34.755Z done 2026-10-24T13:55:34.755Z [ -n "$run" ] || { echo "::error::the probe workflow didn't start"; exit 1; } 2026-10-24T13:55:34.755Z probe=$(api GET "/repos/$OWNER/$REPO/actions/runs/$(jq -r .id <<<"$run")/jobs") 2026-10-24T13:55:34.755Z images=$(jq -r '.jobs[] | .runner.image // "no image reported"' <<<"$probe") 2026-10-24T13:55:34.755Z echo "probe jobs ran on: $(sort <<<"$images" | uniq -c | sed 's/^ *//' | paste -sd ','), started again $(jq '[.jobs[].placementTries // 0] | add // 0' <<<"$probe") time(s) in all" 2026-10-24T13:55:34.755Z [ "$(grep -cxF "$expected" <<<"$images" || true)" = 3 ] && { echo "jobs start on $expected"; exit 0; } 2026-10-24T13:55:34.755Z if [ "$(date +%s)" -ge "$deadline" ]; then 2026-10-24T13:55:34.755Z echo "::error::15 minutes after the deploy, jobs still start on a runner image other than the deployed $expected" 2026-10-24T13:55:34.755Z exit 1 2026-10-24T13:55:34.755Z fi 2026-10-24T13:55:34.755Z sleep 20 2026-10-24T13:55:34.755Z done 2026-10-24T13:55:34.755Z ##[endgroup] 2026-10-24T13:55:50.570Z probe jobs ran on: 3 diffinery-runner:4d3bf17f06575e64ab4155b3, started again 0 time(s) in all 2026-10-24T13:55:50.573Z jobs start on diffinery-runner:4d3bf17f06575e64ab4155b3 2026-10-24T13:55:50.734Z ##[group]Run set -euo pipefail 2026-10-24T13:55:50.734Z mkdir -p src/.github/workflows && cd src 2026-10-24T13:55:50.734Z git init -q -b main 2026-10-24T13:55:50.734Z git config user.name "Live test" && git config user.email "live-test@diffinery.com" 2026-10-24T13:55:50.734Z git lfs install --local >/dev/null 2026-10-24T13:55:50.734Z git lfs track "*.bin" >/dev/null 2026-10-24T13:55:50.734Z head -c 3145728 /dev/urandom > blob.bin 2026-10-24T13:55:50.734Z sha256sum blob.bin | cut -d' ' -f1 > ../blob.sha 2026-10-24T13:55:50.734Z echo "# $REPO" > README.md 2026-10-24T13:55:50.734Z cat > .github/workflows/ci.yml <<'EOF' 2026-10-24T13:55:50.734Z on: push 2026-10-24T13:55:50.734Z jobs: 2026-10-24T13:55:50.734Z hosted: 2026-10-24T13:55:50.734Z runs-on: ubuntu-latest 2026-10-24T13:55:50.734Z strategy: 2026-10-24T13:55:50.734Z matrix: 2026-10-24T13:55:50.734Z n: [1, 2] 2026-10-24T13:55:50.734Z steps: 2026-10-24T13:55:50.734Z - uses: actions/checkout@v4 2026-10-24T13:55:50.734Z - run: echo "live ok ${{ matrix.n }} $(cat README.md)" 2026-10-24T13:55:50.734Z # Passwordless sudo, as on GitHub's runners (`sudo apt-get install ...` is common). 2026-10-24T13:55:50.734Z - run: sudo -n true && echo "sudo ok $(sudo -n id -u)" 2026-10-24T13:55:50.734Z docker: 2026-10-24T13:55:50.734Z runs-on: ubuntu-latest 2026-10-24T13:55:50.734Z services: 2026-10-24T13:55:50.734Z cache: 2026-10-24T13:55:50.734Z image: redis:7-alpine 2026-10-24T13:55:50.734Z ports: ["6379"] 2026-10-24T13:55:50.734Z options: --health-cmd "redis-cli ping" --health-interval 1s --health-retries 30 2026-10-24T13:55:50.734Z steps: 2026-10-24T13:55:50.734Z - run: | 2026-10-24T13:55:50.734Z printf 'FROM alpine:3.20\nRUN echo built > /msg\nCMD ["cat", "/msg"]\n' > Dockerfile 2026-10-24T13:55:50.734Z docker build -q -t live-image . 2026-10-24T13:55:50.734Z echo "docker ok $(docker run --rm live-image)" 2026-10-24T13:55:50.734Z exec 3<>/dev/tcp/127.0.0.1/${{ job.services.cache.ports['6379'] }} 2026-10-24T13:55:50.734Z printf 'PING\r\n' >&3 2026-10-24T13:55:50.734Z read -r line <&3 2026-10-24T13:55:50.734Z echo "service ok ${line%$'\r'}" 2026-10-24T13:55:50.734Z # Container registry: a layer pushed with the job's GITHUB_TOKEN (over Cloudflare's 2026-10-24T13:55:50.734Z # 100 MB request limit on full runs), plus the docker/*-action route most ghcr.io 2026-10-24T13:55:50.734Z # workflows use. __BIG__ and __BUILDX__ are the layer sizes. 2026-10-24T13:55:50.734Z publish: 2026-10-24T13:55:50.734Z runs-on: ubuntu-latest 2026-10-24T13:55:50.734Z permissions: 2026-10-24T13:55:50.734Z packages: write 2026-10-24T13:55:50.734Z steps: 2026-10-24T13:55:50.734Z - run: | 2026-10-24T13:55:50.734Z image="diffinery.com/${GITHUB_REPOSITORY,,}" 2026-10-24T13:55:50.734Z echo "${{ secrets.GITHUB_TOKEN }}" | docker login diffinery.com -u "${{ github.actor }}" --password-stdin 2026-10-24T13:55:50.734Z head -c __BIG__ /dev/urandom > big.bin 2026-10-24T13:55:50.734Z sha256sum big.bin | cut -d' ' -f1 > big.sha 2026-10-24T13:55:50.734Z printf 'FROM scratch\nCOPY big.bin big.sha /\n' > Dockerfile 2026-10-24T13:55:50.734Z docker build -q -t "$image:live" . 2026-10-24T13:55:50.734Z docker push "$image:live" 2026-10-24T13:55:50.734Z echo "pushed $(cat big.sha)" 2026-10-24T13:55:50.734Z buildx: 2026-10-24T13:55:50.734Z runs-on: ubuntu-latest 2026-10-24T13:55:50.734Z permissions: 2026-10-24T13:55:50.734Z packages: write 2026-10-24T13:55:50.734Z steps: 2026-10-24T13:55:50.734Z - run: | 2026-10-24T13:55:50.734Z echo "IMAGE=diffinery.com/${GITHUB_REPOSITORY,,}" >> "$GITHUB_ENV" 2026-10-24T13:55:50.734Z head -c __BUILDX__ /dev/urandom > big.bin 2026-10-24T13:55:50.734Z printf 'FROM scratch\nCOPY big.bin /\n' > Dockerfile 2026-10-24T13:55:50.734Z - uses: docker/setup-buildx-action@v3 2026-10-24T13:55:50.734Z - uses: docker/login-action@v3 2026-10-24T13:55:50.734Z with: 2026-10-24T13:55:50.734Z registry: diffinery.com 2026-10-24T13:55:50.734Z username: ${{ github.actor }} 2026-10-24T13:55:50.734Z password: ${{ secrets.GITHUB_TOKEN }} 2026-10-24T13:55:50.734Z - uses: docker/build-push-action@v6 2026-10-24T13:55:50.734Z with: 2026-10-24T13:55:50.734Z context: . 2026-10-24T13:55:50.734Z push: true 2026-10-24T13:55:50.734Z tags: ${{ env.IMAGE }}:buildx 2026-10-24T13:55:50.734Z pull: 2026-10-24T13:55:50.734Z needs: [publish, buildx] 2026-10-24T13:55:50.734Z runs-on: ubuntu-latest 2026-10-24T13:55:50.734Z permissions: 2026-10-24T13:55:50.734Z packages: read 2026-10-24T13:55:50.734Z steps: 2026-10-24T13:55:50.734Z - run: | 2026-10-24T13:55:50.734Z image="diffinery.com/${GITHUB_REPOSITORY,,}" 2026-10-24T13:55:50.734Z echo "${{ secrets.GITHUB_TOKEN }}" | docker login diffinery.com -u "${{ github.actor }}" --password-stdin 2026-10-24T13:55:50.734Z docker pull -q "$image:live" 2026-10-24T13:55:50.734Z id=$(docker create "$image:live" true) 2026-10-24T13:55:50.734Z docker cp "$id:/big.bin" big.bin && docker cp "$id:/big.sha" big.sha 2026-10-24T13:55:50.734Z [ "$(sha256sum big.bin | cut -d' ' -f1)" = "$(cat big.sha)" ] && echo "registry ok $(stat -c %s big.bin) bytes" 2026-10-24T13:55:50.734Z docker pull -q "$image:buildx" 2026-10-24T13:55:50.734Z id=$(docker create "$image:buildx" true) 2026-10-24T13:55:50.734Z docker cp "$id:/big.bin" buildx.bin 2026-10-24T13:55:50.734Z echo "buildx ok $(stat -c %s buildx.bin) bytes" 2026-10-24T13:55:50.734Z EOF 2026-10-24T13:55:50.734Z cat > .github/workflows/tick.yml <<'EOF' 2026-10-24T13:55:50.734Z on: 2026-10-24T13:55:50.734Z schedule: 2026-10-24T13:55:50.734Z - cron: "*/5 * * * *" 2026-10-24T13:55:50.734Z jobs: 2026-10-24T13:55:50.734Z tick: 2026-10-24T13:55:50.734Z runs-on: ubuntu-latest 2026-10-24T13:55:50.734Z steps: 2026-10-24T13:55:50.734Z - run: echo "scheduled ok" 2026-10-24T13:55:50.734Z EOF 2026-10-24T13:55:50.734Z sed -i "s/__BIG__/$BIG/g; s/__BUILDX__/$BUILDX/g" .github/workflows/ci.yml 2026-10-24T13:55:50.734Z git add -A && git commit -q -m "Live test" 2026-10-24T13:55:50.734Z git push -q "https://x-token:${TOKEN}@${DIFFINERY#https://}/$OWNER/$REPO.git" main 2026-10-24T13:55:50.734Z git lfs ls-files 2026-10-24T13:55:50.734Z ##[endgroup] 2026-10-24T13:55:50.744Z warning: re-init: ignored --initial-branch=main 2026-10-24T13:55:53.296Z Uploading LFS objects: 100% (1/1), 3.1 MB | 0 B/s, done. 2026-10-24T13:55:58.837Z 627e8da21a * blob.bin 2026-10-24T13:55:58.995Z ##[group]Run set -euo pipefail 2026-10-24T13:55:58.995Z page() { curl -fsS "$DIFFINERY$1" -H "Authorization: Bearer $TOKEN"; } 2026-10-24T13:55:58.995Z has() { grep -qF -- "$2" <<<"$1" || { echo "::error::$3"; exit 1; }; } 2026-10-24T13:55:58.995Z html=$(page "/$OWNER/$REPO/blob/main/.github/workflows/ci.yml") 2026-10-24T13:55:58.995Z has "$html" '' "the workflow file is not syntax highlighted" 2026-10-24T13:55:58.995Z has "$html" "--shiki-dark" "highlighted code has no dark theme colours" 2026-10-24T13:55:58.995Z has "$html" "@view-transition{navigation:auto}" "pages don't opt in to view transitions" 2026-10-24T13:55:58.995Z has "$html" "prefers-reduced-motion:no-preference" "view transitions ignore reduced motion" 2026-10-24T13:55:58.995Z has "$(page /settings/appearance)" 'name="appearance"' "Settings -> Appearance has no theme choice" 2026-10-24T13:55:58.995Z has "$(page /notifications)" 'href="/settings/notifications"' "the notifications page doesn't link to notification settings" 2026-10-24T13:55:58.995Z code=$(curl -sS -o /tmp/out -w '%{http_code}' -X POST "$DIFFINERY/api/v3/user/repos" -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" --data "{\"name\":\"$REPO-internal\",\"visibility\":\"internal\"}") 2026-10-24T13:55:58.995Z [ "$code" = 422 ] || { echo "::error::visibility internal got $code, expected 422"; curl -sS -o /dev/null -X DELETE "$DIFFINERY/api/v3/repos/$OWNER/$REPO-internal" -H "Authorization: Bearer $TOKEN"; exit 1; } 2026-10-24T13:55:58.995Z org=$(page /api/v3/user/orgs | jq -r '.[0].login // empty') 2026-10-24T13:55:58.995Z if [ -n "$org" ]; then 2026-10-24T13:55:58.995Z perm=$(page "/api/v3/orgs/$org" | jq -r '.default_repository_permission // empty') 2026-10-24T13:55:58.995Z case "$perm" in none|read|write|admin) echo "$org's base permission: $perm" ;; *) echo "::error::GET /orgs/$org has no default_repository_permission"; exit 1 ;; esac 2026-10-24T13:55:58.995Z # A malformed rename is refused before anything is written (422 for owners, 403 for everyone else). 2026-10-24T13:55:58.995Z code=$(curl -sS -o /tmp/out -w '%{http_code}' -X PATCH "$DIFFINERY/api/v3/orgs/$org" -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" --data '{"name":123}') 2026-10-24T13:55:58.995Z case "$code" in 422|403) ;; *) echo "::error::PATCH /orgs/$org with a numeric name got $code"; cat /tmp/out; exit 1 ;; esac 2026-10-24T13:55:58.995Z fi 2026-10-24T13:55:58.995Z page "/api/v3/repos/$OWNER/$REPO/invitations" | jq -e 'type == "array"' >/dev/null || { echo "::error::GET /repos/$OWNER/$REPO/invitations doesn't list pending invitations"; exit 1; } 2026-10-24T13:55:58.995Z tools=$(curl -fsS -X POST "$DIFFINERY/mcp" -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" -H "accept: application/json, text/event-stream" --data '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | jq -r '.result.tools[].name') 2026-10-24T13:55:58.995Z for t in get_organization list_invitations revoke_invitation; do grep -qx "$t" <<<"$tools" || { echo "::error::the MCP server has no $t tool"; exit 1; }; done 2026-10-24T13:55:58.995Z echo "highlighting, Appearance, notification settings link, view transitions, visibility, organization and invitation checks passed" 2026-10-24T13:55:58.995Z ##[endgroup] 2026-10-24T13:56:00.463Z ALCAN's base permission: write 2026-10-24T13:56:01.084Z highlighting, Appearance, notification settings link, view transitions, visibility, organization and invitation checks passed 2026-10-24T13:56:01.233Z ##[group]Run set -euo pipefail 2026-10-24T13:56:01.233Z page() { curl -fsS "$DIFFINERY$1" -H "Authorization: Bearer $TOKEN"; } 2026-10-24T13:56:01.233Z api() { curl -fsS -X "$1" "$DIFFINERY/api/v3$2" -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" ${3:+--data "$3"}; } 2026-10-24T13:56:01.233Z code() { curl -sS -o /tmp/out -w '%{http_code}' -X "$1" "$DIFFINERY/api/v3$2" -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" ${3:+--data "$3"}; } 2026-10-24T13:56:01.233Z fail() { echo "::error::$1"; cat /tmp/out 2>/dev/null || true; exit 1; } 2026-10-24T13:56:01.233Z has() { grep -qF -- "$2" <<<"$1" || fail "$3"; } 2026-10-24T13:56:01.233Z R="/repos/$OWNER/$REPO" 2026-10-24T13:56:01.233Z has "$(page /new/import)" 'diffy/hello-world' "the importer's placeholder isn't Diffy" 2026-10-24T13:56:01.233Z has "$(page "/$OWNER/$REPO/settings/actions")" 'Allow GitHub Actions to create and approve pull requests' "repository settings have no Actions page" 2026-10-24T13:56:01.233Z # Milestones: created closed, checked before an issue edit is saved, shown in the response, and filterable. 2026-10-24T13:56:01.233Z [ "$(api POST "$R/milestones" '{"title":"Shipped","state":"closed"}' | jq -r .state)" = closed ] || fail "POST milestones ignored state" 2026-10-24T13:56:01.233Z ms=$(api POST "$R/milestones" '{"title":"Live v1"}' | jq -r .number) 2026-10-24T13:56:01.233Z n=$(api POST "$R/issues" '{"title":"Planned"}' | jq -r .number) 2026-10-24T13:56:01.233Z [ "$(code PATCH "$R/issues/$n" '{"title":"Renamed","milestone":999999}')" = 422 ] || fail "an unknown milestone wasn't refused with 422" 2026-10-24T13:56:01.233Z [ "$(api GET "$R/issues/$n" | jq -r .title)" = Planned ] || fail "a refused milestone edit saved the title" 2026-10-24T13:56:01.233Z [ "$(api PATCH "$R/issues/$n" "{\"milestone\":$ms}" | jq -r .milestone.number)" = "$ms" ] || fail "PATCH issue doesn't return the new milestone" 2026-10-24T13:56:01.233Z [ "$(api GET "$R/issues?milestone=$ms&state=all" | jq -r '[.[].number] | join(",")')" = "$n" ] || fail "issues aren't filtered by milestone" 2026-10-24T13:56:01.233Z loc=$(curl -sS -o /dev/null -w '%{redirect_url}' "$DIFFINERY/$OWNER/$REPO/milestone/$ms" -H "Authorization: Bearer $TOKEN") 2026-10-24T13:56:01.233Z has "$loc" "/issues?milestone=$ms" "the milestone link doesn't open its issue list" 2026-10-24T13:56:01.233Z # Repository variable deletes ignore letter case. 2026-10-24T13:56:01.233Z [ "$(code PUT "$R/actions/variables/LIVE_CASE" '{"value":"x"}')" = 204 ] || fail "couldn't set a repository variable" 2026-10-24T13:56:01.233Z [ "$(code DELETE "$R/actions/variables/live_case")" = 204 ] || fail "couldn't delete a repository variable" 2026-10-24T13:56:01.233Z [ "$(code GET "$R/actions/variables/LIVE_CASE")" = 404 ] || fail "deleting a variable in lower case left it in place" 2026-10-24T13:56:01.233Z org=$(page /api/v3/user/orgs | jq -r '.[0].login // empty') 2026-10-24T13:56:01.233Z if [ -n "$org" ]; then 2026-10-24T13:56:01.233Z # Deleting an organization variable or secret that doesn't exist is a 404 (403 for someone who isn't an admin). 2026-10-24T13:56:01.233Z for path in variables secrets; do 2026-10-24T13:56:01.233Z c=$(code DELETE "/orgs/$org/actions/$path/LIVE_NEVER_SET_$GITHUB_RUN_ID") 2026-10-24T13:56:01.233Z case "$c" in 404|403) ;; *) fail "DELETE of a missing organization $path entry got $c" ;; esac 2026-10-24T13:56:01.233Z done 2026-10-24T13:56:01.233Z fi 2026-10-24T13:56:01.233Z echo "Diffy placeholders, Actions settings page, milestone and variable checks passed" 2026-10-24T13:56:01.233Z ##[endgroup] 2026-10-24T13:56:05.557Z Diffy placeholders, Actions settings page, milestone and variable checks passed 2026-10-24T13:56:05.710Z ##[group]Run set -euo pipefail 2026-10-24T13:56:05.710Z api() { curl -fsS "$DIFFINERY/api/v3$1" -H "Authorization: Bearer $TOKEN"; } 2026-10-24T13:56:05.710Z for i in $(seq 1 90); do 2026-10-24T13:56:05.710Z run=$(api "/repos/$OWNER/$REPO/actions/runs?event=push" | jq -c '.workflow_runs[0] // empty') 2026-10-24T13:56:05.710Z [ -n "$run" ] && [ "$(jq -r .status <<<"$run")" = completed ] && break 2026-10-24T13:56:05.710Z sleep 10 2026-10-24T13:56:05.710Z done 2026-10-24T13:56:05.710Z echo "$run" | jq '{id, status, conclusion}' 2026-10-24T13:56:05.710Z id=$(jq -r .id <<<"$run") 2026-10-24T13:56:05.710Z jobs=$(api "/repos/$OWNER/$REPO/actions/runs/$id/jobs") 2026-10-24T13:56:05.710Z # placementTries: times a job went back in line (no machine, or a runner on a replaced image turned away). 2026-10-24T13:56:05.710Z # restarts: times it started over because the platform replaced its runner before its steps ran. 2026-10-24T13:56:05.710Z jq -r '.jobs[] | " \(.name): \(.conclusion)\(if .failure then " - " + (.failure.message // "") else "" end)\(try " (\((.completed_at | fromdateiso8601) - (.started_at | fromdateiso8601))s)" catch "")\(if (.placementTries // 0) > 0 then ", started again \(.placementTries) time(s)" else "" end)\(if (.restarts // 0) > 0 then ", restarted \(.restarts) time(s) after its runner was replaced" else "" end)"' <<<"$jobs" 2026-10-24T13:56:05.710Z if [ "$(jq -r .conclusion <<<"$run")" != success ]; then 2026-10-24T13:56:05.710Z for job in $(jq -r '.jobs[] | select(.conclusion == "failure" or .conclusion == "timed_out") | .id' <<<"$jobs"); do 2026-10-24T13:56:05.710Z echo "::group::Last log lines of job $job" 2026-10-24T13:56:05.710Z api "/repos/$OWNER/$REPO/actions/jobs/$job/logs" | tail -n 80 || true 2026-10-24T13:56:05.710Z echo "::endgroup::" 2026-10-24T13:56:05.710Z done 2026-10-24T13:56:05.710Z echo "::error::the push run did not succeed" 2026-10-24T13:56:05.710Z exit 1 2026-10-24T13:56:05.710Z fi 2026-10-24T13:56:05.710Z if [ -n "${DEPLOYED_RUNNER_IMAGE:-}" ]; then 2026-10-24T13:56:05.710Z # Every job ran the deployed runner, so these checks test what was just deployed. 2026-10-24T13:56:05.710Z stale=$(jq -r --arg want "$DEPLOYED_RUNNER_IMAGE" '.jobs[] | select(.runner.image != $want) | "\(.name) on \(.runner.image // "no image reported")"' <<<"$jobs") 2026-10-24T13:56:05.710Z [ -z "$stale" ] || { echo "::error::jobs ran on a runner image other than the deployed $DEPLOYED_RUNNER_IMAGE: $(paste -sd ';' <<<"$stale")"; exit 1; } 2026-10-24T13:56:05.710Z echo "every job ran on $DEPLOYED_RUNNER_IMAGE" 2026-10-24T13:56:05.710Z fi 2026-10-24T13:56:05.710Z for job in $(jq -r '.jobs[] | select(.name | startswith("hosted")) | .id' <<<"$jobs"); do 2026-10-24T13:56:05.710Z log=$(api "/repos/$OWNER/$REPO/actions/jobs/$job/logs") 2026-10-24T13:56:05.710Z grep -F "live ok" <<<"$log" | grep -F "# $REPO" || { echo "::error::job $job did not print its line (checkout or run step failed)"; exit 1; } 2026-10-24T13:56:05.710Z grep -F "sudo ok 0" <<<"$log" || { echo "::error::job $job could not run sudo without a password"; exit 1; } 2026-10-24T13:56:05.710Z done 2026-10-24T13:56:05.710Z job=$(jq -r '.jobs[] | select(.name == "docker") | .id' <<<"$jobs") 2026-10-24T13:56:05.710Z log=$(api "/repos/$OWNER/$REPO/actions/jobs/$job/logs") 2026-10-24T13:56:05.710Z grep -F "docker ok built" <<<"$log" || { echo "::error::docker build or run failed on a hosted runner"; exit 1; } 2026-10-24T13:56:05.710Z grep -F "service ok +PONG" <<<"$log" || { echo "::error::the redis service container was not reachable"; exit 1; } 2026-10-24T13:56:05.710Z job=$(jq -r '.jobs[] | select(.name == "pull") | .id' <<<"$jobs") 2026-10-24T13:56:05.710Z log=$(api "/repos/$OWNER/$REPO/actions/jobs/$job/logs") 2026-10-24T13:56:05.710Z grep -F "registry ok $BIG bytes" <<<"$log" || { echo "::error::the image pushed with a $BIG-byte layer did not come back intact from the registry"; exit 1; } 2026-10-24T13:56:05.710Z grep -F "buildx ok $BUILDX bytes" <<<"$log" || { echo "::error::the image pushed by docker/build-push-action did not come back from the registry"; exit 1; } 2026-10-24T13:56:05.710Z api "/users/$OWNER/packages/container/${REPO,,}/versions" | jq -c '.[] | {tags: .metadata.container.tags, size, platforms}' 2026-10-24T13:56:05.710Z ##[endgroup] 2026-10-24T13:56:05.940Z { 2026-10-24T13:56:05.940Z "id": "c15c4f058a5c4aefae4b11c6472e38f0", 2026-10-24T13:56:05.940Z "status": "completed", 2026-10-24T13:56:05.940Z "conclusion": "failure" 2026-10-24T13:56:05.940Z } 2026-10-24T13:56:06.174Z Set up workflow: failure - Diffinery couldn't start this run (internal error). Re-run the workflow. (0s) 2026-10-24T13:56:06.184Z ##[group]Last log lines of job d2edb3f5d17b4159aec2472c31665053 2026-10-24T13:56:06.696Z ##[endgroup] 2026-10-24T13:56:06.696Z ##[error]the push run did not succeed 2026-10-24T13:56:06.697Z ##[error]Process completed with exit code 1. 2026-10-24T13:56:07.444Z ##[group]Run set -euo pipefail 2026-10-24T13:56:07.444Z # The cron trigger fires every 5 minutes, so allow two windows. 2026-10-24T13:56:07.444Z for i in $(seq 1 75); do 2026-10-24T13:56:07.444Z run=$(curl -fsS "$DIFFINERY/api/v3/repos/$OWNER/$REPO/actions/runs?event=schedule" -H "Authorization: Bearer $TOKEN" | jq -c '.workflow_runs[0] // empty') 2026-10-24T13:56:07.444Z [ -n "$run" ] && [ "$(jq -r .status <<<"$run")" = completed ] && break 2026-10-24T13:56:07.444Z sleep 10 2026-10-24T13:56:07.444Z done 2026-10-24T13:56:07.444Z if [ -z "$run" ]; then 2026-10-24T13:56:07.444Z # Whether the scheduler stopped ticking (last_tick_at is old) or ticked without starting the run 2026-10-24T13:56:07.444Z # (site administrators only: another token prints the 403). 2026-10-24T13:56:07.444Z echo "scheduler: $(curl -sS "$DIFFINERY/api/v3/diffinery/admin/scheduler" -H "Authorization: Bearer $TOKEN") (now $(date -u +%FT%TZ))" 2026-10-24T13:56:07.444Z echo "::error::no scheduled run started" 2026-10-24T13:56:07.444Z exit 1 2026-10-24T13:56:07.444Z fi 2026-10-24T13:56:07.444Z echo "$run" | jq '{id, event, status, conclusion}' 2026-10-24T13:56:07.444Z [ "$(jq -r .conclusion <<<"$run")" = success ] || { echo "::error::the scheduled run did not succeed"; exit 1; } 2026-10-24T13:56:07.444Z ##[endgroup] 2026-10-24T14:00:14.332Z { 2026-10-24T14:00:14.332Z "id": "a26783b4195f45c8adeb1c751f3a70f1", 2026-10-24T14:00:14.332Z "event": "schedule", 2026-10-24T14:00:14.332Z "status": "completed", 2026-10-24T14:00:14.332Z "conclusion": "success" 2026-10-24T14:00:14.332Z } 2026-10-24T14:00:14.526Z ##[group]Run curl -sS -o /dev/null -w 'package %{http_code}\n' -X DELETE "$DIFFINERY/api/v3/users/$OWNER/packages/container/${REPO,,}" -H "Authorization: Bearer $TOKEN" 2026-10-24T14:00:14.526Z curl -sS -o /dev/null -w '%{http_code}\n' -X DELETE "$DIFFINERY/api/v3/repos/$OWNER/$REPO" -H "Authorization: Bearer $TOKEN" 2026-10-24T14:00:14.526Z [ -z "${PR_REPO:-}" ] || curl -sS -o /dev/null -w '%{http_code}\n' -X DELETE "$DIFFINERY/api/v3/repos/$OWNER/$PR_REPO" -H "Authorization: Bearer $TOKEN" 2026-10-24T14:00:14.526Z [ -z "${IMPORT_REPO:-}" ] || curl -sS -o /dev/null -w '%{http_code}\n' -X DELETE "$DIFFINERY/api/v3/repos/$OWNER/$IMPORT_REPO" -H "Authorization: Bearer $TOKEN" 2026-10-24T14:00:14.526Z ##[endgroup] 2026-10-24T14:00:14.761Z package 404 2026-10-24T14:00:16.464Z 204 2026-10-24T14:00:16.635Z Host: 0% of the vCPUs' time went to other work on the host (steal) 2026-10-24T14:00:16.635Z Job completed with conclusion: failure 2026-10-24T14:00:16.636Z Resources: 0.0 of 4 vCPUs busy on average (0.2 at the 95th percentile), peak memory 0.4 GiB of 11.9 GiB, peak disk 1.1 GB of 19.2 GB