Skip to content

Conversation

@ywwg
Copy link
Member

@ywwg ywwg commented Sep 3, 2025

No description provided.

@ywwg ywwg marked this pull request as ready for review September 3, 2025 18:50
@ywwg ywwg requested a review from ArthurSens September 4, 2025 13:09
Copy link
Member

@ArthurSens ArthurSens left a comment

Choose a reason for hiding this comment

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

Hey, thanks for the effort to make things better!

I believe we shouldn't be changing our release process from the GitHub UI; I believe the UI provides a better experience and is even less error-prone.

Regarding the Changelog, I don't know if bots like Renovate/Dependabot look for files called CHANGELOG.md. Could you share where you've read it?

Comment on lines -14 to +15
There is no automated process for cutting a release in `prometheus/common`. A manual release using GitHub's release feature via [this link](https://github.com/prometheus/prometheus/releases/new) is the best way to go. The tag name must be prefixed with a `v` e.g. `v0.53.0` and then you can use the "Generate release notes" button to generate the release note automagically ✨. No need to create a discussion or mark it a pre-release, please do mark it as the latest release if needed.
There is no automated process for cutting a release in `prometheus/common`.
The primary trigger for announcing a release is pushing a new version tag.
Copy link
Member

Choose a reason for hiding this comment

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

Actually, I think we don't want to do that. We shouldn't be pushing tags manually; GitHub UI is good enough for that, and it ensures we don't push tags unintentionally 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll clarify -- I just mean that the creation of the tag triggers releases, whether it's pushed or created by the UI

RELEASE.md Outdated
Comment on lines 17 to 18
NOTE: As soon as the tag is pushed, many downstream projects will automatically create pull requests to update their dependency of prom/common.
Make sure the release is ready to go, with an updated changelog including notices of any breaking changes, before pushing a new tag.
Copy link
Member

Choose a reason for hiding this comment

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

Interesting, I think this is the root cause of our problems yesterday. Creating a release from the UI, without a pre-existing tag, will create this tag for us at the same time as the release is done.

I believe we shouldn't change this

Copy link
Member Author

Choose a reason for hiding this comment

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

the root cause was I used a command that pushes all tags, and I assumed that my tags would be in sync with upstream. I did not consider that I would have local tags that had been deleted on the remote from an earlier cleanup

@ywwg ywwg requested a review from ArthurSens September 4, 2025 14:49
@ywwg
Copy link
Member Author

ywwg commented Sep 4, 2025

https://medium.com/globant/github-dependabot-042d61a5e8d6

"Automatic pull requests: Dependabot creates automatic pull requests whenever it finds new version updates. It creates pull requests with all the crucial details, such as release notes, change logs, and commits."

@ywwg
Copy link
Member Author

ywwg commented Sep 4, 2025

We won't know for sure until we try doing the next release, but I bet it'll work. I copied the format of the prometheus/prometheus changelog, which seems to work

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

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

If we're going to go with CHANGELOG release workflow, we should also include a VERSION file for consistency with other repos.

@ywwg ywwg requested a review from SuperQ September 4, 2025 18:13
Copy link
Contributor

@aknuds1 aknuds1 left a comment

Choose a reason for hiding this comment

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

VERSION is out of date.

@ywwg ywwg force-pushed the owilliams/changelog branch from c13448a to 328b0c7 Compare September 5, 2025 14:34
…cially possible breaking changes.

Signed-off-by: Owen Williams <owen.williams@grafana.com>
@ywwg ywwg force-pushed the owilliams/changelog branch from 328b0c7 to e9e8fe5 Compare September 5, 2025 14:34
Copy link
Contributor

@aknuds1 aknuds1 left a comment

Choose a reason for hiding this comment

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

LGTM!

@ywwg ywwg merged commit 5ef1ac5 into main Sep 5, 2025
8 checks passed
@ywwg ywwg deleted the owilliams/changelog branch September 5, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants