Skip to content

fix: don't infinitely loop prompting to fetch dependencies if it fails#548

Open
doorgan wants to merge 2 commits intomainfrom
doorgan/dependency-infinite-loop
Open

fix: don't infinitely loop prompting to fetch dependencies if it fails#548
doorgan wants to merge 2 commits intomainfrom
doorgan/dependency-infinite-loop

Conversation

@doorgan
Copy link
Copy Markdown
Collaborator

@doorgan doorgan commented Apr 2, 2026

Fix #534

I couldn't reproduce it, but from the looks of it, it's very likely it happens because the :clean_and_fetch_deps handler unconditionally returns :ok, so the upstream code doesn't know how to properly handle a failure to fetch deps and keeps asking to fetch them again.

Also to avoid spamming further and to also provide a way for the user to properly retry deps fetching in case of error(or refuse to keep trying), a new notification and handler for a "Retry" path is added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

endless loop of asking to fetch deps

1 participant