Skip to content

ci: route the #205 acceptance gates through the forge pool selector (#2214) - #2220

Merged
zackees merged 1 commit into
mainfrom
agent/2214-acceptance-pool
Nov 30, 2026
Merged

zackees merged 1 commit into
mainfrom
agent/2214-acceptance-pool

Conversation

@zackees

@zackees zackees commented Nov 30, 2026

Copy link
Copy Markdown
Member

Stage 2 of #2214 (Dells-first routing for Linux x64 jobs), one lane group: the
Acceptance (#205) matrix.

Why this matrix

Measured on the two newest ci-minimal runs (46440332120 push, 46437135354
pull_request) from the real job list:

hosted Linux x64 lane wall time
glibc 2.17 floor (x86_64 + aarch64) 13m49s
linux / Check 6m57s–7m13s
dylint / Dylint Full 4m07s
Build fbuild (shared by board jobs) 2m24s
Python facade tests 1m50s
per-board build ~1m30s each

All of those already consume the selector (#2219 and check-ubuntu.yml). The
Acceptance matrix is the largest lane still unrouted, and every one of its 12
gates is a full test-binary compile plus a vendor framework download
(Teensyduino / arm-gcc / STM32duino) with timeout-minutes: 45.

What changes

  • New pool job in acceptance-205.yml, byte-for-byte the proven pattern from
    fmt.yml/check-ubuntu.yml: forge-ci/ci.yml/actions/pool-select@a36bc81a,
    continue-on-error: true, fallback: ubuntu-latest, outputs
    runs-on defaulting to hosted.
  • Trusted-event gate adds schedule on top of push/merge_group/
    workflow_dispatch, because this workflow is otherwise only scheduled or
    dispatched. pull_request is deliberately absent: ci-full calls this file,
    and a called workflow's github.event_name is the caller's, so a PR call
    skips the selector and stays hosted (fork PRs can never reach the pool).
  • acceptance now takes needs: pool with if: ${{ !cancelled() }} and
    needs.pool.result == 'success' && fromJSON(...) || 'ubuntu-latest'. A bare
    needs: pool would SKIP every acceptance gate whenever the selector is
    skipped — a gate that never ran reads green.
  • ci/test_pool_selector.py: acceptance-205.yml moves from DEFERRED to
    ROUTED. Two deferral reasons are also sharpened with the measurement that
    justifies keeping them hosted: audit-ignored-tests (static #[ignore]
    inventory, no build, under a minute, it edits a tracking issue) and
    esp32s3-size-parity (firmware size parity — a pool image difference
    would read as a size regression, so it is not a capacity question).

Real output

  • ci.test_pool_selector 6/6 OK.
  • RED proof: restoring HEAD's acceptance-205.yml while the job stays in
    ROUTED fails as intended — 2 failures, 2 errors
    ('!cancelled()' not found in ''); restoring the edit is 6/6 OK again
    (restored from a saved copy, git diff re-checked).
  • Full hosted drift suite (all 38 DRIFT_UNITTEST_MODULES, TMPDIR=/tmp):
    673 passed, 0 failed.
  • ci/render_workflows.py --check 0, ci/check_workflow_concurrency.py OK,
    ci/check_python_complexity.py "All checks passed!",
    ci/check_python_types.py 0 errors / 0 warnings, ruff format+check clean.

Stays open

#2214 stays open: dylint's Dylint Full lane (ci.test_fractional_workflows
pins it free of any if: — never conditionally skippable, so it needs a
guard-visible selector pattern first), the rendered ci-{minimal,full,test}
jobs (render_workflows.py change), qemu (needs a KVM pool probe), nightly,
benchmark-compare and release-auto.

…2214)

Every Acceptance gate compiles a full test binary after downloading a vendor framework, so this matrix is the largest remaining hosted Linux x64 consumer outside the critical path. It is scheduled or dispatched only: schedule/workflow_dispatch are trusted events, while a caller-supplied pull_request (the ci-full tier) skips the selector, so no PR ever lands on self-hosted hardware. The selector keeps the hosted fallback and the routed job keeps !cancelled(), so a skipped selector runs the gate on ubuntu-latest instead of skipping it.
@zackees
zackees added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit 5d939bf Nov 30, 2026
38 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant