Repository navigation
test_runner: add tags and workerId to SuiteContext - #67312
Merged
nodejs-github-bot merged 3 commits intoNov 16, 2026
Merged
nodejs-github-bot merged 3 commits into
nodejs-github-bot merged 3 commits into
Conversation
TestContext exposes tags and workerId, but SuiteContext does not, so a describe() callback cannot read the suite's tags, including the ones inherited from ancestor suites. Expose both on SuiteContext as well. Signed-off-by: sangwook <rewq5991@gmail.com>
Collaborator
|
Review requested:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #67312 +/- ##
==========================================
- Coverage 93.00% 90.72% -2.29%
==========================================
Files 428 798 +370
Lines 195818 280026 +84208
Branches 30283 53858 +23575
==========================================
+ Hits 182117 254044 +71927
- Misses 13375 16282 +2907
- Partials 326 9700 +9374
🚀 New features to boost your workflow:
|
TestContextexposestagsandworkerId, butSuiteContextdoesn't, so adescribe()callback can't read the suite's tags, including inherited ones.This adds both to
SuiteContext, like #62504 did forpassed,attemptanddiagnostic().Disclosure: I used a coding agent to help investigate and draft this change. I confirmed the missing properties on a main build, reviewed the change, and verified that the new tests fail without it.