Repository navigation
ci: route the #205 acceptance gates through the forge pool selector (#2214) - #2220
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-minimalruns (46440332120push,46437135354pull_request) from the real job list:
glibc 2.17 floor (x86_64 + aarch64)linux / Checkdylint / Dylint FullBuild fbuild (shared by board jobs)Python facade testsbuildAll of those already consume the selector (#2219 and check-ubuntu.yml). The
Acceptancematrix is the largest lane still unrouted, and every one of its 12gates is a full test-binary compile plus a vendor framework download
(Teensyduino / arm-gcc / STM32duino) with
timeout-minutes: 45.What changes
pooljob inacceptance-205.yml, byte-for-byte the proven pattern fromfmt.yml/check-ubuntu.yml:forge-ci/ci.yml/actions/pool-select@a36bc81a,continue-on-error: true,fallback: ubuntu-latest, outputsruns-ondefaulting to hosted.scheduleon top ofpush/merge_group/workflow_dispatch, because this workflow is otherwise only scheduled ordispatched.
pull_requestis deliberately absent: ci-full calls this file,and a called workflow's
github.event_nameis the caller's, so a PR callskips the selector and stays hosted (fork PRs can never reach the pool).
acceptancenow takesneeds: poolwithif: ${{ !cancelled() }}andneeds.pool.result == 'success' && fromJSON(...) || 'ubuntu-latest'. A bareneeds: poolwould SKIP every acceptance gate whenever the selector isskipped — a gate that never ran reads green.
ci/test_pool_selector.py:acceptance-205.ymlmoves fromDEFERREDtoROUTED. Two deferral reasons are also sharpened with the measurement thatjustifies 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 differencewould read as a size regression, so it is not a capacity question).
Real output
ci.test_pool_selector6/6 OK.HEAD'sacceptance-205.ymlwhile the job stays inROUTEDfails as intended —2 failures, 2 errors(
'!cancelled()' not found in ''); restoring the edit is 6/6 OK again(restored from a saved copy,
git diffre-checked).DRIFT_UNITTEST_MODULES,TMPDIR=/tmp):673 passed, 0 failed.
ci/render_workflows.py --check0,ci/check_workflow_concurrency.pyOK,ci/check_python_complexity.py"All checks passed!",ci/check_python_types.py0 errors / 0 warnings, ruff format+check clean.Stays open
#2214 stays open:
dylint'sDylint Fulllane (ci.test_fractional_workflowspins it free of any
if:— never conditionally skippable, so it needs aguard-visible selector pattern first), the rendered
ci-{minimal,full,test}jobs (
render_workflows.pychange), qemu (needs a KVM pool probe), nightly,benchmark-compare and release-auto.