Skip to content

Conversation

@naoNao89
Copy link
Contributor

Replace generic .unwrap() calls with .expect() containing descriptive messages that document critical assumptions about signal availability and argument validation.

  • SIGTERM: .expect("TERM signal should always be valid")
  • SIGKILL: .expect("KILL signal should always be valid")
  • SIGCONT: .expect("CONT signal should always be valid")

These are POSIX.1 standard signals guaranteed on all Unix systems. See GNU manual - Signal specifications.

Replace generic .unwrap() calls with .expect() and more explicit error
handling patterns. This improves robustness while making failure modes
clear and debuggable.
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)

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