Skip to content

test(cli): skip the hangup case when the runner already ignores SIGHUP - #965

Merged
777genius merged 1 commit into
mainfrom
fix/hangup-test-ignored-sighup
Nov 16, 2026
Merged

777genius merged 1 commit into
mainfrom
fix/hangup-test-ignored-sighup

Conversation

@777genius

Copy link
Copy Markdown
Owner

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.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 5aba8b5 and b0d8bb0.

Files selected for processing: 1

  • cli/cmd/agentplugins/signal_context_unix_test.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@777genius
777genius marked this pull request as ready for review November 16, 2026 23:35
@strix-security

Copy link
Copy Markdown

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.

@777genius
777genius merged commit 69ffa4f into main Nov 16, 2026
86 of 92 checks passed
@777genius
777genius deleted the fix/hangup-test-ignored-sighup branch November 16, 2026 23:35
@codecov

codecov Bot commented Nov 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.09%. Comparing base (726899a) to head (b0d8bb0).
⚠️ Report is 4 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant