Skip to content

test: normalize known inspector crash as completion#62851

Merged
nodejs-github-bot merged 4 commits intonodejs:mainfrom
joyeecheung:probe-error
Apr 23, 2026
Merged

test: normalize known inspector crash as completion#62851
nodejs-github-bot merged 4 commits intonodejs:mainfrom
joyeecheung:probe-error

Conversation

@joyeecheung
Copy link
Copy Markdown
Member

This works around a pre-existing inspector issue: if the debuggee exits too quickly the inspector can segfault while tearing down. For now normalize the trailing segfault as completion to keep the CI green until the upstream bug is fixed, since it only reproduces on some slow CI machines and is not what the probe tests care about.

Refs: #62765
Refs: #58245

This works around a pre-existing inspector issue:
if the debuggee exits too quickly the inspector can
segfault while tearing down. For now normalize the
trailing segfault as completion to keep the CI green
until the upstream bug is fixed, since it only
reproduces on some slow CI machines and is not
what the probe tests care about.
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Apr 20, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.63%. Comparing base (14e16db) to head (715fd86).
⚠️ Report is 51 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #62851   +/-   ##
=======================================
  Coverage   89.62%   89.63%           
=======================================
  Files         706      706           
  Lines      219136   219197   +61     
  Branches    41987    41986    -1     
=======================================
+ Hits       196404   196474   +70     
- Misses      14611    14619    +8     
+ Partials     8121     8104   -17     

see 52 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.

@joyeecheung joyeecheung added the review wanted PRs that need reviews. label Apr 20, 2026
@joyeecheung
Copy link
Copy Markdown
Member Author

cc @legendecas @hybrist

@hybrist
Copy link
Copy Markdown
Contributor

hybrist commented Apr 20, 2026

I was about to suggest something about .at(-1) / pop/push but I'm not sure it actually makes this test-only logic much easier to read. LGTM.

@joyeecheung joyeecheung added the request-ci Add this label to start a Jenkins CI on a PR. label Apr 20, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 20, 2026
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@qodo-ai-reviewer

This comment was marked as spam.

@qodo-ai-reviewer

This comment was marked as spam.

Comment thread test/common/debugger-probe.js
@joyeecheung
Copy link
Copy Markdown
Member Author

Looks like there's a test where it should be normalized to "missed". Updated the logic a bit to accommodate it.

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Comment thread test/common/debugger-probe.js Outdated
Co-authored-by: Jacob Smith <3012099+JakobJingleheimer@users.noreply.github.com>
Comment thread test/common/debugger-probe.js Outdated
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@joyeecheung joyeecheung added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Apr 23, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 23, 2026
@nodejs-github-bot nodejs-github-bot merged commit 3dc06ae into nodejs:main Apr 23, 2026
67 checks passed
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Landed in 3dc06ae

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

Labels

commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. review wanted PRs that need reviews. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants