Skip to content

Handle keyboard interrupts with serial jobrunner SO--#375

Merged
dormrod merged 1 commit intofix2026from
DavidOrmrodMorley/sigint-fixes
Mar 12, 2026
Merged

Handle keyboard interrupts with serial jobrunner SO--#375
dormrod merged 1 commit intofix2026from
DavidOrmrodMorley/sigint-fixes

Conversation

@dormrod
Copy link
Contributor

@dormrod dormrod commented Mar 12, 2026

Performing a keyboard interrupt with a serial job runner could lead to a hang unless Ctrl+C was pressed again.

This was because the finally block in the job run was trying to access job results, which is a blocking operation unless the job results was set.

This change specifically checks this scenario and marks the job as failed with completed results.

@dormrod dormrod merged commit 989d566 into fix2026 Mar 12, 2026
21 checks passed
@dormrod dormrod deleted the DavidOrmrodMorley/sigint-fixes branch March 12, 2026 09:02
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