fix(quake): parse semver build metadata in image tags - #278
Conversation
|
Reviewed the logic at Why the fix works even though It also handles combined prerelease+build correctly ( The new tests are meaningful, not tautological.
This is why the bug mattered (and the PR body slightly undersells it). The failure was in the unsafe direction: an old image below the CLI-flags boundary that happened to carry build metadata ( One thing to flag for the merger: the Rust test job is skipped on this head (check-runs: 1 success + 4 skipped, legacy status empty) — same as the other open PRs in this batch. So these new regression assertions aren't actually being executed by CI here. This is the one PR in the batch that changes real logic rather than comments, so it's the one where that matters: please make sure the test suite actually runs (approve/trigger workflows) before merge, rather than merging on the skipped-but-green appearance. I verified the logic by hand — no Rust toolchain in my environment — and it should pass, but hand-verification isn't the suite. Optional, non-blocking: since this is fundamentally semver parsing, the Solid fix — LGTM once CI actually exercises the new tests. |
Fix Quake image-version parsing for valid SemVer tags containing build metadata such as v0.6.0+build.1. Previously these tags were treated as unparsable, which could skip version-specific CLI compatibility rewrites. Adds regression coverage around the v0.5.0 and v0.6.0 compatibility boundaries.