Skip to content

Conversation

@ghyatzo
Copy link
Contributor

@ghyatzo ghyatzo commented May 10, 2025

Alternative to #1146 fixes #1153

only remove a version from the installed version database if we successfully deleted them.
When failing to remove a version, at least on windows, it is most likely that that version is still running somewhere.
Added a bit of text to hint at that possibility.

With this change juliaup gc works as intended after that message.

regarding #1146: it might still be useful to have orphan pruning capabilities as a fallback, but i've opted to keep the two PRs separate for easier review and merging

@davidanthoff
Copy link
Collaborator

Awesome, thanks!

@davidanthoff davidanthoff merged commit ee2eb35 into JuliaLang:main Jul 21, 2025
25 checks passed
@christiangnrd christiangnrd mentioned this pull request Aug 27, 2025
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.

Julia versions assumed removed even if failing to remove them, leads to orphaned versions.

2 participants