Skip to content

Conversation

@mitchellwrosen
Copy link
Member

Overview

This PR fixes the upgrade fzf behavior. On trunk, a zero-argument upgrade will keep asking for completions forever, but neither Ctrl+C nor Ctrl+D to stop providing libraries does the right thing.

In this PR, a zero-arg upgrade launches FZF twice. If you want to do a multi-library upgrade, you have to type out all of the library names manually, without FZF.

Implementation notes

I reverted the new ZeroPlus "trailing parameter" type that I added when generalizing upgrade to take more than 2 arguments. It turns out we already had the trailing parameter type we wanted, called Optional, I just misunderstood how it worked.

Test coverage

I tested this change manually

@mitchellwrosen mitchellwrosen merged commit d9a0e39 into trunk Nov 4, 2025
30 of 31 checks passed
@mitchellwrosen mitchellwrosen deleted the 25-11-03-upgrade-fzf branch November 4, 2025 15:46
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.

4 participants