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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These jobs are not always run.
always_run: false.release/ci-operator/jobs/openshift/rbac-permissions-operator/openshift-rbac-permissions-operator-master-presubmits.yaml
Line 200 in a9c97b9
If we are mandating these tests to pass, for those PRs which skip these tests, they won't be able to merge as those tests won't run. (that's my understanding, please correct me).
I understand the intention is to let the auto merge works, while preventing it from merging the failed test PRs.
If we need to urgent fix this, possible ideas:
(1) We can set those jobs to
always_run: true. It could be a little bit waste of compute resources but it doesn't hurt to test all PRs.(2) Let the auto merge to add the lgtm/approve label, so it can follow the tide process which needs all required tests to pass before it merges.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks — you're right that
lint,test,coverage,validate, ande2e-binary-build-successarealways_run: falsein ci-operator today.The motivation is MintMaker #367: it merged via GitHub auto-merge while those prow jobs were red. GitHub only enforces checks listed in
required_status_checks.contexts; Tiderequired-if-present-contextsdoes not block platform auto-merge.#79945 only required Konflux +
ci/prow/images, so this follow-up adds the full DPP prow set explicitly so a failedvalidate/lint/etc. blocks auto-merge when those jobs run.On the skip edge case: if a PR never triggers a conditional mandatory job, GitHub may show the context as pending/expected. Mitigations if that becomes painful:
always_run: trueforrbac-permissions-operatorin a follow-up release PR (more compute, unambiguous gating).lgtm/approvedas the merge path for PRs where auto-merge is not appropriate.Happy to do (1) in this PR or a fast follow-up if you prefer that over the current explicit-context approach.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MitaliBhalla Thanks for checking!
Let's merge this one first, so you can test and validate. Could you create a follow-up PR or card to flip
always_run? I want to keep that on track.