fix: qbit metadata version comes from the build #15

Merged
KofTwentyTwo merged 1 commits from fix/producer-version-from-build into develop 2026-10-15 06:42:59 +00:00
KofTwentyTwo commented 2026-10-15 06:33:12 +00:00 (Migrated from github.com)

The producer hardcoded its version, so released artifacts reported a stale literal or -SNAPSHOT as the qbit's metadata version.

Fix: this follows the authentik pattern. A Maven-filtered qbit-web-performance.properties holds version=${project.version}, and the producer loads it. The tests assert that the producer version, the help bundle version and the artifact version are equal (surefire passes qbit.artifactVersion).

Codex notes:
Changed six files: pom.xml, WebPerfQBitProducer.java, new qbit-web-performance.properties, both producer/help-bundle tests, and CHANGELOG.md.

  • mvnw.cmd -q verify passed; one Docker-dependent test skipped.
  • RC.99 proof: all 7 tests passed with version 0.1.0-RC.99.
  • POM restored byte-for-byte, preserving ${revision} and only intended changes.
  • No commits or pushes.

Memory note staged in local cache; sandbox restrictions prevented writing to the vault.

Low priority: this rides the repo's next RC.

🤖 Generated with Claude Code

The producer hardcoded its version, so released artifacts reported a stale literal or `-SNAPSHOT` as the qbit's metadata version. **Fix:** this follows the authentik pattern. A Maven-filtered `qbit-web-performance.properties` holds `version=${project.version}`, and the producer loads it. The tests assert that the producer version, the help bundle version and the artifact version are equal (surefire passes `qbit.artifactVersion`). **Codex notes:** Changed six files: `pom.xml`, `WebPerfQBitProducer.java`, new `qbit-web-performance.properties`, both producer/help-bundle tests, and `CHANGELOG.md`. - `mvnw.cmd -q verify` passed; one Docker-dependent test skipped. - RC.99 proof: all 7 tests passed with version `0.1.0-RC.99`. - POM restored byte-for-byte, preserving `${revision}` and only intended changes. - No commits or pushes. Memory note staged in local cache; sandbox restrictions prevented writing to the vault. Low priority: this rides the repo's next RC. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.