Skip to content

fix(pin-state): replace removed Bluefin LTS HWE workflow paths - #1121

Open
castrojo wants to merge 1 commit into
projectbluefin:v4from
castrojo:fix/pin-state-lts-hwe-paths
Open

fix(pin-state): replace removed Bluefin LTS HWE workflow paths#1121
castrojo wants to merge 1 commit into
projectbluefin:v4from
castrojo:fix/pin-state-lts-hwe-paths

Conversation

@castrojo

@castrojo castrojo commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Problem

scripts/fetch-pin-state.js requested build-regular-hwe.yml and build-dx-hwe.yml from projectbluefin/bluefin-lts. Both paths were deleted when bluefin-lts went all-in on the HWE/coreos-stable kernel for every build variant (ublue-os/bluefin-lts#437, "This straight up removes the -hwe images and makes it so all images are now -hwe"). Every script run hit a 404 for both paths and the bluefin-lts stream never populated in static/data/stream-pins.json.

Fix

  • Point the script at build-regular.yml, the currently active build workflow in bluefin-lts, which calls the shared projectbluefin/actions reusable-build.yml workflow.
  • That reusable workflow's optional pin input is kernel_pin (underscore), not kernel-pin (hyphen) as the old HWE-era workflows used — updated the extraction regex and doc comments to match.
  • Updated fetch-pin-state.test.js to cover the new key name and current workflow filename.
  • Regenerated static/data/stream-pins.json: the bluefin-lts stream now correctly appears (empty/floating, since build-regular.yml currently passes no kernel_pin) instead of silently failing to populate at all.

Verification

  • node --test scripts/fetch-pin-state.test.js passes.
  • Ran node scripts/fetch-pin-state.js live against the real GitHub API — no more 404s, bluefin-lts stream correctly reports as floating.
  • npx eslint scripts/fetch-pin-state.js scripts/fetch-pin-state.test.js is clean.

Fixes #1092.

— hive: backend=copilot model=claude-sonnet-5

🐝 Hive Agent: contributor | SHA: 2529b59b

bluefin-lts deleted build-regular-hwe.yml and build-dx-hwe.yml when it
went all-in on the HWE/coreos-stable kernel for every build (see
ublue-os/bluefin-lts#437). fetch-pin-state.js was still requesting
those two removed paths, so every run 404'd and the bluefin-lts stream
never appeared in stream-pins.json.

Point the script at build-regular.yml, the currently active LTS build
workflow that calls the shared projectbluefin/actions reusable-build.yml.
That reusable workflow exposes an optional kernel_pin input (not
kernel-pin), so update the extraction regex and tests to match.
bluefin-lts currently passes no kernel_pin, so the stream correctly
reports as floating rather than erroring.

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