Skip to content

src: require watchdog status pointers - #64667

Open
Archkon wants to merge 1 commit into
nodejs:mainfrom
Archkon:watchdog
Open

src: require watchdog status pointers#64667
Archkon wants to merge 1 commit into
nodejs:mainfrom
Archkon:watchdog

Conversation

@Archkon

@Archkon Archkon commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Remove the nullptr defaults from Watchdog and SigintWatchdog result parameters. Both watchdogs unconditionally dereference these pointers, so callers must explicitly provide valid status storage.

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Jul 22, 2026
@Archkon
Archkon force-pushed the watchdog branch 3 times, most recently from c7b0efa to 78d9f11 Compare July 22, 2026 07:48
@codecov

codecov Bot commented Jul 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.29%. Comparing base (4a5eb1c) to head (a5b4e7c).
⚠️ Report is 180 commits behind head on main.

Files with missing lines Patch % Lines
src/node_watchdog.cc 0.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #64667      +/-   ##
==========================================
+ Coverage   90.15%   90.29%   +0.13%     
==========================================
  Files         744      759      +15     
  Lines      242517   247648    +5131     
  Branches    45688    46693    +1005     
==========================================
+ Hits       218642   223606    +4964     
- Misses      15358    15516     +158     
- Partials     8517     8526       +9     
Files with missing lines Coverage Δ
src/node_watchdog.h 44.44% <ø> (ø)
src/node_watchdog.cc 68.14% <0.00%> (-0.61%) ⬇️

... and 163 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.

@Archkon

Archkon commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

@avivkeller Could you apply request-ci for this pr?

@avivkeller avivkeller added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 26, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 26, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@Archkon

Archkon commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

@avivkeller Could you take a look at these failed tests ?

@avivkeller

Copy link
Copy Markdown
Member

Looks like a rebasing issue

@Archkon
Archkon force-pushed the watchdog branch 2 times, most recently from 133715b to 518698c Compare July 26, 2026 17:37
@Archkon

Archkon commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

@avivkeller Rebased, and you need to apply request-ci again

@Archkon

Archkon commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

@avivkeller Could you apply request-ci for this?

Comment thread src/node_watchdog.h
Remove the nullptr defaults from Watchdog and SigintWatchdog result
parameters. Both watchdogs unconditionally dereference these pointers,
so callers must explicitly provide valid status storage.

Signed-off-by: Archkon <180910180+Archkon@users.noreply.github.com>
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++. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants