-
Notifications
You must be signed in to change notification settings - Fork 277
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
[Bug]: Unexpect update on Yarn.lock during auto version upgrade #3856
Comments
@AMoo-Miki Do you have any inputs here? |
The For example, [email protected] is dependent on On one hand, I like that the CI is being helpful and is automating the task that repo maintainers should be doing but on the other hand, I don't like the PR doing something other that what it claims in its title. So:
|
Thanks for the findings @AMoo-Miki . I see two options here:
WDYT? cc: @mingshl |
Sayali I love automation and what this workflow is doing is pointing out a problem with the repos that they might otherwise not catch. The workflow, in its current state, will include the lockfile only and only if the existing lockfile is invalid. The best solution, now that we have this much done, would be to:
There is another option too: Simply change the title of the PR to say |
Thank you for your insightful comments, @AMoo-Miki. I like the idea of separating version increment and lockfile check. Also upgrades to plugin side dependencies should change the package.json. DSR plugin should come up with the fix and maybe revert opensearch-project/dashboards-search-relevance#239. |
I believe from version increment point of view, raising issues for missed changes is out of scope of this effort. We can proceed with
Let me know if that is okay with you @bbarani @prudhvigodithi |
What's the next step on this? We still have conflicts on the yarn.lock that I think we need to merge manually to ensure we stay on the latest and can build for 2.10. In the future, we should not receive updates to yarn.lock. Instead package.json should receive updates for auto version upgrade. Is that right? |
Based on recommendation by @AMoo-Miki on opensearch-project/opensearch-build#3856 Signed-off-by: Michael Froh <[email protected]>
Hi @prudhvigodithi |
Circling back on this issue, based on @AMoo-Miki feedback what we can do is to just raise a PR with only
|
Here is the PR that should fix this bug to raise a version increment PR with only |
The PR was merged and works as expected, it closed the PR opensearch-project/dashboards-search-relevance#281 for version increment 2.9.0.0 as it dint identify |
Closing this Issue, @noCharger please re-open if required. |
Describe the bug
There are couple of PRs create on dashboards-search-relevance with title "[AUTO] Increment version" which didn't change the version but the yarn.lock file. Here's some dive deep:
yarn osd bootstrap
is OSD version increment tmp fix #3509yarn osd bootstrap
is required to runnode ../../scripts/plugin_helpers version --sync legacy
yarn osd bootstrap
results in the yarn.lock file changed.To reproduce
node ../../scripts/plugin_helpers version --sync legacy
directlyyarn osd bootstrap
results in the yarn.lock file changed.Expected behavior
Open questions:
dashboards-search-relevance
the only plugin impacted? Is it possible to opt out the auto version increment for the short term?yarn.lock
change during the auto version increment or just exclude the changes in this file?Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
No response
Additional context
No response
Relevant log output
No response
Acceptance Criteria
Yarn.lock
file during the PR creation stage.The text was updated successfully, but these errors were encountered: