test(bun): expand runtime smoke coverage - #10048
Conversation
Bun 1.4.0 provides enough Node.js compatibility to pin async scope propagation, HTTP parentage, and Express auto-instrumentation in the runtime job.
…-bun-1-4-smoke-tests
Each unit spec runs in a separate Bun process because shared tracer and timer state makes a combined Mocha process order-dependent.
…-bun-1-4-smoke-tests
Bun's --bun mode replaces node recursively, so the Bun job can use the same package-script definitions as Node.
npm exec installs a missing package automatically in CI, while the global bootstrap restated the Bun version. Read the bootstrap version from package.json and invoke the installed local binary so Dependabot owns one pin.
Overall package sizeSelf size: 8.56 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.4.0 | 127.33 kB | 447.04 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: 744cbf4 | Docs | View more details | Give us feedback! |
BenchmarksBenchmark execution time: 2026-08-31 12:31:11 Comparing candidate commit 744cbf4 in PR branch Found 1 performance improvements and 0 performance regressions! Performance is the same for 2293 metrics, 16 unstable metrics.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #10048 +/- ##
========================================
Coverage 98.60% 98.60%
========================================
Files 992 992
Lines 149800 149800
Branches 12758 13096 +338
========================================
Hits 147704 147704
Misses 2096 2096 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This updates Bun to 1.4.0 and expands the runtime smoke suite to verify trace export, startup telemetry, async context propagation, HTTP client/server parenting, and Express route instrumentation.
Bun remains pinned as an exact development dependency so Dependabot updates the runtime and lockfile together. CI reads that pin for its bootstrap and runs the existing
test:coreandtest:shimmerscripts through the installed local binary.Proxyquire-dependent suites remain excluded because Bun treats
module._loadas a no-op. Proxyquire therefore cannot intercept CommonJS child loads through its Node-specific loader hook.