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

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.15%. Comparing base (4a5eb1c) to head (518698c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #64667   +/-   ##
=======================================
  Coverage   90.15%   90.15%           
=======================================
  Files         744      744           
  Lines      242517   242517           
  Branches    45688    45690    +2     
=======================================
+ Hits       218642   218643    +1     
  Misses      15358    15358           
+ Partials     8517     8516    -1     
Files with missing lines Coverage Δ
src/node_watchdog.h 44.44% <ø> (ø)

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

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 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

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.

3 participants