Cancelling a build locally does not cancel the remote build #552

Closed
opened 2024-10-16 14:10:48 +00:00 by mweinelt · 2 comments
Member

Describe the bug

When building remotely and cancelling the local nix-build through Ctrl+C the remote build will not be cancelled any more.

Steps To Reproduce

  1. Set up remote building
  2. Go to git checkout staging
  3. Run e.g. nix-build -A python3
  4. Press Ctrl+c
  5. Observe the build still running on the remote builder
  • via systemctl status nix-daemon
  • or e.g. nix-top on the remote builder

Expected behavior

Cancelling the local nix-build process should stop the remote build.

nix --version output

nix (Lix, like Nix) 2.92.0-dev-pre20241009-9865eba

Additional context

## Describe the bug When building remotely and cancelling the local `nix-build` through Ctrl+C the remote build will not be cancelled any more. ## Steps To Reproduce 0. Set up remote building 1. Go to `git checkout staging` 2. Run e.g. `nix-build -A python3` 3. Press Ctrl+c 4. Observe the build still running on the remote builder - via systemctl status nix-daemon - or e.g. nix-top on the remote builder ## Expected behavior Cancelling the local nix-build process should stop the remote build. ## `nix --version` output nix (Lix, like Nix) 2.92.0-dev-pre20241009-9865eba ## Additional context -
mweinelt added the
bug
label 2024-10-16 14:10:48 +00:00
Owner

sounds like #540

sounds like #540
Author
Member

Indeed. Let me update to that.

Indeed. Let me update to that.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#552
No description provided.