Skip to content

refactor: remove untrappable SIGKILL from signal.Notify#326

Merged
jwilder merged 1 commit into
masterfrom
quality/20260611-091225
Jun 11, 2026
Merged

refactor: remove untrappable SIGKILL from signal.Notify#326
jwilder merged 1 commit into
masterfrom
quality/20260611-091225

Conversation

@jwilder

@jwilder jwilder commented Jun 11, 2026

Copy link
Copy Markdown
Owner

SIGKILL cannot be caught, blocked, or ignored by any process (it is handled directly by the kernel). Including it in signal.Notify is a no-op that misleads readers into thinking the application handles SIGKILL gracefully. Removing it clarifies the actual signal handling behavior.

Detected by staticcheck SA1016.

SIGKILL cannot be caught, blocked, or ignored by any process (it is
handled directly by the kernel). Including it in signal.Notify is a
no-op that misleads readers into thinking the application handles
SIGKILL gracefully. Removing it clarifies the actual signal handling
behavior.

Detected by staticcheck SA1016.
@jwilder jwilder merged commit 536a013 into master Jun 11, 2026
12 checks passed
@jwilder jwilder deleted the quality/20260611-091225 branch June 11, 2026 09:47
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