Repository navigation
Description
Problem
src/devops_cli/config/constants.py:2134 holds a copied tool version, CONST_SEMCONV_WEAVER_VERSION = "0.26.1". Its only use is the install hint of devops telemetry semconv (src/devops_cli/telemetry/semconv.py:207). No Renovate manager writes it, so a weaver release makes the hint wrong. The owner rule of 2026-11-19 says that devops-cli is not a package manager: no tool version stays in src/ that a dependency update must change. The package-manager sweep of 2026-11-19 kept the constant only until weaver is in the devtools image.
Change
- dan-petty/devtools adds weaver to
mise.tomlandmise.lock(both platforms), so Renovate's mise manager bumps it. - Delete
CONST_SEMCONV_WEAVER_VERSION. The install hint names the devtools image and the weaver releases page with no version. weaver_package_argvand its test stay: they test the argv that the code builds, not a version value.
Proof
git grep -n SEMCONV_WEAVER_VERSION origin/main -- srcreturns nothing.- A test first: with no weaver on PATH, the
DependencyErrorhint has no version number and names the devtools image (it fails on base). weaver --versionpasses in the devtools image test (test/tools.sh).
Depends on: dan-petty/devtools#1
Proposed design
Problem statement
src/devops_cli/config/constants.py:2134 holds a copy of the weaver version, CONST_SEMCONV_WEAVER_VERSION = "0.26.1". Only the install hint of devops telemetry semconv uses it. No Renovate manager updates this copy, so a weaver release makes the hint wrong. The owner rule of 2026-11-19 says that devops-cli is not a package manager: no tool version stays in src/ that a dependency update must change.
Acceptance criteria
Requirement: Install hint has no weaver version
The DependencyError hint of devops telemetry semconv SHALL name the devtools image and the weaver releases page with no version number.
Scenario: Weaver is absent from PATH
- WHEN the test calls the semconv command with a
PATHthat holds noweaverbinary - THEN the raised
DependencyErrormessage holds no version number, namesdan-petty/devtoolsand holds the weaver releases URL.
Requirement: Copied weaver version is gone
src/devops_cli/config/constants.py MUST hold no CONST_SEMCONV_WEAVER_VERSION constant.
Scenario: Constants module has no weaver version
- WHEN the test imports
devops_cli.config.constants - THEN
hasattrreturns false forCONST_SEMCONV_WEAVER_VERSION.
Requirement: Weaver argv builder is kept
weaver_package_argv SHALL build the same argv as before.
Scenario: Weaver package argv test
- WHEN the test suite runs
tests/telemetry/test_telemetry_semconv.py - THEN the
weaver_package_argvtest passes with no change to its assertions.
Existing Tool Considered
No alternatives check has run on this item. Renovate's mise manager is the open, maintained tool that covers the need: it bumps the weaver version in mise.toml and mise.lock of dan-petty/devtools. It lacks a view of a copy of the version in src/, so this item deletes that copy and writes no version-tracking code.
Key questions
- What does the install hint give in place of the copied version?: The hint names the devtools image and the weaver releases page, with no version number. (best practice) [sources: src/devops_cli/telemetry/semconv.py:207, src/devops_cli/config/constants.py:2134]
- Chosen: No version; name the image and the releases page. The version lives in the devtools mise files, which Renovate bumps, so the hint needs no copy.
- Rejected: Keep the version and add a Renovate regex manager. It keeps a tool version in
src/, which the owner rule of 2026-11-19 forbids. - Rejected: Read the version from the image at run time. The command fails before weaver runs, so no version is available.
- Where does the weaver version live after the constant is gone?: In
mise.tomlandmise.lockof dan-petty/devtools, which Renovate'smisemanager bumps. (best practice) [sources: src/devops_cli/config/constants.py:2134, src/devops_cli/telemetry/semconv.py:33]- Chosen: mise files in dan-petty/devtools. Renovate's mise manager updates them on each release, with no code in this repository.
- Rejected: A version file in
src/read at run time. It puts a tool version back insrc/that a dependency update must change. - Rejected: A Renovate regex manager on the Python constant. It keeps the copy that the owner rule removes.
- Where does the test of the install hint go?: In
tests/telemetry/test_telemetry_semconv.py, which already importsweaver_package_argvfromdevops_cli.telemetry.semconv. (best practice) [sources: tests/telemetry/test_telemetry_semconv.py, src/devops_cli/telemetry/semconv.py:207]- Chosen: Extend
tests/telemetry/test_telemetry_semconv.py. The file already imports the semconv symbols and tests the weaver argv. - Rejected: Add a new test module. It splits the semconv tests over two files for one assertion.
- Chosen: Extend
- Does any other code use
CONST_SEMCONV_WEAVER_VERSION?: No. Onlysrc/devops_cli/telemetry/semconv.pyimports it at line 33 and uses it in the hint at line 207. [sources: src/devops_cli/telemetry/semconv.py:33, src/devops_cli/telemetry/semconv.py:207, src/devops_cli/config/constants.py:2134]
Fit
Fits in one pull request.
Suspected block
dan-petty/devtools#1 and its image release: the hint names the devtools image as the install source, so weaver must ship in that image first.
Dependencies
None.
Activity
dan-petty commentedon Nov 19, 2026
Both remove hand-pinned tool versions in favour of mise-managed ones; 6212 replaces the whole tools lock system while the candidate deletes one constant from a telemetry hint.devops-cli-service commentedon Nov 19, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
docs(telemetry): give the devtools comment and the semconv check path…
devops-cli-service commentedon Nov 19, 2026
Released in v0.181.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.181.1
devops-cli-service commentedon Nov 19, 2026
Live since 2026-11-19 21:54 UTC