test_runner: report the correct type when dequeuing tests #66037
All Vouch review confidence checks passed
Residual risk 0.10 = Change Risk (0.35) × (1 − Review Confidence (0.70)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 48 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.55 · 2 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.233
Real PR Conversation Timeline
5 items
Review requested:
Approved
Approved these changes.
Approved
Approved these changes.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 90.24%. Comparing base (
ed6f3bc) to head (b5ee9aa).:warning: Report is 71 commits behind head on main.
<details><summary>Additional details and impacted files</summary>
@@ Coverage Diff @@
## main #66037 +/- ##
==========================================
+ Coverage 89.98% 90.24% +0.26%
==========================================
Files 784 789 +5
Lines 268410 270476 +2066
Branches 51130 51748 +618
==========================================
+ Hits 241519 244087 +2568
+ Misses 17433 16873 -560
- Partials 9458 9516 +58
| Files with missing lines | Coverage Δ | |
|---|---|---|
| lib/internal/test\_runner/test.js | 97.94% <100.00%> (ø) | |
... and 104 files with indirect coverage changes
</details>
<details><summary> :rocket: New features to boost your workflow: </summary>
</details>
MoLow
hanityx
processPendingSubtests()emitstest:dequeuewith the parent'sreportedTypeinstead of the dequeued test's type. With randomizedexecution, this can report a suite as a test and a test as a suite.
Use the dequeued test's
reportedTypeand extend the existingevent-type test to cover randomized execution.
Refs: https://github.com/nodejs/node/pull/54049