Repository navigation
make setup tries a download three times - #107
Merged
Merged
Conversation
arduino-cli gives up at once where a server resets the connection, and its update-index failed the dev container's postCreateCommand on a rebuild of MaxMatrix: VS Code then skipped the rest, the compilation databases and, on that attach, the copy of .gitconfig and gh auth setup-git. download() in common.sh runs a command that downloads again after 10 and 20 seconds, and returns the third failure; arduino-cli's setup and PlatformIO's go through it.
theAndreas
force-pushed
the
setup-retry
branch
from
November 16, 2026 15:51
abad04b to
263412d
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A rebuild of MaxMatrix's dev container failed today in its
postCreateCommand:make setupranarduino-cli core update-index, the server reset the connection once, and arduino-cli gave up at once. VS Code then skipped everything after it: the compilation databases clangd reads, and on that attach the copy of the host's.gitconfigandgh auth setup-git, so that git had no name to commit with until a reload of the window. Runningmake setupagain a minute later passed.make setupnow tries each download up to three times, 10 and 20 seconds apart, through a small function intools/common.sh. arduino-cli's setup and PlatformIO's go through it; a third failure still fails, with the tool's own status. uv retries on its own and is left alone.For a project: nothing to do.
How it was checked: a project made from this branch, with a stand-in for
arduino-clion thePATHthat failscore update-indexas often as it is told, as the real one failed:make setuppasses;make setupfails with arduino-cli's status 1;tests/check.sh lintpasses, shellcheck among it.