fix(sdk): core 1.5.0, node 1.4.0, vite-plugin 1.1.0 (TT-012/018/019/020) - #722
Merged
Merged
Conversation
Publish ingestError in core 1.5.0 for fatal flushes. Node 1.4.0 flushes uncaughtException and unhandledRejection before exit (TT-012/TT-019), times middleware duration on response finish with a single next() (TT-020/#632), and documents exitOnUnhandledRejection. Vite plugin 1.1.0 publishes sourceMappingURL-based bundle_url (TT-018). Harden publish-packages for clean tagged checkouts with stamped gitHead. Refs #711 #718 #719 #720 #632 Co-authored-by: Sanja Malovic <unjica@users.noreply.github.com>
Normalize null/undefined/primitive/object throws for ingest and Node fatal handlers; await in-flight trackError sends on rethrow; make fatal flush timeout configurable and clear/unref the timer. Require origin/main + per-package version tags for publish, block --allow-dirty and direct folder publishes, abort if core fails, and run publish-guard tests in CI. Refs #711 #718 #719 #720 #632 Co-authored-by: Sanja Malovic <unjica@users.noreply.github.com>
Replace Symbol marker writes with a WeakSet so freeze/seal/preventExtensions Errors still ingest. Harden flushFatalError so telemetry-internal failures cannot escape as Node exit code 7. Keep in-flight WeakMap dedupe for trackError(e); throw e. Refs #711 Co-authored-by: Sanja Malovic <unjica@users.noreply.github.com>
unjica
marked this pull request as ready for review
September 27, 2026 08:08
Co-authored-by: Sanja Malovic <unjica@users.noreply.github.com>
Merged
This was referenced Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Coordinated SDK package release prep (no npm publish in this PR). Updated after QA runtime pass on frozen/sealed/non-extensible Errors.
@telemetry-tracker/coreingestError()+toReportableError(); WeakSet dedupe (no Error mutation)@telemetry-tracker/node^1.5.0(via publish rewrite)@telemetry-tracker/vite-pluginsourceMappingURLbundle_urlresolutionRefs #711 (TT-012), #718 (TT-018), #719 (TT-019), #720 (TT-020), #632.
Latest fix (frozen/sealed/non-extensible)
WeakSet/ in-flightWeakMap— never mutates Error objectsflushFatalError/ingestErrorswallow telemetry-internal failures so they cannot become exit code 7Object.freeze/seal/preventExtensionstrackError(e); throw ein-flight await behaviourHow to test
Out of scope
Checklist