Skip to content

inspector: add Target.getTargets and extract TargetManager#62487

Open
cola119 wants to merge 1 commit intonodejs:mainfrom
cola119:feature/target_getTargets
Open

inspector: add Target.getTargets and extract TargetManager#62487
cola119 wants to merge 1 commit intonodejs:mainfrom
cola119:feature/target_getTargets

Conversation

@cola119
Copy link
Copy Markdown
Member

@cola119 cola119 commented Mar 29, 2026

Add Target.getTargets for worker inspection targets and move target state/session lookup logic out of TargetAgent into a dedicated TargetManager.

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/inspector

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Mar 29, 2026
@cola119 cola119 requested review from islandryu and legendecas March 29, 2026 02:26
@cola119 cola119 added inspector Issues and PRs related to the V8 inspector protocol request-ci Add this label to start a Jenkins CI on a PR. labels Mar 29, 2026
@cola119 cola119 force-pushed the feature/target_getTargets branch from 3a98316 to 6bc600c Compare March 29, 2026 02:31
@github-actions github-actions bot added request-ci-failed An error occurred while starting CI via request-ci label, and manual interventon is needed. and removed request-ci Add this label to start a Jenkins CI on a PR. labels Mar 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Failed to start CI
   ⚠  No approving reviews found
   ✘  Refusing to run CI on potentially unsafe PR
https://github.com/nodejs/node/actions/runs/23699703986

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 29, 2026

Codecov Report

❌ Patch coverage is 93.65079% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.70%. Comparing base (cc96741) to head (6bc600c).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/inspector/target_manager.cc 88.57% 1 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #62487      +/-   ##
==========================================
- Coverage   91.55%   89.70%   -1.85%     
==========================================
  Files         351      694     +343     
  Lines      147653   214035   +66382     
  Branches    23224    41055   +17831     
==========================================
+ Hits       135179   192004   +56825     
- Misses      12217    14093    +1876     
- Partials      257     7938    +7681     
Files with missing lines Coverage Δ
src/inspector/target_agent.cc 96.29% <100.00%> (ø)
src/inspector/target_agent.h 100.00% <100.00%> (ø)
src/inspector/target_manager.h 100.00% <100.00%> (ø)
src/inspector_io.cc 91.80% <100.00%> (ø)
src/inspector/target_manager.cc 88.57% <88.57%> (ø)

... and 458 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@islandryu islandryu added request-ci Add this label to start a Jenkins CI on a PR. and removed request-ci-failed An error occurred while starting CI via request-ci label, and manual interventon is needed. labels Mar 29, 2026
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Mar 29, 2026
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. inspector Issues and PRs related to the V8 inspector protocol lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants