mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 20:53:06 +00:00
43c2674a17
The IngestEventsFunction verification check returned HTTP 500 when the WhiteGlove IsPreProvisioned session update failed, causing the agent to retry the same batch in a tight loop (same whiteglove_complete event, same failing update, same 500). After 20 retries the agent gave up with events stuck in the local spool and the session metadata broken. - Add unconditional fallback (ETag.All merge) via SetSessionPreProvisionedAsync when UpdateSessionStatusAsync fails despite internal ETag retries - Replace the 500 verification response with a warning log + continue with 200 so the agent can drain its spool - Simplify SetSessionPreProvisionedAsync to use ETag.All unconditional merge, removing the unnecessary read-then-write pattern Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>