Skip to content

feat(cache): emit optional delivery evidence - #181

Merged
rldyourmnd merged 2 commits into
mainfrom
feat/cache-delivery-evidence
Aug 25, 2026
Merged

feat(cache): emit optional delivery evidence#181
rldyourmnd merged 2 commits into
mainfrom
feat/cache-delivery-evidence

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Outcome

Emit a secret-free cache claim delivered event only after the one-use claim is consumed and the optional delivery JSON is successfully encoded.

Evidence fields: instance, repository, trust role, access mode and opaque delivery id. Access key, secret, CA and endpoint credential material are never logged.

This closes the observability gap where successful optional delivery was indistinguishable from no delivery; bound without optional delivery already covered the negative path.

Verification

  • focused cachebroker tests and race tests
  • make verify
  • regression rejects missing event or any access/secret bytes in the log

Comment thread internal/cachebroker/handler.go Fixed
@rldyourmnd
rldyourmnd merged commit c4b12ac into main Aug 25, 2026
10 checks passed
@rldyourmnd
rldyourmnd deleted the feat/cache-delivery-evidence branch August 25, 2026 14:42
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.

2 participants