Skip to content

fix(admission): remember hub proof verdicts per proof, not per device - #428

Merged
Mearman merged 1 commit into
mainfrom
fix/admission-verdict-per-proof
Oct 19, 2026
Merged

Mearman merged 1 commit into
mainfrom
fix/admission-verdict-per-proof

Conversation

@Mearman

@Mearman Mearman commented Oct 19, 2026

Copy link
Copy Markdown
Member

Hub directory events can carry several proofs for one device, and the admission verdict cache kept a single slot per kind and device, so alternating proofs evicted each other and were verified again on every event, against every trusted issuer. A live bridge on a busy local mesh spent most of its CPU time in this verification. The cache is now keyed by kind, device and proof; a test covers two proofs for one device arriving in alternation.

A hub directory event can carry more than one proof for the same device
at once. The verdict cache held a single slot per kind and device, so
each proof evicted the other and every event verified all of them again,
once per trusted issuer.

The cache is now keyed by kind, device and proof.
@Mearman
Mearman marked this pull request as ready for review October 19, 2026 12:17
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ⚠️ Failed 2026-10-19T12:17:34.222794Z 3cb39a6 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@Mearman
Mearman merged commit 095cd8a into main Oct 19, 2026
7 checks passed
@Mearman
Mearman deleted the fix/admission-verdict-per-proof branch October 19, 2026 12:18
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 8.13.21 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant