Skip to content

fix: restore UnixLocal PTY terminal signal defaults#3082

Merged
seratch merged 1 commit intomainfrom
fix/unixlocal-pty-terminal-signals
May 2, 2026
Merged

fix: restore UnixLocal PTY terminal signal defaults#3082
seratch merged 1 commit intomainfrom
fix/unixlocal-pty-terminal-signals

Conversation

@seratch
Copy link
Copy Markdown
Member

@seratch seratch commented May 2, 2026

This pull request fixes UnixLocal PTY child signal inheritance for terminal-generated interrupts. After #3075 restored SIGINT, this follow-up centralizes PTY child signal restoration and also resets SIGQUIT to SIG_DFL, so Ctrl-\ is not ignored when the parent process temporarily ignores SIGQUIT.

The change updates src/agents/sandbox/sandboxes/unix_local.py and extends tests/sandbox/test_unix_local.py with parametrized regression coverage for both SIGINT and SIGQUIT. There are no untracked files.

@seratch seratch added this to the 0.15.x milestone May 2, 2026
@github-actions github-actions Bot added bug Something isn't working feature:sandboxes labels May 2, 2026
@seratch seratch enabled auto-merge (squash) May 2, 2026 00:27
@seratch seratch merged commit 41c646d into main May 2, 2026
10 checks passed
@seratch seratch deleted the fix/unixlocal-pty-terminal-signals branch May 2, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working feature:sandboxes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant