-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hello.
We encounter an issue where the action fails in the chainctl curl download due to a timeout.
Run chainguard-dev/setup-chainctl@main
Run cd $(mktemp -d)
Downloading chainctl from https://dl.enforce.dev/chainctl/latest/chainctl_linux_x86_64
Error: Process completed with exit code 28.
It is not repeatable/reproducible just a flaky timeout issue.
But when it happens our entire job/pipeline fails, and we try to eliminate such incidents that can be avoided by a simple retry.
Can you please consider adding a retry to the curl to avoid "flakiness"
e.g
Line 85 in f52718d
| curl -o ./${out} -fsL "${url}" |
this can be as simple as
curl -o ./${out} -fsL --retry 5 "${url}"
or more complicated with configurable values etc...
I can provide a PR if it helps.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working