Skip to content

fix: verify release source before artifacts - #13

Merged
cristibleotiu merged 1 commit into
mainfrom
fix/r1-meshdb-security-manifest-order
Aug 19, 2026
Merged

fix: verify release source before artifacts#13
cristibleotiu merged 1 commit into
mainfrom
fix/r1-meshdb-security-manifest-order

Conversation

@cristibleotiu

Copy link
Copy Markdown
Contributor

What changed

  • split immutable release checkout from release-image artifact download
  • run source, license, provenance, fixture, VEX, manifest, and upstream checks before generated artifacts exist
  • route signature and image scans through the validated image output from the new download step
  • add a regression that enforces checkout -> source verification -> artifact download ordering

Root cause

The scheduled security workflow downloaded artifacts/image-reference.txt before running generate-source-manifest.py --check. The manifest intentionally inventories all files in the source tree, so the generated release artifact made a clean release checkout fail verification.

Validation

  • red-first focused regression reproduced the ordering defect
  • 83 release/SBOM/tunnel/cleanup unit tests pass
  • 12,144 source hashes and 11,950 license classifications verified
  • source boundary, provenance, public fixtures, VEX, exact generated-source reconstruction, and upstream provenance pass
  • Bash syntax and git diff --check pass
  • actionlint passes excluding only its known stale concurrency.queue syntax false positive

Scope

Workflow and contract-test only. No image, database runtime, release tag, or published digest changes.

What changed:
- split immutable release checkout from image-reference download
- enforce source-manifest verification before generated artifacts exist
- update the deterministic source manifest

Why:
- scheduled security scans failed because downloaded release evidence polluted the source inventory
@cristibleotiu
cristibleotiu marked this pull request as ready for review August 19, 2026 07:56
@cristibleotiu
cristibleotiu merged commit 9f25a5d into main Aug 19, 2026
1 check passed
@cristibleotiu
cristibleotiu deleted the fix/r1-meshdb-security-manifest-order branch August 19, 2026 07:56
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