mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-25 05:00:07 +00:00
e521fd5cf4
Daily-review finding: the MSI upload is write-once (If-None-Match:*), so a first attempt that died between the MSI and the provenance upload funneled every retry into the 409 short-circuit — which returned "Archived" without ever writing provenance.json (permanently lost). The 409 path now checks for the sidecar and, when missing, rehashes the ARCHIVED bytes and writes it; heal failures ride the normal retryable ladder. Also closes the review's test gaps: ImeMsiArchiveQueueWorker + producer worker-level tests (internal QueueClient test ctors, SessionDeletionWorker pattern), CorporateIdentifierValidator null/whitespace + OData special-char + page-cap-transient tests, registry observer helper tests (TerminalOutcome/ChangedFields/ClassifyStatusServiceStatus). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>