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: route draft pull requests to github-hosted runners
Steven Enamakelcd7e143815f9
diff --git a/.github/workflows/ci-fast-hosted.yml b/.github/workflows/ci-fast-hosted.ymlindex a8de0862cc..36663510e8 100644--- a/.github/workflows/ci-fast-hosted.yml+++ b/.github/workflows/ci-fast-hosted.yml@@ -47,6 +47,8 @@ jobs:AUTHOR: ${{ github.event.pull_request.user.login }}ACTOR: ${{ github.actor }}ASSOCIATION: ${{ github.event.pull_request.author_association }}+ DRAFT: ${{ github.event.pull_request.draft }}+ SINCE: ${{ github.event.pull_request.updated_at }}run: bash scripts/ci/ci-fast-route.shlanes:diff --git a/.github/workflows/ci-fast.yml b/.github/workflows/ci-fast.ymlindex ed8e8416f7..03699a95d5 100644--- a/.github/workflows/ci-fast.yml+++ b/.github/workflows/ci-fast.yml@@ -11,6 +11,10 @@# The gate job never checks out or runs PR code. Only the lanes job does, and# only for org members; it has a read-only token and no secrets. Everyone else# runs the same lanes on GitHub-hosted runners via ci-fast-hosted.yml.+#+# Draft PRs never take the EX63, even a member's: they run on GitHub-hosted+# runners like an outsider's. Marking the PR ready for review re-runs this+# workflow, which then routes it to the EX63.name: CI Faston:@@ -48,6 +52,7 @@ jobs:AUTHOR: ${{ github.event.pull_request.user.login }}ACTOR: ${{ github.actor }}ASSOCIATION: ${{ github.event.pull_request.author_association }}+ DRAFT: ${{ github.event.pull_request.draft }}# Optional fine-grained token with only Organization → Members: Read.# Without it, private members may be reported as non-members and# simply run on GitHub-hosted runners instead.@@ -76,10 +81,13 @@ jobs:if [ -n "${MEMBERSHIP_TOKEN}" ] && is_member "${ACTOR}"; thenmember=truefi+ elif [ "${DRAFT:-false}" = "true" ]; then+ # Drafts stay off the EX63 and run on GitHub-hosted runners.+ echo "[ci][route] draft PR: GitHub-hosted runners"elif is_member "${AUTHOR}" && is_member "${ACTOR}"; thenmember=truefi- echo "[ci][route] author=${AUTHOR} actor=${ACTOR} association=${ASSOCIATION} token=$([ -n "${MEMBERSHIP_TOKEN}" ] && echo yes || echo no) member=${member}"+ echo "[ci][route] author=${AUTHOR} actor=${ACTOR} association=${ASSOCIATION} draft=${DRAFT:-false} token=$([ -n "${MEMBERSHIP_TOKEN}" ] && echo yes || echo no) member=${member}"echo "member=${member}" >> "$GITHUB_OUTPUT"lanes: