Skip to content

fix: v0.33.5 — stale Dockerfile OCI labels, README gaps, CHANGELOG backfill - #44

Merged
SoundMatt merged 1 commit into
mainfrom
fix/audit-findings
Jul 27, 2026
Merged

fix: v0.33.5 — stale Dockerfile OCI labels, README gaps, CHANGELOG backfill#44
SoundMatt merged 1 commit into
mainfrom
fix/audit-findings

Conversation

@SoundMatt

Copy link
Copy Markdown
Owner

Closes #43

Summary

  • Dockerfile's custom io.x-fusa.* OCI labels were hardcoded and stale (spec-version="1.9" vs. the actual fusa.SpecVersion of 1.10.12; org.opencontainers.image.version="0.25.1"). Both are now injected via ARG VERSION/ARG SPEC_VERSION, with .github/workflows/docker-publish.yml deriving them at build time (spec version grepped from fusa.go, version from the pushed tag) and passing them via --build-arg, so they can't go stale again. Local docker build still gets sane current-value defaults.
  • README.md's cmd/gofusa package-table row was missing 9 subcommands (hara, iso26262, iec61508, disposition, impact, metrics, misra, capabilities, version) — added all 9. capabilities and version had no README mentions at all, so Quick Start examples were added for both.
  • CHANGELOG.md was missing entries for 5 tagged/released versions (v0.29.1, v0.25.1, v0.25.0, v0.24.0, v0.8.0) — backfilled each in its correct chronological slot using git log/gh release view data. Per the issue's explicit scope boundary, no new GitHub release was created for v0.8.0 (it shares a commit with v0.9.0 and predates the release-automation workflow).
  • Bumped Version to 0.33.5 (fusa.go, README.md, docs/tool-safety-manual.md) to satisfy the "Doc version check" CI gate, and added the v0.33.5 CHANGELOG entry.

Test plan

  • go build ./...
  • go test ./... — all packages pass, zero regressions
  • gofmt -l . / go vet ./... — clean
  • ./gofusa check --dir . — 0 errors (same baseline warning count as before)
  • Doc version check logic reproduced locally — README.md and docs/tool-safety-manual.md both reference 0.33.5
  • CI must go green on this PR before merge

…, CHANGELOG backfill

Fixes #43:

- Dockerfile custom io.x-fusa.* labels were hardcoded (spec-version stuck
  at "1.9", four versions behind fusa.SpecVersion's actual 1.10.12; image
  version stuck at "0.25.1"). Both are now ARG-driven (VERSION,
  SPEC_VERSION) with current-value defaults for local `docker build`.
  docker-publish.yml now derives SPEC_VERSION by grepping fusa.go's
  SpecVersion constant and VERSION from the pushed tag, passing both via
  --build-arg, so these labels track the source of truth automatically
  instead of going stale again. (org.opencontainers.image.version was
  already corrected at publish time by docker/metadata-action, so only
  local builds and the raw Dockerfile value were actually affected.)

- README.md's cmd/gofusa package-table row was missing 9 subcommands:
  hara, iso26262, iec61508, disposition, impact, metrics, misra,
  capabilities, version. Added all 9 to the row (43 total). capabilities
  and version had zero README mentions anywhere, so also added Quick
  Start examples for both.

- CHANGELOG.md was missing entries for 5 tagged/released versions:
  v0.29.1, v0.25.1, v0.25.0, v0.24.0, v0.8.0. Backfilled each in its
  correct chronological slot with content derived from `git log` and
  `gh release view`. (v0.8.0 shares its commit with v0.9.0 — a squash
  merge that tagged both at once — noted inline; no new GitHub release
  created for it, per the pre-automation-tag scope boundary.)

Bumped Version to 0.33.5 (fusa.go, README.md, docs/tool-safety-manual.md)
to satisfy the "Doc version check" CI gate.

Signed-off-by: SoundMatt <SoundMatt@users.noreply.github.com>
@SoundMatt
SoundMatt merged commit 7e61b52 into main Jul 27, 2026
16 checks passed
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.

bug: stale Dockerfile OCI labels + README command table missing 9 subcommands + 5 CHANGELOG gaps

1 participant