Idea: Automatically clean up superseded nightly builds and builder cache #336

Open
opened 2026-11-28 07:00:23 +00:00 by BeanBot · 0 comments
Member

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.

Reported on [Discord](https://discord.com/channels/1569849200047427645/1576130553781035189/1576130553781035189) ## 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](https://git.magicbean.dev/MagicBeanDev/LongshotLauncher/pulls/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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/LongshotLauncher#336
No description provided.