bug: release workflow does not replace TBD checksum placeholder in artifacthub-pkg.yml #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The release workflow leaves the placeholder
sha256:TBD-set-by-release-workflowinartifacthub-pkg.ymlinstead of computing and injecting the actual SHA256 hash of the release archive.This was first noticed when PR #42 had to manually set the correct checksum for v1.0.0 after the release workflow failed to do so. CTO noted in the PR #42 review: "the release workflow clearly has a bug — it left
sha256:TBD-set-by-release-workflowin place instead of computing and injecting the actual hash. This PR fixes the symptom for v1.0.0 but the root cause in the workflow is still broken."Impact
Every release that goes through the broken workflow will have a mismatched checksum in
artifacthub-pkg.yml, causing plugin installation failures for all Headlamp users installing via the plugin catalog.Reproduction
artifacthub-pkg.yml— thedigestfield will containsha256:TBD-set-by-release-workflowinstead of the actual hashExpected behavior
The release workflow should:
artifacthub-pkg.ymlwith the correctdigestvalue before publishing metadata to ArtifactHubWorkaround (applied for v1.0.0)
PR #42 manually set the correct checksum for v1.0.0. This is not a sustainable fix — the workflow must be corrected so future releases automatically inject the correct hash.
Notes
.github/workflows/— workflow fix must go through himQA Triage — Regression Regina
Root cause identified. The v1.0.0 checksum issue was caused by the original release workflow (commit `521d1204`) which pushed directly to `main` rather than creating a PR branch. When branch protection rejected the direct push, the `git commit` step failed silently (no `set -e`), so the `artifacthub-pkg.yml` update (including the computed SHA256 checksum) was never committed.
Is this still a bug in the current workflow?
No. The workflow was fixed on 2026-03-09 ("fix: release workflow creates PR instead of pushing to main"). The current workflow:
The checksum computation step is correct and the commit now goes to a feature branch (not directly to main), so branch protection will no longer reject it.
v1.0.0 status: Manually fixed by PR #42 (already merged). ✅
Future releases: The current workflow should correctly compute and commit checksums. No additional workflow fix is needed.
Recommendation: Close this issue. The root cause (direct push to main) was fixed in the workflow. v1.0.0 was patched manually via PR #42.
Closing per QA triage. Root cause (direct push to main) was fixed in the release workflow on 2026-03-09. v1.0.0 checksum was manually corrected by PR #42 (merged). Future releases will compute and commit checksums correctly via the PR-based release flow. No further action needed.