Tiago Freire
809d2a60ea
fix: gate backend_initialized on actual batch creation success
...
In first_time_trace_handler._initialize_backend_and_send_events,
backend_initialized was set to True unconditionally after calling
_initialize_backend_batch, regardless of whether the server-side
batch was actually created. This caused _send_events_to_backend and
finalize_batch to run against a non-existent batch.
Now check trace_batch_id after _initialize_backend_batch returns;
if None (batch creation failed), call _gracefully_fail and return
early, skipping event send and finalization.
2026-03-25 09:27:44 -03:00
..
2026-01-30 17:10:00 -05:00
2026-03-25 19:39:42 +08:00
2026-03-15 18:33:17 -07:00
2026-03-04 00:45:09 -05:00
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2026-02-04 20:34:08 -03:00
2025-12-05 13:23:26 -05:00
2026-01-27 14:56:50 -08:00
2025-12-04 10:27:52 -08:00
2026-03-24 12:05:43 -03:00
2026-03-10 14:00:40 -04:00
2026-03-24 02:56:10 -03:00
2025-11-29 16:55:24 -05:00
2025-11-05 07:19:09 -05:00
2026-02-13 21:34:37 -03:00
2025-10-20 14:10:19 -07:00
2026-03-24 19:03:35 +08:00
2026-02-13 21:34:37 -03:00
2025-12-04 13:34:29 -08:00
2026-03-02 07:42:55 -05:00
2026-03-20 16:04:52 -04:00
2026-03-25 09:27:44 -03:00
2026-03-18 15:05:41 -03:00
2025-10-20 14:10:19 -07:00
2026-03-15 18:33:17 -07:00
2026-03-23 14:43:43 -07:00
2026-03-20 15:18:50 -04:00
2026-01-22 17:44:03 -08:00
2026-01-23 15:13:25 -05:00
2025-10-20 14:10:19 -07:00
2026-03-13 00:32:22 -04:00
2025-12-01 18:56:56 -05:00
2026-02-16 18:41:03 -03:00
2025-10-20 14:10:19 -07:00
2026-02-04 15:40:22 -05:00
2026-01-23 15:13:25 -05:00
2026-01-20 21:44:45 -08:00
2025-10-20 14:10:19 -07:00
2026-03-25 03:42:39 -03:00
2025-11-24 17:35:12 -05:00
2026-03-09 09:38:35 -04:00
2025-10-20 14:10:19 -07:00
2026-03-17 05:19:31 -03:00
2026-03-23 14:43:43 -07:00
2025-10-20 14:10:19 -07:00
2026-03-24 12:05:43 -03:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2026-03-20 15:18:50 -04:00
2025-11-29 16:55:24 -05:00
2026-02-03 10:10:33 -03:00
2026-02-03 09:06:48 -05:00
2026-02-25 17:13:34 -05:00
2025-10-20 14:10:19 -07:00