Skip to content

Call out that --keep-failed with remote builders will keep the failed build directory on that builder#85

Merged
grahamc merged 1 commit into
detsys-mainfrom
keep-failed-remote-builders-warning
Jun 2, 2025
Merged

Call out that --keep-failed with remote builders will keep the failed build directory on that builder#85
grahamc merged 1 commit into
detsys-mainfrom
keep-failed-remote-builders-warning

Conversation

@cole-h
Copy link
Copy Markdown
Member

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

Motivation

Context


Looks something like this:

copying path '/nix/store/cryiszlhhss2h40r3f9m60l92i88m2xd-builder-failing.sh' to 'ssh://localhost'...
note: keeping build directory '/tmp/nix-shell.8G497s/nix-build-failing.drv-16/build'
warning: `--keep-failed` will keep the failed build directory on the remote builder. If the build's architecture matches your host, you can re-run the command with `--builders ''` to disable remote building for this invocation.
error: build of '/nix/store/mqnz9jxm749925bfcgrk0dk5hy5gnz3h-failing.drv' on 'ssh://localhost?remote-store=/tmp/nix-shell.8G497s/nix-test/main/build-remote-input-addressed/machine1?system-features%3Dfoo' failed: Cannot build '/nix/store/mqnz9jxm749925bfcgrk0dk5hy5gnz3h-failing.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/1g84amb7znczw3213msr5k7l1nkbx7i4-failing

@cole-h cole-h requested review from edolstra and grahamc June 2, 2025 21:30
Comment thread src/build-remote/build-remote.cc Outdated
@cole-h cole-h force-pushed the keep-failed-remote-builders-warning branch from d433323 to 2869595 Compare June 2, 2025 21:36
@grahamc grahamc changed the title --keep-failed with remote builders will keep the failed build directory on that builder Call out that --keep-failed with remote builders will keep the failed build directory on that builder Jun 2, 2025
@cole-h cole-h force-pushed the keep-failed-remote-builders-warning branch from 2869595 to 242719c Compare June 2, 2025 21:41
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2025

@github-actions github-actions Bot temporarily deployed to pull request June 2, 2025 21:49 Inactive
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.

3 participants