Idea: Automatically clean up superseded nightly builds and builder cache #336
Labels
No labels
area/build
area/install
area/mods
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher#336
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported on Discord
What would you like?
Automatically remove superseded game builds (or retain only a configurable/reasonable number), and add a manual launcher action to clean old builds and clear builder cache. The reporter says nightly updates leave complete old build folders behind, and the current build folder grows when built in place.
Why?
The reported Longshot installation uses 130.8 GB: 51.6 GB current nightly-894 build, 29.7 GB superseded nightly-841 folder no longer referenced in
versions.json, 24.5 GB game source, and 22.9 GB builder work cache. The reporter says the old build and cache consume space needed for other projects. They would like cleanup to be visible and preferably ask before deleting.What happened / current workaround
The reporter has no cleanup button and reports the launcher does not remove superseded builds automatically. Launcher #221 added a Storage page in v1.1.0, including removal of unlisted leftover game folders and build work controls; however, their report indicates this does not address these particular retained folders/cache or provide the desired automatic cleanup. The feature request is distinct from the currently open #317, which concerns removal of builds from a previous launcher installation.
Missing information
Launcher version/channel and operating system were not provided. Please confirm the launcher version/channel, OS, and whether the current Storage page's Installed games/Build tools groups show these items or allow removing them.