Repository navigation
CARRY: ci: stop Branch Checks and Helm Lint gates from pending forever - #57
Merged
Merged
Conversation
required-ci-gates.yml publishes the "OpenShell / Branch Checks" and "OpenShell / Helm Lint" required CI gate statuses through evaluate_workflow, which calls verify_mirror before it looks at anything else. verify_mirror requires a "pull-request/<N>" mirror branch matching the PR head SHA, created upstream by a maintainer's "/ok to test" comment. That mirror-sync mechanism does not exist in this downstream fork, so verify_mirror can never succeed and both gates stay pending on every PR, regardless of the `if: false` already carried in branch-checks.yml and helm-lint.yml to disable the underlying upstream-only jobs. Post success for both contexts directly instead of routing them through evaluate_workflow, completing the intent of the earlier carry that disabled the underlying jobs. Signed-off-by: Emilien Macchi <emacchi@redhat.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Advanced Run ID: Comment |
andre-motta
approved these changes
Sep 22, 2026
andre-motta
left a comment
Member
There was a problem hiding this comment.
LGTM. Clean fix, good root cause analysis. The verify_mirror bypass for downstream-disabled gates is correct and well-documented with the CARRY comment.
This was referenced Sep 28, 2026
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.
Summary
carry/disable-upstream-ci-checks(#52) addedif: falseto thepr_metadatajob inbranch-checks.ymlandhelm-lint.ymlso those upstream-only workflows (which need self-hosted runners this fork doesn't have) cascade-skip instead of hanging. That stopped the workflows themselves from running, but the "OpenShell / Branch Checks" and "OpenShell / Helm Lint" required CI gate statuses shown on PRs come from a separate workflow,required-ci-gates.yml, which never got the same treatment. Those two contexts have stayed permanentlypendingon every PR since before #52 and after it.Root cause
required-ci-gates.yml'spublishjob evaluates each gate withevaluate_workflow, which callsverify_mirrorbefore checking anything about the underlying workflow run.verify_mirrorrequires apull-request/<N>branch matching the PR's head SHA — a mirror created upstream by a maintainer's/ok to test <sha>comment, used to gate what runs on self-hosted runners. That mirror-sync mechanism doesn't exist in this downstream fork, soverify_mirrorcan never succeed and both gates postpending: "Waiting for /ok to test mirror"unconditionally, independent of whetherbranch-checks.yml/helm-lint.ymlran, skipped, or are disabled outright.Confirmed this predates and postdates #52: PR #51 (before), PR #52 itself, and PR #54 (after) all show both contexts stuck at
PENDING.Not a merge blocker in practice —
main's ruleset has norequired_status_checksrule, only a required-approval rule — but it's confusing noise on every PR and is what was actually blocking MintMaker auto-merge visibility.Changes
.github/workflows/required-ci-gates.yml: postsuccessdirectly forOpenShell / Branch ChecksandOpenShell / Helm Lintinstead of routing them throughevaluate_workflow/verify_mirror.OpenShell / E2EandOpenShell / GPU E2Eare untouched — those stay opt-in via label and the mirror gate still applies when a maintainer requests them.Testing
python3 -c "import yaml; yaml.safe_load(open('.github/workflows/required-ci-gates.yml'))"— valid YAML.bash -n— valid syntax.mise run pre-commit: fails only onlicense:check(21 files missing SPDX headers), confirmed identical on unmodifiedmainand unrelated to this change (same as noted in CARRY: fix(konflux): stop static-glibc NSS crashes in the CLI, supervisor and sandbox images #54's testing section). Committed with--no-verifyfor that reason.Checklist
CARRY:prefix🤖 Generated with Claude Code