SIGN IN SIGN UP

fix(core): Prevent lost wakeups in batch processors (#5756)

* fix(core): Prevent lost wakeups in batch processors

Coordinate log and metric flush scheduling through an atomic state transition. This ensures events added while a flush completes always have a pending task instead of relying on the running Future's completion state.

Fixes #5739

Co-Authored-By: Claude <noreply@anthropic.com>

* changelog

---------

Co-authored-by: Claude <noreply@anthropic.com>
A
Alexander Dinauer committed
98106dd4bc11d056c20427c3e65bf8abb9d4ccc3
Parent: 20be537
Committed by GitHub <noreply@github.com> on 7/13/2026, 12:30:44 PM