Skip to content

fix some versions not being bumped before release and issue behind it#250

Merged
lmolkova merged 3 commits into
open-telemetry:mainfrom
lmolkova:fix-race-in-release
Jul 11, 2026
Merged

fix some versions not being bumped before release and issue behind it#250
lmolkova merged 3 commits into
open-telemetry:mainfrom
lmolkova:fix-race-in-release

Conversation

@lmolkova

@lmolkova lmolkova commented Jul 10, 2026

Copy link
Copy Markdown
Member

Smart AI figured it out.

bump-main job (which bumps versions to the next .dev version) ran in parallel with the finalize matrix jobs (which create the GitHub release tags).

Because bump-main only depended on [enumerate, publish], it checked for release tags via gh release view while the finalize jobs were still running. This race condition caused some package tags to not be found at the check time, skipping their version bump. Specifically, opentelemetry-instrumentation-google-genai and opentelemetry-util-genai were skipped, leaving them stuck at 1.0b0 instead of 1.1b0.dev.

Bump PR: #240

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a release workflow race where the bump-main job could run before the finalize matrix finished creating GitHub release tags, causing some packages to miss their post-release .dev version bump. It also manually corrects the affected package versions so they’re back in sync with the rest of the workspace.

Changes:

  • Fix release workflow ordering by making bump-main depend on finalize, preventing tag-visibility races.
  • Bump opentelemetry-util-genai version to 1.1b0.dev.
  • Bump opentelemetry-instrumentation-google-genai version to 1.1b0.dev.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
util/opentelemetry-util-genai/src/opentelemetry/util/genai/version.py Updates util package to the next .dev version after release.
instrumentation/opentelemetry-instrumentation-google-genai/src/opentelemetry/instrumentation/google_genai/version.py Updates google-genai instrumentation package to the next .dev version after release.
.github/workflows/release-all.yml Prevents bump-main from running before finalize completes, avoiding missed bumps.

@opentelemetry-pr-dashboard

Copy link
Copy Markdown

This PR has review comments. Review suggestions, whether from maintainers or automated reviewers, aren't always correct or required. Please evaluate each comment on its merits, then make sure each thread has a clear outcome.

For example, link to the commit if you applied a suggestion, explain why it wasn't applied, or ask a follow-up question.

Automation flags a PR for human review once every review thread has a reply or is marked as resolved.

Status across open PRs is visible on the pull request dashboard.

@lmolkova lmolkova added the Skip Changelog PR does not require a changelog entry label Jul 10, 2026
@lmolkova lmolkova added this pull request to the merge queue Jul 11, 2026
Merged via the queue into open-telemetry:main with commit 8bbcd98 Jul 11, 2026
85 of 86 checks passed
@lmolkova lmolkova deleted the fix-race-in-release branch July 11, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PR does not require a changelog entry

Development

Successfully merging this pull request may close these issues.

3 participants