Repository navigation
test(cli): skip the hangup case when the runner already ignores SIGHUP - #965
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 49 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here. So far, Strix has reviewed 392 pull requests, surfaced 113 security issues (1 critical/high) and blocked 3 risky merges across this workspace. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #965 +/- ##
==========================================
- Coverage 63.09% 63.09% -0.01%
==========================================
Files 2254 2254
Lines 135180 135180
==========================================
- Hits 85294 85287 -7
- Misses 37525 37531 +6
- Partials 12361 12362 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Follow-up to #959.
The installer deliberately keeps a SIGHUP that the caller already ignores (nohup). The hangup test case that expects cancellation therefore fails when the test process itself was started under nohup, for example in a detached remote run: the child exits with 4 instead of 0.
The case now skips itself when SIGHUP is already ignored. The preserved-ignore case still runs. Normal runs are unchanged.