-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix empty release note parsing #3764
Fix empty release note parsing #3764
Conversation
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.
/lgtm
/hold for extra eyes
Thanks!! |
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! Do you mind looking into the failing integration tests?
Okay, so it's failing the integration test because now we're exiting early here if any PRs match the exclusion regex:
There are a couple options:
Multiple PRs happen in cherry-pick cases like here: |
I think this looks solid, but I'd like to bring a topic up for this discussion. We originally allowed cherry-picks to have an empty release note, in which case the release note would be inherited from the original PR. However, we had some troubles in the past with that, e.g. #2689 (this was quite a journey as can be told from the PR description). With the risk that I lack context, I would propose that we stop doing this and explicitly forbid empty release notes, even for cherry-picks. It has two huge benefits from my point of view:
I'm going to tag leads on this PR (@kubernetes/sig-release-leads) so that they can provide 2 cents on this. Please correct me if I'm wrong or if I'm lacking context about this. About this PR, I'll go ahead and lgtm it, but I'll leave the hold for other folks to take a look. We can move this conversation to a new GitHub issue if needed. |
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.
I found a nit, but otherwise it looks good
fe7fa2e
to
d948c1a
Compare
@kubernetes/sig-release-leads @xmudrii Can you give this another pass when you get a chance? Thanks! |
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.
/lgtm
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.
/lgtm
/approve
/hold cancel
I think we have the lazy consensus here :)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, npolshakova, xmudrii The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Fixes the empty release note parsing when an empty or whitespace-only release note is left on the PR description.
Which issue(s) this PR fixes:
Fixes #3516
Special notes for your reviewer:
Release notes collection automation has resulted in incorrect text and markdown being collected: kubernetes/sig-release#2449 (comment)
You can see examples of this merged in sig-release for 1.30 due to past release notes collection:
Updated examples from 1.29 that are still in the repo after 1.30 was cleaned up:
Does this PR introduce a user-facing change?