Skip to content
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

Add cherry-pick PRs to their milestone for better visibility #19254

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

huonw
Copy link
Contributor

@huonw huonw commented Jun 5, 2023

This adjusts the cherry picking to create the PRs with a milestone attached, so that they're surfaced in the milestone views like https://github.com/pantsbuild/pants/milestone/58, alongside any pending issues and not-yet-cherrypicked PRs.

In particular, if a PR is going to be cherry-picked, it'll have the milestone attached and be visible in that view (and any issues it's fixing may also have it tagged)... but once PR merges to main, it and any associated issues will be closed. This means they disappear from the milestone view, but there's still work remaining to actually fix them for that milestone: landing the cherry-pick. Pending cherry-pick PRs can be discovered by doing a search like base:2.17.x, but it's nice to have only one place to check (the milestone view) rather than needing to remember to also construct that search manually.

This is a response to #19110 sitting around for a while and delaying 2.16, due to flaky CI failures: it was hard to notice.

See also https://pantsbuild.slack.com/archives/C0D7TNJHL/p1685929902870459 / https://chat.pantsbuild.org/t/12317552/looks-like-https-github-com-pantsbuild-pants-pull-19110-neve#4a387fb1-fc0c-4395-9160-74adf8ab7944

(This will cause some conflicts with #19230, but this PR is a quick win that's easily ported over.)

@huonw huonw added the category:internal CI, fixes for not-yet-released features, etc. label Jun 5, 2023
Copy link
Member

@thejcannon thejcannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was gonna moan about waiting until my PR is in, but lol it's one line 😂

@huonw huonw merged commit 6ba6d88 into pantsbuild:main Jun 6, 2023
@huonw huonw deleted the feature/cherry-pick-milestone branch June 6, 2023 01:18
@huonw
Copy link
Contributor Author

huonw commented Jun 6, 2023

Seems to work, e.g. #19255

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants