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
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>
@Archkon
Archkon force-pushed the watchdog branch 2 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

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.16%. Comparing base (594d0c5) to head (78d9f11).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #64667      +/-   ##
==========================================
+ Coverage   90.12%   90.16%   +0.04%     
==========================================
  Files         741      741              
  Lines      242149   242459     +310     
  Branches    45574    45802     +228     
==========================================
+ Hits       218229   218623     +394     
+ Misses      15447    15332     -115     
- Partials     8473     8504      +31     
Files with missing lines Coverage Δ
src/node_watchdog.h 44.44% <ø> (ø)

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

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.

2 participants