Skip to content

feat: Track source commit hash in vendored fipsagents marker#59

Merged
rdwj merged 1 commit into
mainfrom
feat/vendor-commit-tracking
Jun 4, 2026
Merged

feat: Track source commit hash in vendored fipsagents marker#59
rdwj merged 1 commit into
mainfrom
feat/vendor-commit-tracking

Conversation

@rdwj

@rdwj rdwj commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Record upstream commit hash (commit: and commit_short:) in the VENDORED marker file during fips-agents vendor and create --vendored
  • Display the vendored commit in the success output so users see what was vendored
  • Add 9 unit tests covering commit tracking, version extraction, file copying, and error handling

Closes #58

Test plan

  • All 433 existing tests pass — no regressions
  • 9 new tests in tests/test_vendor.py verify commit hash extraction and marker content
  • Black + Ruff clean

Record the upstream commit hash in the VENDORED marker file so users
can identify exactly which version of fipsagents was vendored. This
enables reproducible builds and makes it easy to check if vendored
code is stale relative to upstream.

Closes #58

Assisted-by: Claude Code (Opus 4.6)
@rdwj rdwj merged commit b1516af into main Jun 4, 2026
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.

feat: Vendored fipsagents should track source commit for reproducible builds

1 participant