Skip to content

[chore] Switch to gh releases for weaver version#3829

Open
thompson-tomo wants to merge 2 commits into
open-telemetry:mainfrom
thompson-tomo:patch-1
Open

[chore] Switch to gh releases for weaver version#3829
thompson-tomo wants to merge 2 commits into
open-telemetry:mainfrom
thompson-tomo:patch-1

Conversation

@thompson-tomo

@thompson-tomo thompson-tomo commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Changes

This switches to sourcing the weaver version from gh releases as opposed to docker hub. This switch is to address the error shown in the renovate dashboard #2101 due to not being able to pin it.

image

This is a transfer of what is working in the ruby contrib repo to keep semconv version up to date.

Important

Pull request acceptance is subject to the triage process as described in Issue and PR Triage Management.
PRs that do not follow the guidance above may be automatically rejected and closed.

Merge requirement checklist

  • CONTRIBUTING.md guidelines followed.
  • Links to prototypes or existing instrumentations (when adding or changing conventions)
  • Disclose AI usage, see OTel GenAI policy:
    • no AI used
    • AI-assisted
    • bulk AI-generated
  • I have the experience and knowledge necessary to understand, review, and validate all content in this PR.1

Footnotes

  1. Yes, I can answer maintainer questions about the content of this PR without using AI.

@thompson-tomo thompson-tomo changed the title Switch to gh releases for weaver version [chore] Switch to gh releases for weaver version Jun 26, 2026
Comment thread .github/renovate.json5
@kamphaus kamphaus moved this from Untriaged to Needs More Approval in Semantic Conventions Triage Jun 30, 2026
@trask trask requested a review from Copilot July 13, 2026 16:27

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 updates the Renovate configuration to track the OpenTelemetry Weaver version from GitHub Releases instead of Docker Hub, addressing Renovate’s inability to pin the Docker tag digest and keeping the referenced semconv schema URL in sync.

Changes:

  • Switch the custom regex manager for Weaver from the docker datasource to github-releases.
  • Update the dependency identifier from otel/weaver to open-telemetry/weaver.
  • Add version extraction to normalize vX.Y.Z tags to semver-compatible versions.

Comment thread .github/renovate.json5
Comment on lines +13 to +16
depNameTemplate: "open-telemetry/weaver",
datasourceTemplate: "github-releases",
versioningTemplate: "semver",
extractVersionTemplate: "^v(?<version>.*)$"
Comment thread .github/renovate.json5
depNameTemplate: "open-telemetry/weaver",
datasourceTemplate: "github-releases",
versioningTemplate: "semver",
extractVersionTemplate: "^v(?<version>.*)$"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could we remove extractVersionTemplate here? The GitHub release tag and the value captured from the schema URL are both v-prefixed (for example, v0.24.2).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The issue i suspect with doing that is you might either lose semver update types and everything would have no update type or worse it would fail due to unable to parse it using the semver versioningtemplate.

This way we know it works and is handled like other updates.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please test this? I believe currently extractVersionTemplate converts release v0.24.2 to 0.24.2, causing Renovate to generate a schema URL without v, which will 404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs More Approval

Development

Successfully merging this pull request may close these issues.

5 participants