Skip to content

fix: make curl usage more robust#1638

Merged
RoyalOughtness merged 3 commits intosecureblue:livefrom
HastD:curl-options
Dec 1, 2025
Merged

fix: make curl usage more robust#1638
RoyalOughtness merged 3 commits intosecureblue:livefrom
HastD:curl-options

Conversation

@HastD
Copy link
Copy Markdown
Collaborator

@HastD HastD commented Nov 29, 2025

Consistently use curl -fLsS --retry 5 in build scripts and workflows that use curl, ensuring that curl handles HTTP errors, follows redirects, retries on encountering errors that are typically temporary, and does not suppress error output in case of failure. This should make curl more robust in the presence of transient network issues and make such issues more apparent in build logs when they do occur.

In the one place where curl is used in a ujust script, use a temporary file to ensure we don't end up writing partial output if curl fails.

Consistently use `curl -fLsS --retry 5` in build scripts and workflows
that use curl, ensuring that curl handles HTTP errors, follows
redirects, retries on encountering errors that are typically temporary,
and does not suppress error output in case of failure. This should make
curl more robust in the presence of transient network issues and make
such issues more apparent in build logs when they do occur.

In the one place where curl is used in a ujust script, use a temporary
file to ensure we don't end up writing partial output if curl fails.
@RoyalOughtness RoyalOughtness enabled auto-merge (squash) December 1, 2025 00:14
@RoyalOughtness RoyalOughtness merged commit 3924d18 into secureblue:live Dec 1, 2025
20 of 24 checks passed
@HastD HastD deleted the curl-options branch December 1, 2025 01:13
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.

3 participants