Skip to content

v0.9.2-beta.6

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Jun 01:11
· 271 commits to main since this release
e51c82f

Delta since previous beta (v0.9.2-beta.5) — 1 new changeset.

Patch Changes

  • Fix telemetry shutdown losing local spans when the OTLP collector is unreachable. shutdownTelemetry() now drains the local file-sink exporter on its own awaited promise before the provider-wide teardown, instead of relying on tracerProvider.shutdown(). The provider fan-out is Promise.all(...).then(resolve, reject), which short-circuits the moment the OTLP push processor rejects (a fast ECONNREFUSED when no collector is listening) — pre-empting the file pipeline's still-in-flight disk write. That dropped the very spans ok diagnose bundle exists to harvest and caused the intermittent Telemetry > Gate combination 4 failure. Draining the file sink first makes on-disk span capture independent of the push pipeline's fate; the whole sequence still rides the existing shutdown-timeout race, so a pathological filesystem stall cannot deadlock teardown.
    • @inkeep/open-knowledge-core@0.9.2-beta.0