You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
I have checked that the bug is reproducible with the latest version of Soldeer.
Soldeer Version
soldeer 0.5.2
What Happened?
forge soldeer install on CI sometimes (but quite often) hangs for minutes until it fails with an error, or the job timeouts.
$ forge soldeer install
T 🦌 Soldeer Install 🦌
|* Done reading config
|* Done reading lockfile
|# After several minutes...
— An error occurred during install
Error: Failed to run soldeer error during install operation: error during dependency installation: error downloading dependency: error decoding response body
The main problem is that it doesn’t log anything, even with -vvvvv, so we have no idea what’s going on and troubleshooting is nearly impossible.
Expected Behavior
Running forge soldeer install with --verbose should print what exactly it’s doing (and not just a fancy progress bar).
This looks like a network issue, and I agree that we need verbose logging for debugging. I am in the process of refactoring the core crate to add a bunch more logging, and then we will be able to expose a meaningful verbose flag which would switch off the "pretty" output and perform structured logging. This would be indeed nicer for CI runs.
Regarding the specific problem you're having, I see that you only use dependencies from the registry, and those are normally downloaded from S3 directly (if you have a soldeer.lock available in CI), so I don't think it's an API problem on our side, maybe just a gitlab CI worker connectivity issue.
We could think about adding a default timeout for these requests as well I suppose.
Hmm never mind, I had another issue that was unrelated but behaved similarly, because I was testing on another branch. Let's wait until we get more logging and then we can investigate further.
I have checked the following:
Soldeer Version
soldeer 0.5.2
What Happened?
forge soldeer install
on CI sometimes (but quite often) hangs for minutes until it fails with an error, or the job timeouts.The main problem is that it doesn’t log anything, even with
-vvvvv
, so we have no idea what’s going on and troubleshooting is nearly impossible.Expected Behavior
Running
forge soldeer install
with--verbose
should print what exactly it’s doing (and not just a fancy progress bar).Reproduction Steps
No response
Configuration
foundry.toml:
gitlab-ci.yml:
The text was updated successfully, but these errors were encountered: