Skip to content

Commit 39c96a3

Browse files
authored
Remove retry logic (#389)
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.
1 parent 5a50e58 commit 39c96a3

5 files changed

Lines changed: 272 additions & 297 deletions

File tree

action.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,24 +132,28 @@ inputs:
132132
default: ''
133133
required: false
134134

135-
# retries
135+
# retries - TODO - remove in v3.0
136136
retries:
137137
description: |-
138138
Number of times to retry a failed authentication attempt. This is useful
139139
for automated pipelines that may execute before IAM permissions are fully
140140
propogated.
141-
default: '3'
141+
deprecationMessage: |-
142+
This field is no longer used and will be removed in a future release.
142143
required: false
143144
backoff:
144145
description: |-
145146
Delay time before trying another authentication attempt. This is
146147
implemented using a fibonacci backoff method (e.g. 1-1-2-3-5). The default
147148
value is 250 milliseconds.
148-
default: '250'
149+
deprecationMessage: |-
150+
This field is no longer used and will be removed in a future release.
149151
required: false
150152
backoff_limit:
151153
description: |-
152154
Limits the retry backoff to the specified value.
155+
deprecationMessage: |-
156+
This field is no longer used and will be removed in a future release.
153157
required: false
154158

155159
# id token params

dist/main/index.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/post/index.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)