v0.9.2-beta.6
Pre-release
Pre-release
·
271 commits
to main
since this release
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 ontracerProvider.shutdown(). The provider fan-out isPromise.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 spansok diagnose bundleexists to harvest and caused the intermittentTelemetry > Gate combination 4failure. 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