Revert "fix(startup-log): emit immediately after init and send to stderr"#7478
Revert "fix(startup-log): emit immediately after init and send to stderr"#7478
Conversation
Overall package sizeSelf size: 4.58 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.6 | 81.92 kB | 813.08 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7478 +/- ##
=======================================
Coverage 80.30% 80.31%
=======================================
Files 731 731
Lines 31134 31131 -3
=======================================
- Hits 25003 25002 -1
+ Misses 6131 6129 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
BenchmarksBenchmark execution time: 2026-02-10 23:30:11 Comparing candidate commit 2cfed86 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 231 metrics, 29 unstable metrics. |
Changed startup logs to output to stderr (via console.warn) instead of stdout (via console.info), following Unix conventions and aligning with other Datadog language tracers. This is a minimal change that only swaps the output stream - no changes to timing or function structure. Changes: - Changed startupLog() to use warn() instead of info() for stderr output - Updated all tests to expect console.warn instead of console.info Related to #7470 (which was reverted in #7478 due to regression from immediate emission timing change). This PR includes only the stderr output change without any timing modifications. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changed startup logs to output to stderr (via console.warn) instead of stdout (via console.info), following Unix conventions and aligning with other Datadog language tracers. This is a minimal change that only swaps the output stream - no changes to timing or function structure. Changes: - Changed startupLog() to use warn() instead of info() for stderr output - Updated all tests to expect console.warn instead of console.info Related to #7470 (which was reverted in #7478 due to regression from immediate emission timing change). This PR includes only the stderr output change without any timing modifications. Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Changed startup logs to output to stderr (via console.warn) instead of stdout (via console.info), following Unix conventions and aligning with other Datadog language tracers. This is a minimal change that only swaps the output stream - no changes to timing or function structure. Changes: - Changed startupLog() to use warn() instead of info() for stderr output - Updated all tests to expect console.warn instead of console.info Related to #7470 (which was reverted in #7478 due to regression from immediate emission timing change). This PR includes only the stderr output change without any timing modifications. Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Changed startup logs to output to stderr (via console.warn) instead of stdout (via console.info), following Unix conventions and aligning with other Datadog language tracers. This is a minimal change that only swaps the output stream - no changes to timing or function structure. Changes: - Changed startupLog() to use warn() instead of info() for stderr output - Updated all tests to expect console.warn instead of console.info Related to #7470 (which was reverted in #7478 due to regression from immediate emission timing change). This PR includes only the stderr output change without any timing modifications. Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Reverts #7470
This caused a regression where loaded integrations are not longer included in the startup logs, which is one of the most crucial information we get from them. As it's blocking us from releasing, I'm reverting for now.