Skip to content

fix(telemetry): drop the copied weaver version from the install hint - #6462

Merged
dan-petty merged 6 commits into
mainfrom
fix/6423-drop-weaver-version-hint
Nov 19, 2026
Merged

dan-petty merged 6 commits into
mainfrom
fix/6423-drop-weaver-version-hint

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The install hint of devops telemetry semconv refresh named weaver 0.26.1 from a constant in src/ that no Renovate manager updates, so each weaver release made the hint wrong. devops-cli is not a package manager: no tool version stays in src/ that a dependency update must change. The constant CONST_SEMCONV_WEAVER_VERSION is gone. The hint is now MESSAGES.telemetry.weaver_missing_hint: it names the devtools image ghcr.io/dan-petty/devtools (constant CONST_DEVTOOLS_IMAGE), which has weaver in /usr/local/bin, and the weaver releases page, with no version. Renovate's mise manager keeps the weaver version in the mise files of dan-petty/devtools. docs/TELEMETRY.md names the image as the source of weaver. The new capability telemetry-semconv holds the requirement.

Closes #6423

Change: openspec/changes/archive/2026-11-19-6423-drop-weaver-version-hint/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/telemetry OpenTelemetry tracing spans, Prometheus metrics, and Jaeger labels Nov 19, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test record

Head: 0deea4ad6

  • uv run devops ci --check --only lint,format,docs,constructs,openspec,test-settings,test-tree,startup-imports,swallowed-failures: all rows pass.
  • uv run devops ci test on 14 files (tests/telemetry/test_telemetry_semconv.py, tests/lang/test_language_catalogs.py, tests/docs/test_docs*.py, tests/docs/test_exceptions.py and the other importers of the changed modules): 222 passed.
  • uv run mypy on semconv.py, constants.py, messages.py, generator.py: no issues.
  • uv run devops docs generate --check: all documentation files are up to date.
  • ! git grep -n SEMCONV_WEAVER_VERSION -- src/ tests/: no match.

Fail-to-pass (uv run devops ci fail-to-pass --base origin/main)

failed on base: tests.telemetry.test_telemetry_semconv::test_missing_weaver_hint_names_the_devtools_image_and_no_version (AssertionError: Install weaver 0.26.1 from https://github.com/open-telemetry/weaver/releases and put it on PATH.)
1 failed on base (1 failed and 10 passed in tests/telemetry/test_telemetry_semconv.py; 0 errored).
These changed tests fail or error on base and prove the fix: tests.telemetry.test_telemetry_semconv::test_missing_weaver_hint_names_the_devtools_image_and_no_version.

No live step is necessary.

@dan-petty
dan-petty force-pushed the fix/6423-drop-weaver-version-hint branch from 0deea4a to be59e59 Compare November 19, 2026 20:55
@dan-petty
dan-petty marked this pull request as ready for review November 19, 2026 21:02
@dan-petty
dan-petty merged commit e3ed7e7 into main Nov 19, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/6423-drop-weaver-version-hint branch November 19, 2026 21:04
dan-petty pushed a commit that referenced this pull request Nov 19, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.181.1](v0.181.0...v0.181.1)
(2026-11-19)


### Bug Fixes

* **devcontainer:** exclude agent worktrees from the VS Code watcher
([#6454](#6454))
([8952d83](8952d83))
* **telemetry:** drop the copied weaver version from the install hint
([#6462](#6462))
([e3ed7e7](e3ed7e7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/telemetry OpenTelemetry tracing spans, Prometheus metrics, and Jaeger type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(telemetry): drop the copied weaver version from the install hint

1 participant