Files
AutopilotMonitor/src/Backend/AutopilotMonitor.Functions
Oliver Kieselbach 43c2674a17 fix WhiteGlove spool drain 500 loop that blocks event upload and causes data loss
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>
2026-03-02 10:55:12 +01:00
..
2026-02-05 06:14:41 +01:00
2026-02-05 06:14:41 +01:00
2026-02-05 06:14:41 +01:00