Skip to content

Conversation

@saintstack
Copy link
Contributor

Use terminate() (SIGTERM) before kill() (SIGKILL) to give processes time to flush output. Wait 5 seconds for graceful shutdown before forcing kill.

Captures partial output from TimeoutExpired exception and combines with remaining output after termination. Generates fallback XML if no output captured (hung containers).

(Improvement suggested by @johscheuer)

Use terminate() (SIGTERM) before kill() (SIGKILL) to give processes time
to flush output. Wait 5 seconds for graceful shutdown before forcing kill.

Captures partial output from TimeoutExpired exception and combines with
remaining output after termination. Generates fallback XML if no output
captured (hung containers).

(Suggestion from johscheuer)
Copy link
Member

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@saintstack saintstack merged commit 1dbfdd3 into FoundationDB:main Dec 5, 2025
2 checks passed
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.

2 participants