[copilot] move NuGet cache to /mnt#10610
Merged
jonathanpeppers merged 1 commit intomainfrom Nov 24, 2025
Merged
Conversation
Context: https://learn.microsoft.com/nuget/consume-packages/managing-the-global-packages-and-cache-folders Move build caches to secondary disk to prevent disk space issues Redirects all NuGet caches to `/mnt` (secondary disk with 74GB) to avoid filling `/dev/root` during Copilot builds. Environment variables configured: - `NUGET_PACKAGES`, `NUGET_HTTP_CACHE_PATH`, `NUGET_PLUGINS_CACHE_PATH`, `NUGET_SCRATCH`
Member
Author
Member
Author
|
Ok, this one is even more impactful than the last: So, should free up that much space. |
grendello
pushed a commit
that referenced
this pull request
Dec 5, 2025
…10629) Context: #10629 The Copilot GitHub Actions runner was running out of disk space with 76% used (54G/72G) after checkout, leaving only 18GB free for builds. Changes: - Remove `/usr/local/lib/android` before checkout (~12GB pre-installed SDK/NDK) - Add `fetch-depth: 1` for shallow clones of main repo and submodules Results: - Disk usage after checkout: 59% (42G/72G) with 30GB free - Saved 12GB total, providing sufficient space for build operations - Build caches already redirected to /mnt (66GB available) via #10610
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Context: https://learn.microsoft.com/nuget/consume-packages/managing-the-global-packages-and-cache-folders
Move build caches to secondary disk to prevent disk space issues
Redirects all NuGet caches to
/mnt(secondary disk with 74GB) to avoid filling/dev/rootduring Copilot builds.Environment variables configured:
NUGET_PACKAGES,NUGET_HTTP_CACHE_PATH,NUGET_PLUGINS_CACHE_PATH,NUGET_SCRATCH