Commit 6cfb9a3
committed
Honor aborts in retry handling
Prefer cancellation over transport failure when a signal aborts while
fetching or waiting to retry. This keeps doubleKnock() from wrapping a
late cancellation as FetchError.
Remove the now-unneeded fallback throw after the retry loop by making the
loop explicit about running until it returns or throws.
#763 (comment)
#763 (comment)
#763 (comment)
Assisted-by: Codex:gpt-5.51 parent dfc4e29 commit 6cfb9a3
2 files changed
Lines changed: 52 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1883 | 1883 | | |
1884 | 1884 | | |
1885 | 1885 | | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
1886 | 1921 | | |
1887 | 1922 | | |
1888 | 1923 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1344 | 1344 | | |
1345 | 1345 | | |
1346 | 1346 | | |
1347 | | - | |
| 1347 | + | |
1348 | 1348 | | |
1349 | 1349 | | |
1350 | 1350 | | |
| |||
1354 | 1354 | | |
1355 | 1355 | | |
1356 | 1356 | | |
1357 | | - | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1358 | 1364 | | |
1359 | 1365 | | |
1360 | 1366 | | |
| |||
1366 | 1372 | | |
1367 | 1373 | | |
1368 | 1374 | | |
1369 | | - | |
1370 | 1375 | | |
1371 | 1376 | | |
1372 | 1377 | | |
| |||
1376 | 1381 | | |
1377 | 1382 | | |
1378 | 1383 | | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
| 1384 | + | |
| 1385 | + | |
1387 | 1386 | | |
1388 | 1387 | | |
1389 | 1388 | | |
1390 | 1389 | | |
1391 | 1390 | | |
1392 | 1391 | | |
1393 | 1392 | | |
1394 | | - | |
| 1393 | + | |
1395 | 1394 | | |
1396 | 1395 | | |
1397 | 1396 | | |
| |||
1418 | 1417 | | |
1419 | 1418 | | |
1420 | 1419 | | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
1421 | 1426 | | |
1422 | 1427 | | |
1423 | 1428 | | |
| |||
0 commit comments