From 70da64bd2386c6f2614e7df487306a2ea8723c29 Mon Sep 17 00:00:00 2001 From: nullStack65 <112618179+nullStack65@users.noreply.github.com> Date: Mon, 23 Nov 2026 05:22:06 +0000 Subject: [PATCH 1/2] ci: let the CLO-694 emergency burst move ARC CI to hosted runners Kameron approved an emergency-only burst (CLO-694, 2026-11-22 23:56 ET). The three voice-and-inbox workers and the required "Voice + founder inbox (Linux ARC)" gate use ${{ vars.CI_BURST_HOSTED == 'on' && 'ubuntu-latest' || 't3code-ci-arc' }} (the gate keeps its draft-PR hosted route). Only the exact admin-set value `on` moves them, and unset means ARC. Check names do not change. This repository is public, so hosted minutes are free. The toggle, auto-revert timer and $25 cap live in closura-agent-config scripts/ci_burst.py. Model: claude-opus-5-5 Task: infra Agent: Claude Opus 5.5 Lane: magpie Harness: t3/claude-code Model-family: Claude Model-generation: Opus 5.5 Skills-SHA: unknown (source unavailable); consulted ~/.claude/skills/ci-runner-policy/SKILL.md Co-Authored-By: Claude Opus 5.5 --- .github/workflows/closura-arc-ci.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/closura-arc-ci.yml b/.github/workflows/closura-arc-ci.yml index fb9b20d1b5055..c76cb4d4c6250 100644 --- a/.github/workflows/closura-arc-ci.yml +++ b/.github/workflows/closura-arc-ci.yml @@ -1,7 +1,12 @@ name: T3 fork ARC CI -# Self-hosted, repository-scoped ARC only. No paid Blacksmith, hosted fallback, -# macOS/Windows runners, new controller or deployment side effects. +# Self-hosted, repository-scoped ARC only. No paid Blacksmith, macOS/Windows +# runners, new controller or deployment side effects. The one hosted exception +# is the CLO-694 emergency burst: when an admin sets the repository variable +# CI_BURST_HOSTED to exactly `on` during an ARC backlog, these jobs run on +# ubuntu-latest (free here, since this repository is public). Unset, it is ARC. +# The toggle and runbook live in closura-agent-config: scripts/ci_burst.py and +# docs/ci/emergency-burst.md. on: push: # Every merged head of the native release branch gets a check run on its @@ -58,7 +63,7 @@ jobs: ) }} name: Voice + inbox core (Linux ARC) - runs-on: t3code-ci-arc + runs-on: ${{ vars.CI_BURST_HOSTED == 'on' && 'ubuntu-latest' || 't3code-ci-arc' }} timeout-minutes: 45 env: CI: "true" @@ -212,7 +217,7 @@ jobs: ) }} name: Voice + inbox web (Linux ARC) - runs-on: t3code-ci-arc + runs-on: ${{ vars.CI_BURST_HOSTED == 'on' && 'ubuntu-latest' || 't3code-ci-arc' }} timeout-minutes: 45 env: CI: "true" @@ -292,7 +297,7 @@ jobs: ) }} name: Voice + inbox mobile (Linux ARC) - runs-on: t3code-ci-arc + runs-on: ${{ vars.CI_BURST_HOSTED == 'on' && 'ubuntu-latest' || 't3code-ci-arc' }} timeout-minutes: 45 env: CI: "true" @@ -467,7 +472,7 @@ jobs: name: Voice + founder inbox (Linux ARC) needs: [voice-and-inbox-core, voice-and-inbox-web, voice-and-inbox-mobile] if: ${{ !cancelled() }} - runs-on: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft && 'ubuntu-latest' || 't3code-ci-arc' }} + runs-on: ${{ ((github.event_name == 'pull_request' && github.event.pull_request.draft) || vars.CI_BURST_HOSTED == 'on') && 'ubuntu-latest' || 't3code-ci-arc' }} timeout-minutes: 5 steps: - name: Hold drafts until ready for review From 2e5bf3b94b0bb0c1a318b9d85d51d3abb431ed00 Mon Sep 17 00:00:00 2001 From: nullStack65 <112618179+nullStack65@users.noreply.github.com> Date: Mon, 23 Nov 2026 05:42:51 +0000 Subject: [PATCH 2/2] ci: fail the required gate on worker results before checking out PR content Review fix for the CLO-694 burst: the gate now checks the three worker results before its checkout, local action and coverage script, so a run whose workers failed or were skipped (for example a rejected fork PR) fails under the same check name without executing candidate content. The header wording no longer calls the variable admin-set, and notes that Actions compares `on` case-insensitively. Model: claude-opus-5-5 Task: infra Agent: Claude Opus 5.5 Lane: magpie Harness: t3/claude-code Model-family: Claude Model-generation: Opus 5.5 Skills-SHA: unknown (source unavailable); consulted ~/.claude/skills/ci-runner-policy/SKILL.md Co-Authored-By: Claude Opus 5.5 --- .github/workflows/closura-arc-ci.yml | 32 +++++++++++++++------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/closura-arc-ci.yml b/.github/workflows/closura-arc-ci.yml index c76cb4d4c6250..34d24aa778010 100644 --- a/.github/workflows/closura-arc-ci.yml +++ b/.github/workflows/closura-arc-ci.yml @@ -2,8 +2,8 @@ name: T3 fork ARC CI # Self-hosted, repository-scoped ARC only. No paid Blacksmith, macOS/Windows # runners, new controller or deployment side effects. The one hosted exception -# is the CLO-694 emergency burst: when an admin sets the repository variable -# CI_BURST_HOSTED to exactly `on` during an ARC backlog, these jobs run on +# is the CLO-694 emergency burst: when a burst operator sets the repository variable +# CI_BURST_HOSTED to `on` (any case) during an ARC backlog, these jobs run on # ubuntu-latest (free here, since this repository is public). Unset, it is ARC. # The toggle and runbook live in closura-agent-config: scripts/ci_burst.py and # docs/ci/emergency-burst.md. @@ -482,6 +482,21 @@ jobs: echo "::error::Draft pull request: the ARC workers run when it is marked ready for review." exit 1 + # Before any checkout: a run whose workers failed or were skipped (for + # example a rejected fork PR) fails here without executing PR content. + - name: Report the three workers + shell: bash + env: + CORE: ${{ needs.voice-and-inbox-core.result }} + WEB: ${{ needs.voice-and-inbox-web.result }} + MOBILE: ${{ needs.voice-and-inbox-mobile.result }} + run: | + set -euo pipefail + printf 'core=%s web=%s mobile=%s\n' "$CORE" "$WEB" "$MOBILE" + for result in "$CORE" "$WEB" "$MOBILE"; do + test "$result" = success + done + - name: Checkout trusted source (no persistent credentials) uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: @@ -508,16 +523,3 @@ jobs: - name: Guard the parallel coverage shell: bash run: node .github/scripts/arc-ci-coverage.cjs - - - name: Report the three workers - shell: bash - env: - CORE: ${{ needs.voice-and-inbox-core.result }} - WEB: ${{ needs.voice-and-inbox-web.result }} - MOBILE: ${{ needs.voice-and-inbox-mobile.result }} - run: | - set -euo pipefail - printf 'core=%s web=%s mobile=%s\n' "$CORE" "$WEB" "$MOBILE" - for result in "$CORE" "$WEB" "$MOBILE"; do - test "$result" = success - done