Files
codex/codex-rs/plugin-archive-verification
Alex Ionescu 188940258d Coalesce concurrent plugin signing key fetches (#63491)
## Why

Concurrent plugin archive verifications could make repeated signing key
requests when a refresh failed, returned an immediately expired response,
or omitted the requested key.

## What changed

Overlapping lookups for the same endpoint and credentials share the
completed fetch result. Each lookup resolves its own key ID from that
result. A waiting lookup can retry if the in-flight fetch is canceled.

## Testing

Add concurrency tests that check request counts for zero-TTL responses,
unknown keys, and fetch failures. The tests also verify credential
isolation and retry after cancellation.

GitOrigin-RevId: f089f8f4822314683ecadea658d6abeac36d53a3
2026-11-24 01:31:03 +00:00
..