Commit 5053d35
chore: release 0.49.2 — retry SERVICE_UNAVAILABLE (bounded) (#688)
* chore: retry StatusCode::SERVICE_UNAVAILABLE
* changelog
* chore: nudge PR sync
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* docs: clarify SERVICE_UNAVAILABLE retry in changelog
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* .
* fix: bound SERVICE_UNAVAILABLE retries like TOO_MANY_REQUESTS
The 503 retry branch looped forever (no cap, no deadline), unlike the
429 branch which gives up after 6 retries. A persistent 503 hung the
caller indefinitely. This also broke the wasm browser test job, whose
mock service worker uses 503 as its "handler threw" sentinel.
Merge the two branches so 503 shares the same 6-retry cap as 429.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* chore: release 0.49.2 — retry SERVICE_UNAVAILABLE (bounded)
Bump all workspace crates 0.49.1 -> 0.49.2. Patch release: the HTTP
retry logic now also retries 503 SERVICE_UNAVAILABLE, sharing the same
6-retry bound as 429 TOO_MANY_REQUESTS.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Linwei Shang <linwei.shang@dfinity.org>1 parent e3d9394 commit 5053d35
4 files changed
Lines changed: 22 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
2406 | 2406 | | |
2407 | 2407 | | |
2408 | 2408 | | |
2409 | | - | |
| 2409 | + | |
2410 | 2410 | | |
2411 | 2411 | | |
2412 | 2412 | | |
2413 | 2413 | | |
2414 | 2414 | | |
2415 | | - | |
| 2415 | + | |
2416 | 2416 | | |
2417 | 2417 | | |
2418 | 2418 | | |
| |||
2436 | 2436 | | |
2437 | 2437 | | |
2438 | 2438 | | |
2439 | | - | |
| 2439 | + | |
| 2440 | + | |
| 2441 | + | |
2440 | 2442 | | |
2441 | 2443 | | |
2442 | 2444 | | |
| |||
0 commit comments