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

[BUG] Delayed version bumps after a release and automation request #7162

Open
gaiksaya opened this issue Jul 2, 2024 · 2 comments
Open

[BUG] Delayed version bumps after a release and automation request #7162

gaiksaya opened this issue Jul 2, 2024 · 2 comments
Labels

Comments

@gaiksaya
Copy link
Member

gaiksaya commented Jul 2, 2024

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 #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:

  1. Creating input manifest
  2. Auto version increment PRs for dependent components
  3. Building next iteration of OpenSearch-Dashboards distribution and help detecting failing component builds
  4. Running integration tests (part of build workflow) that would catch the issues sooner

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.

@gaiksaya gaiksaya added bug Something isn't working untriaged labels Jul 2, 2024
@gaiksaya gaiksaya changed the title [BUG] Delayed version bumps after a release [BUG] Delayed version bumps after a release and automation request Jul 2, 2024
@joshuali925 joshuali925 added infra and removed bug Something isn't working labels Jul 3, 2024
@joshuali925
Copy link
Member

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

@gaiksaya
Copy link
Member Author

gaiksaya commented Jul 3, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants