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
java postprocessor isn't hermetic for libraries-bom versions #1318
Comments
Hi @Neenu1995 , this issue is out of SLO because it's marked as P1. Please could you take a look? |
I plan to a take a look in the coming weeks. Mean while, downgrading it to p2 because it is no-blocking. |
I also observed the postprocessor touching the README.md's versions caused pull request conflict state in pull requests. A potential scenario:
In this scenario, adding "owlbot:run" label should resolve the conflict in Pull Request A. @BenWhitehead Do you also think the annoyance of this OwlBot postprocessor is at the conflicts? Or do you observe something worse? |
In my mind it's less about maneuvering around how to get a conflicted PR unstuck, and more the fact that docs updates that should happen along with a dependency bump are not isolated to that dependency bump PR. Instead every PR that happens to run between the time of release and the time of the dependency bump PR will have this proposed change. |
Thanks. Idea memo: java postprocessor should upgrade the libraries-bom version only when a pull request is upgrading the libraries-bom version in samples. (Or just files in samples) Todo on me: read the postprocessor code to determine the logic of README updates. |
Current setup:
My current idea: somehow we update the templates only when it's touching README or samples directory.
|
Is this still an issue (it's OOSLO)? Most of the libraries have moved to the monorepo. |
This is still an issue. (I don't think we need SLO for this issue.) |
When OwlBot runs it's post processor it's possible that the version updates to the README.md for libraries-bom won't be properly proposed in the bump PR and will then be proposed multiple times in other PRs.
Example of java-storage PR where it received the README.md update even though the PR wasn't related to version bumps: https://github.com/googleapis/java-storage/pull/1186/files
Corresponding libraries-bom snippet at the time of postprocessor run for PR 1186: https://github.com/googleapis/java-storage/blob/1e55dba4cd5111472b9bb05db08ba7e47fafe762/samples/snippets/pom.xml#L27
The text was updated successfully, but these errors were encountered: