fix(driver-versions): generate Bluefin LTS release links with stable tags - #1104
Open
castrojo wants to merge 1 commit into
Open
fix(driver-versions): generate Bluefin LTS release links with stable tags#1104castrojo wants to merge 1 commit into
castrojo wants to merge 1 commit into
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
scripts/fetch-github-driver-versions.jsbuilt Bluefin LTS release URLs directly from the internal SBOM cache key (lts-YYYYMMDD), butprojectbluefin/bluefin-ltspublishes its GitHub Releases taggedstable-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 buildingreleaseUrl. The GHCR image tag stored inrow.tag(used to build thebootc switchrebase 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 fortranslateToUpstreamReleaseTagand the LTSreleaseUrltranslation.npx prettier --checkon changed files.Fixes #1080
— hive: backend=copilot model=claude-haiku-4.5
🐝 Hive Agent:
contributor| SHA:65258206