Telemetry set service.version from compliance-core's CARGO_PKG_VERSION. The crate version is not bumped per release, so SigNoz shows 0.4.6 for the v0.4.10 agent (pruefwerk-agent-prod) and dashboard. The agent's /api/v1/platform/version already reports the release: it reads the tag CI passes as PRUEFWERK_VERSION.
Change
BUILD_VERSION, BUILD_COMMIT and the empty-build-arg fallback move from compliance-agent/src/api/handlers/platform.rs to a new compliance_core::build_info, with their test. The handler re-exports them, so the VEX, evidence and change-detection code keep their imports.
telemetry::build_resource uses BUILD_VERSION for service.version.
deploy-dashboard reads the latest release tag the same way deploy-agent does and passes it as --build-arg PRUEFWERK_VERSION. Dockerfile.dashboard declares the arg, empty by default. Without it, the dashboard would still report the crate version.
The MCP server has no OTLP telemetry and is unchanged.
Check after deploy
In SigNoz, service.version on pruefwerk-agent-stage and the dashboard reads the latest tag (0.4.10), the same as /api/v1/platform/version.
## Problem
Telemetry set `service.version` from compliance-core's `CARGO_PKG_VERSION`. The crate version is not bumped per release, so SigNoz shows `0.4.6` for the v0.4.10 agent (`pruefwerk-agent-prod`) and dashboard. The agent's `/api/v1/platform/version` already reports the release: it reads the tag CI passes as `PRUEFWERK_VERSION`.
## Change
- `BUILD_VERSION`, `BUILD_COMMIT` and the empty-build-arg fallback move from `compliance-agent/src/api/handlers/platform.rs` to a new `compliance_core::build_info`, with their test. The handler re-exports them, so the VEX, evidence and change-detection code keep their imports.
- `telemetry::build_resource` uses `BUILD_VERSION` for `service.version`.
- `deploy-dashboard` reads the latest release tag the same way `deploy-agent` does and passes it as `--build-arg PRUEFWERK_VERSION`. `Dockerfile.dashboard` declares the arg, empty by default. Without it, the dashboard would still report the crate version.
The MCP server has no OTLP telemetry and is unchanged.
## Check after deploy
In SigNoz, `service.version` on `pruefwerk-agent-stage` and the dashboard reads the latest tag (`0.4.10`), the same as `/api/v1/platform/version`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Telemetry set service.version from compliance-core's CARGO_PKG_VERSION,
which is not bumped per release, so SigNoz showed 0.4.6 for the v0.4.10
agent and dashboard. The agent already reads the release tag CI passes as
PRUEFWERK_VERSION for its /version handshake.
- BUILD_VERSION, BUILD_COMMIT and their fallback move from the agent's
platform handler to compliance_core::build_info. The handler re-exports
them, so the VEX, evidence and change-detection imports stay.
- build_resource uses BUILD_VERSION.
- The dashboard image build gets PRUEFWERK_VERSION from the latest
release tag, as the agent's does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang
merged commit 2157ae2d42 into main2026-11-05 17:32:30 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
Telemetry set
service.versionfrom compliance-core'sCARGO_PKG_VERSION. The crate version is not bumped per release, so SigNoz shows0.4.6for the v0.4.10 agent (pruefwerk-agent-prod) and dashboard. The agent's/api/v1/platform/versionalready reports the release: it reads the tag CI passes asPRUEFWERK_VERSION.Change
BUILD_VERSION,BUILD_COMMITand the empty-build-arg fallback move fromcompliance-agent/src/api/handlers/platform.rsto a newcompliance_core::build_info, with their test. The handler re-exports them, so the VEX, evidence and change-detection code keep their imports.telemetry::build_resourceusesBUILD_VERSIONforservice.version.deploy-dashboardreads the latest release tag the same waydeploy-agentdoes and passes it as--build-arg PRUEFWERK_VERSION.Dockerfile.dashboarddeclares the arg, empty by default. Without it, the dashboard would still report the crate version.The MCP server has no OTLP telemetry and is unchanged.
Check after deploy
In SigNoz,
service.versiononpruefwerk-agent-stageand the dashboard reads the latest tag (0.4.10), the same as/api/v1/platform/version.🤖 Generated with Claude Code