Repository navigation
ci(sync): skip upstream-sync heads on shared X99 (CHE-2887) [squash] - #250
Merged
Merged
Conversation
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.
Status
Draft candidate
02cde4556336c99d62353ce77369833b557cc0c8for CHE-2887. This revision resolves the conflict withmainata14514a4508c366344c367aa39f672454de9c38f. Independent review and CI on the new head are pending.The independent PASS and decision
6e39336c-e509-41c8-9422-b91dc63e1a75cover only old head589a0a46493151592d1584c98291e6a38518e60c. Neither the review nor the Python 3.12 push-check waiver carries to this candidate.Conditions
No runner registration, branch protection or secret changes. No force-push, no paid runners. Agents do not merge; Cheese merges.
Change
Sync heads could schedule jobs on shared X99. Add the existing host-agent predicate to every unguarded active X99 job in
ci.ymlandwhats-new.yml.The conflict resolution preserves the Python matrix and aggregate result check merged by PR #244. It also preserves main-only push triggers, both test suites, their timeouts, and runner selectors. The aggregate check keeps
always()so it still reports unsuccessful matrix results.Predicate G uses the PR head ref or the push/manual ref. It excludes sync heads and fork PRs:
Predicate A preserves aggregate result handling and applies G:
Isolation table from all four workflow files at the candidate head:
ci.ymlpython-tests(deterministic/reverse matrix)self-hosted, Linux, X64, cheese-x99ci.ymlpython-quality(aggregate)self-hosted, Linux, X64, cheese-x99ci.ymlfrontendself-hosted, Linux, X64, cheese-x99, cheese-x99-browserci.ymlpackageself-hosted, Linux, X64, cheese-x99whats-new.ymlentryself-hosted, Linux, X64, cheese-x99host-agent.ymlcoreself-hosted, cheese-x99host-agent.ymlgatewayself-hosted, cheese-x99preview-controller.ymlpreview-controllerartemis-preview-controller; labelsself-hosted, cheese-x99, cheese-x99-artemis-preview${{ false }}, existingThe audit covers eight job definitions, including one two-leg matrix. There are no reusable-workflow calls. CI and What's New retain their existing
ubuntu-latestfallback outsidecheese-work. Workflow trigger filters remain separate from job predicates; CI push events run only onmain.Evidence
Observed test-first conflict correction on X99, 02 November 2026 ICT:
589a0a46493151592d1584c98291e6a38518e60candmaina14514a4508c366344c367aa39f672454de9c38f.python3 .github/tests/test_runner_routing.py. Exit 1; the two unguarded Python jobs fail:python-testsand A topython-quality. Run the same command. Exit 0:Workflow policy verification:
PYTHONDONTWRITEBYTECODE=1 python3 -m pytest tests/unit/test_workflow_runner_policy.py --noconftest -o addopts='' -p no:cacheprovider -qThe targeted policy suite checks fork exclusion, runner labels, main-only pushes, matrix budgets, and aggregate failure handling. It verifies that the aggregate rejects failure, cancelled, skipped, and empty results. Repository conftest loading was disabled for this isolated configuration test.
Ruff
0.15.2lint and format checks pass for the changed routing test.git diff --checkpasses. Self-review covered the complete diff against the new base, scope, error paths, and secrets. Only two workflows and the routing regression differ from the current base. No live sync execution, full application test run, or CI-isolation receipt is claimed.Original test-first evidence remains recorded on the issue. On 01 November 2026 ICT, four missing-job subtests failed before the original guards were added. Then all five routing tests passed. That historical evidence does not replace the new-head checks or review.
Part of CHE-2882
CHE-2882 owns the wider CI-isolation receipt and post-merge verification.
Closes CHE-2887