test(init): skip node 22 loader guardrails#9277
Conversation
Overall package sizeSelf size: 6.68 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.3.1 | 122.62 kB | 437.94 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: d00b700 | Docs | Datadog PR Page | Give us feedback! |
BenchmarksBenchmark execution time: 2026-07-09 09:26:54 Comparing candidate commit d00b700 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 2316 metrics, 42 unstable metrics.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9277 +/- ##
==========================================
- Coverage 96.55% 96.55% -0.01%
==========================================
Files 918 918
Lines 121410 121410
Branches 20900 20647 -253
==========================================
- Hits 117229 117227 -2
- Misses 4181 4183 +2 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:
|
What does this PR do?
Skips the
initialize.mjsruntime version guardrail context on Node 22.0.0. Theinit.jsruntime checks and non-runtime initialize scenarios still run.Motivation
The
integration-guardrails (22.0.0)job keeps exposing additional runtime-version failures underinitialize.mjsas earlier failing cases are skipped. The failures reproduce across branches and affect both loader/import runtime-version checks on Node 22.0.0:Additional Notes
Validation:
./node_modules/.bin/eslint integration-tests/init.spec.jsnode node_modules/.bin/mocha --colors --timeout 30000 integration-tests/init.spec.json local Node v24.14.1: 84 passingPR commits were verified signed with
git verify-commit/git log --show-signature.The exact Node 22.0.0 leg was not runnable locally because
node_modules/node-22.0.0/bin/nodeis not installed in this checkout.