Repository navigation
fix(actions): reserve space for Linux runner setup - #510
Merged
Merged
Conversation
Nothing but Nix reserves only 1 GiB outside its disk image by default. When /mnt shares the root filesystem, that reserve must also accommodate the action dependencies and downloaded tools. Recent runner images no longer cache our pinned Node version, and installing Node leaves too little space to extract the Cupboard release archive. Reserve 4 GiB through mnt-safe-haven in the Linux prepare action. Setup then has room outside /nix. The root-safe-haven input controls later expansion and does not affect this initial allocation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Linux prepare action currently leaves only 1 GiB outside the Nix disk image. On runners where
/mntshares the root filesystem, setup must fit downloaded tools, action dependencies and the Cupboard archive in that reserve. New runner images cache Node 24.22.0 instead of the pinned 24.21.0, so setup downloads another Node installation and then runs out of space while extracting Cupboard.Set
mnt-safe-havento 4096 MiB so Linux runner setup has 4 GiB outside/nix. This uses the existing Nothing but Nix input and applies whenevermaximise-spaceis enabled.The failing ARM job and x86 job both exhausted root space before any target builds started, despite retaining more than 80 GiB free under
/nix.Validation:
pnpm checkrun passed every group except remote-store end-to-end tests, which encountered acache.nixos.orgDNS failure and daemon disconnections. All 14 remote-store tests passed on a separate retry.