Skip to content

tests: add writeFull interrupt-handling regression test#15321

Merged
xokdvium merged 1 commit intoNixOS:masterfrom
obsidiansystems:writefull-interrupt-test
Feb 23, 2026
Merged

tests: add writeFull interrupt-handling regression test#15321
xokdvium merged 1 commit intoNixOS:masterfrom
obsidiansystems:writefull-interrupt-test

Conversation

@amaanq
Copy link
Member

@amaanq amaanq commented Feb 23, 2026

Motivation

This commit verifies that writeFull with allowInterrupts=false completes successfully when the interrupt flag is set. This prevents regressions like the one fixed by #15319 where write() called checkInterrupt() unconditionally.


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@amaanq amaanq requested a review from edolstra as a code owner February 23, 2026 16:39
@amaanq amaanq changed the title tests: add writeFull interrupt-handling regression test tests: add writeFull interrupt-handling regression test Feb 23, 2026
This commit verifies that `writeFull` with `allowInterrupts=false` completes
successfully when the interrupt flag is set. This prevents regressions
like the one fixed by NixOS#15255 where `write()` called `checkInterrupt()`
unconditionally.
@amaanq amaanq force-pushed the writefull-interrupt-test branch from 30e1d01 to 6cddf03 Compare February 23, 2026 17:25
@xokdvium
Copy link
Contributor

PR link is wrong?

@amaanq
Copy link
Member Author

amaanq commented Feb 23, 2026

PR link is wrong?

Updated, thank you!

@xokdvium xokdvium added this pull request to the merge queue Feb 23, 2026
Merged via the queue into NixOS:master with commit 9242d74 Feb 23, 2026
15 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