Skip to content

v0.0.15

Choose a tag to compare

@jdwyah jdwyah released this 15 May 12:19
· 109 commits to main since this release
  • Fix (SSE): count ld-eventsource internal reconnects (qfg-ie49). ld-eventsource auto-reconnects on a clean socket FIN internally and never fires on_error, so the qfg-ll6r on_error-based restart_total sat at 0 under flapping outages (chaos scenario 09). restart_total now counts actual reconnects via a pass-through logger wrapper that watches ld-eventsource's per-reconnect "Will retry connection after" info line (the only hook the library exposes) plus SDK-driven reconnects in @retry_thread. on_error is no longer a counting source.
  • Fix (SSE): backoff reset interval (qfg-ie49). New sse_reconnect_reset_interval option, default 1s. ld-eventsource's 60s default lets the backoff run away under flapping — the SDK is mid-sleep when later kills land. 1s mirrors sdk-python's reset-on-every-successful-connect. Sustained outages still back off exponentially.
  • Fix (SSE): make ReconnectCountingLogger raise-proof (qfg-cf52). ld-eventsource calls the logger from inside a bare-Thread run_stream loop with several call sites unguarded by rescue. A throwing wrapper would kill the worker with @stopped=false, silently wedging the SSE stream. Every wrapper step is now independently rescued.

See CHANGELOG.md.