Skip to content

Clarify that --keep-failed with remote builders will keep the failed build directory on that builder#13320

Merged
Mic92 merged 2 commits into
NixOS:masterfrom
DeterminateSystems:keep-failed-remote-builders-warning
Jun 3, 2025
Merged

Clarify that --keep-failed with remote builders will keep the failed build directory on that builder#13320
Mic92 merged 2 commits into
NixOS:masterfrom
DeterminateSystems:keep-failed-remote-builders-warning

Conversation

@cole-h
Copy link
Copy Markdown
Member

@cole-h cole-h commented Jun 3, 2025

Motivation

While some may be able to intuit that passing --keep-failed when using remote builders will indeed keep the failed build directory on the remote builder, others may expect it to be accessible on the local machine (especially when the build log includes the message note: keeping build directory '/tmp/nix-shell.8G497s/nix-build-failing.drv-16/build' for example).

This adds a warning in the case that a remote build fails and --keep-failed was passed, to inform the user that the failed build directory was kept -- but on the remote builder itself.

Context

Related: DeterminateSystems#85


Add 👍 to pull requests you find important.

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

@cole-h cole-h requested a review from edolstra as a code owner June 3, 2025 15:53
@github-actions github-actions Bot added the with-tests Issues related to testing. PRs with tests have some priority label Jun 3, 2025
@Mic92 Mic92 merged commit 4b8f74b into NixOS:master Jun 3, 2025
13 checks passed
@cole-h cole-h deleted the keep-failed-remote-builders-warning branch June 3, 2025 18:23
@roberth roberth added backport 2.28-maintenance Automatically creates a PR against the branch backport 2.29-maintenance Automatically creates a PR against the branch backports created Does not require attention and can be filtered away labels Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.28-maintenance Automatically creates a PR against the branch backport 2.29-maintenance Automatically creates a PR against the branch backports created Does not require attention and can be filtered away with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants