Skip to content

Commit

Permalink
Remove retry logic (#389)
Browse files Browse the repository at this point in the history
The retries make debugging strictly more complex, and it's not clear
that retrying provides actual value. If we need retries in the future,
we should push them down into the per-API level.
  • Loading branch information
sethvargo committed Feb 2, 2024
1 parent 5a50e58 commit 39c96a3
Show file tree
Hide file tree
Showing 5 changed files with 272 additions and 297 deletions.
10 changes: 7 additions & 3 deletions action.yml
Expand Up @@ -132,24 +132,28 @@ inputs:
default: ''
required: false

# retries
# retries - TODO - remove in v3.0
retries:
description: |-
Number of times to retry a failed authentication attempt. This is useful
for automated pipelines that may execute before IAM permissions are fully
propogated.
default: '3'
deprecationMessage: |-
This field is no longer used and will be removed in a future release.
required: false
backoff:
description: |-
Delay time before trying another authentication attempt. This is
implemented using a fibonacci backoff method (e.g. 1-1-2-3-5). The default
value is 250 milliseconds.
default: '250'
deprecationMessage: |-
This field is no longer used and will be removed in a future release.
required: false
backoff_limit:
description: |-
Limits the retry backoff to the specified value.
deprecationMessage: |-
This field is no longer used and will be removed in a future release.
required: false

# id token params
Expand Down
6 changes: 3 additions & 3 deletions dist/main/index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/post/index.js

Large diffs are not rendered by default.

0 comments on commit 39c96a3

Please sign in to comment.