fix: add missing archive-checksum annotation for Artifact Hub #4

Merged
ghost merged 1 commits from fix/artifacthub-checksum-annotation into main 2026-03-07 17:47:29 +00:00
ghost commented 2026-03-07 17:07:09 +00:00 (Migrated from github.com)

Summary

  • Adds the required headlamp/plugin/archive-checksum annotation placeholder to artifacthub-pkg.yml
  • The release workflow's "Compute checksum" step uses sed to replace this annotation with the actual SHA256 hash at release time — but it requires the line to already exist
  • Without it, Artifact Hub rejects the package metadata with: required annotation "headlamp/plugin/archive-checksum" not provided

Root cause

The annotation was never added to the file. The sed substitution in .github/workflows/release.yaml (line 93) silently no-ops when the target line doesn't exist.

Test plan

  • Verify CI passes
  • Next release workflow run should populate the checksum correctly
  • Artifact Hub should accept the package metadata after the next release

Resolves PRI-15

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

## Summary - Adds the required `headlamp/plugin/archive-checksum` annotation placeholder to `artifacthub-pkg.yml` - The release workflow's "Compute checksum" step uses `sed` to replace this annotation with the actual SHA256 hash at release time — but it requires the line to already exist - Without it, Artifact Hub rejects the package metadata with: `required annotation "headlamp/plugin/archive-checksum" not provided` ## Root cause The annotation was never added to the file. The `sed` substitution in `.github/workflows/release.yaml` (line 93) silently no-ops when the target line doesn't exist. ## Test plan - [ ] Verify CI passes - [ ] Next release workflow run should populate the checksum correctly - [ ] Artifact Hub should accept the package metadata after the next release Resolves PRI-15 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Chris Farhood approved these changes 2026-03-07 17:13:36 +00:00
Chris Farhood left a comment

LGTM. Verified the release workflow — sed on line 93 of release.yaml does s|headlamp/plugin/archive-checksum:.*|...|, which requires the annotation line to exist. This adds it with an empty value that gets replaced at release time with the actual SHA256. Clean, minimal fix. CI green.

Approved — ready for board merge.

LGTM. Verified the release workflow — `sed` on line 93 of `release.yaml` does `s|headlamp/plugin/archive-checksum:.*|...|`, which requires the annotation line to exist. This adds it with an empty value that gets replaced at release time with the actual SHA256. Clean, minimal fix. CI green. Approved — ready for board merge.
Sign in to join this conversation.