Open gaiksaya opened 5 months ago
this doesn't seem to be a bug. what is the recommended action to improve?
i don't know about this repo, but in many other places i see version bump PR CI failed due to dependency version not upgraded
this doesn't seem to be a bug. what is the recommended action to improve?
i don't know about this repo, but in many other places i see version bump PR CI failed due to dependency version not upgraded
I added it as a bug since manual version bumps are not being done is timely manner. One of the recommended approach would be to parse the package.json and bump the version when a tag is cut in this repo. See OpenSearch workflow posted above.
@AMoo-Miki @kavilla do you guys have a better approach?
I believe we are relying on the human factor to make sure snapshots and possibly other artifacts catch up or else we will have a period where everything fails, blocking us from merging anything.
Why not just raise a PR as opposed to bumping? When PR tests pass, it indicates that the artifacts are in place and the PR can be merged.
@gaiksaya any thoughts?
Hi @AMoo-Miki ,
Yeah that is the ask. Add an automation such that when a tag is cut version bump PR is created. Keep running CI's until they pass and once done merge it. I have posted a similar example in the issue description on how OpenSearch does it today.
Describe the bug
As soon as we release OpenSearch and OpenSearch-Dashboards, one of the post release activity is to bump the version in the development branches to next iteration. See https://github.com/opensearch-project/OpenSearch-Dashboards/issues/6718 However, it has been observed that many times the version is not bumped for a long amount of time. Example: https://github.com/opensearch-project/OpenSearch-Dashboards/blob/1.3/package.json#L14 is still pointing to 1.3.17 which was released on June 06th, 2024.
The distribution workflow in opensearch-build repository uses manifests as source of build. We have an automation in place, that will add those manifests when it detects that the core engine has bumped the version in tracking branches. However, since the versions are not bumped sooner, this delays the below actions:
To Reproduce Steps to reproduce the behavior: See the version bump PR timelines in merged PRs
Expected behavior Bump the version as soon as a tag is cut in this repo. This can be automated similar to OpenSearch https://github.com/opensearch-project/OpenSearch/blob/main/.github/workflows/version.yml
This would be a notable improvement to expedite the release process and avoid last minute chaos.