fix(rivetkit): exit pid1 after signal shutdown#5045
Conversation
Code Review: fix(rivetkit): exit pid1 after signal shutdownOverviewThis PR fixes a real and important edge case: when a Node.js process runs as PID 1 inside a container (e.g., Docker), the OS kernel does not install default signal handlers. Re-raising Correctness
Code Quality
Suggestions / Minor Observations
Security / PerformanceNo security or performance concerns. This is a purely behavioral fix for a container deployment edge case. SummaryClean, minimal, and correct fix. Code quality is good, conventions are followed, and the change is appropriately scoped. The main gap is that the PR description does not describe how it was tested — worth documenting before merging. Verdict: Looks good. Suggest documenting the manual test method in the PR description. |
a20fe59 to
e344619
Compare
253e406 to
87e5d7d
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: