The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
ci(ci-lite): skip CI Lite only when ci-fast.yml itself routed the commit
Steven Enamakel09f079462914
diff --git a/.github/workflows/ci-lite.yml b/.github/workflows/ci-lite.ymlindex 83050d8aef..46be12daca 100644--- a/.github/workflows/ci-lite.yml+++ b/.github/workflows/ci-lite.yml@@ -81,8 +81,11 @@ jobs:exit 0fiout="$(mktemp)"- # Any routing error runs CI Lite: skipping is the only unsafe answer.- if GITHUB_OUTPUT="${out}" bash scripts/ci/ci-fast-route.sh && grep -q '^outsider=false$' "${out}"; then+ # Skip only on ci-fast.yml's own decision. Its fallback (no CI Fast+ # run within 3 minutes) or any error runs CI Lite: skipping is the+ # only unsafe answer.+ if GITHUB_OUTPUT="${out}" bash scripts/ci/ci-fast-route.sh &&+ grep -q '^outsider=false$' "${out}" && grep -q '^source=ci-fast$' "${out}"; thenecho "[ci][route] the EX63 runs this commit: CI Lite skips"echo "run=false" >> "$GITHUB_OUTPUT"else@@ -1044,7 +1047,9 @@ jobs:- orch-ip-gate- feature-forwarding-gate- module-pin-gate- if: always()+ # Skipped with the rest when the EX63 runs this commit, so a skipped CI+ # Lite never reads as a pass (ci-gate.yml counts only a success).+ if: always() && needs.route.outputs.run == 'true'runs-on: ubuntu-latesttimeout-minutes: 15steps:diff --git a/scripts/ci/ci-fast-route.sh b/scripts/ci/ci-fast-route.shindex 7b364f5589..3ee0964286 100755--- a/scripts/ci/ci-fast-route.sh+++ b/scripts/ci/ci-fast-route.sh@@ -1,7 +1,7 @@#!/usr/bin/env bash# Is this PR commit being run on the EX63 by CI Fast (ci-fast.yml)?#-# Writes outsider=true|false to $GITHUB_OUTPUT: false when ci-fast.yml routed+# Writes outsider=true|false and source=ci-fast|fallback to $GITHUB_OUTPUT: false when ci-fast.yml routed# the commit to the EX63 (an org member's PR), true otherwise. Used by# ci-fast-hosted.yml (run the hosted lanes for outsiders) and ci-lite.yml# (skip GitHub-hosted CI when the EX63 runs it). ci-gate.yml then requires@@ -56,3 +56,6 @@ elsefiecho "[ci][route] author=${AUTHOR} actor=${ACTOR} outsider=${outsider} (${reason})"echo "outsider=${outsider}" >> "$GITHUB_OUTPUT"+# Whether ci-fast.yml's own run decided (ci-fast) or the association fallback+# did (fallback). ci-lite.yml skips only on a ci-fast decision.+case "${reason}" in fallback*) echo "source=fallback" ;; *) echo "source=ci-fast" ;; esac >> "$GITHUB_OUTPUT"