Skip to content

fix(driver-versions): generate Bluefin LTS release links with stable tags - #1104

Open
castrojo wants to merge 1 commit into
projectbluefin:v4from
castrojo:fix/lts-driver-version-links
Open

fix(driver-versions): generate Bluefin LTS release links with stable tags#1104
castrojo wants to merge 1 commit into
projectbluefin:v4from
castrojo:fix/lts-driver-version-links

Conversation

@castrojo

@castrojo castrojo commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Problem

scripts/fetch-github-driver-versions.js built Bluefin LTS release URLs directly from the internal SBOM cache key (lts-YYYYMMDD), but projectbluefin/bluefin-lts publishes its GitHub Releases tagged stable-YYYYMMDD. This produced 404 links on the LTS driver-versions timeline (e.g. releases/tag/lts-20260602).

Fix

Added translateToUpstreamReleaseTag(streamId, tag) to map a stream's cache-key prefix to the actual upstream release tag prefix, and used it only when building releaseUrl. The GHCR image tag stored in row.tag (used to build the bootc switch rebase command) is left unchanged, since that must still match the real container tag.

Testing

  • npm test (node --test "scripts/**/*.test.js") — all 23 tests pass, including new coverage for translateToUpstreamReleaseTag and the LTS releaseUrl translation.
  • npx prettier --check on changed files.

Fixes #1080

— hive: backend=copilot model=claude-haiku-4.5

🐝 Hive Agent: contributor | SHA: 65258206

…tags

GHCR image tags for the LTS stream use an internal lts-YYYYMMDD cache
key, but projectbluefin/bluefin-lts publishes its GitHub Releases
tagged stable-YYYYMMDD. The driver-versions catalog was building
release links straight from the cache key, so LTS release URLs
404'd (e.g. releases/tag/lts-20260602).

Add translateToUpstreamReleaseTag() to map the cache-key prefix to
the upstream release tag prefix per stream, and use it only when
building releaseUrl. The GHCR image tag used for the rebase command
(row.tag) is left untouched since that value must still match the
real container tag.

Fixes projectbluefin#1080

Signed-off-by: castrojo <castrojo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant