OLM: calcluate commit ranges to ensure proper commitchecker bounding#77808
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (2)
🚧 Files skipped from review as they are similar to previous changes (2)
WalkthroughFour CI operator configuration YAMLs were changed to modify the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 9 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (9 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/pj-rehearse auto-ack |
|
@grokspawn: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
Signed-off-by: grokspawn <jordan@nimblewidget.com>
0b57e5b to
d5d23cb
Compare
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@grokspawn: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
rehearse won't work on this PR. It's attempting to compute for openshift/release |
|
@grokspawn: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: grokspawn, tmshort The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
We have had a problem with the default commit calculations of commitchecker, when a commit was merged to our downstream main branch after a sync PR was created from an ancestor commit. This PR duplicates the solution here to address the issue.
The problem could yield cases where the range calculation would be erroneously calculated due to the diverged ancestry.
When this presented with a false positive (no errors) case that allowed a non-compliant PR to merge, a subsequent merge PR would fail due to our branching strategy where our downstream branch is really our upstream branch with carry|drop|pr conventions re-applied as necessary. A non-compliant merged PR would fail future checks as we attempted to determine what to do with it, requiring manual intervention/correction.
Given stale branch:
After CI merge:
OLD computation for the merge commit range:
NEW computation (#67720):
This change should make openshift/build-machinery-go#114 unnecessary.
Summary by CodeRabbit