Commit af8ba8c
Replace custom retry strategy with HxClient in RepositoryProvider (#6351) [ci fast]
* Replace custom retry strategy with HxClient in RepositoryProvider
- Remove custom Failsafe-based retry implementation (~70 lines)
- Replace with HxClient using HxConfig for centralized retry handling
- Upgrade lib-httpx dependency from 1.0.0 to 1.2.0 for HxConfig support
- Maintain backward compatibility with setRetryConfig() and isRetryable() methods
- Preserve all existing functionality including HTTP redirect handling
- Consolidate retry logic across Nextflow to use consistent HxClient approach
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Remove obsolete retry tests that are now handled by HxClient
The custom retry implementation tests are no longer applicable since
retry logic is now centralized in HxClient. The retry functionality
is thoroughly tested via integration tests in all repository providers.
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>1 parent 148a8a1 commit af8ba8c
File tree
2 files changed
+31
-110
lines changed- modules/nextflow/src
- main/groovy/nextflow/scm
- test/groovy/nextflow/scm
2 files changed
+31
-110
lines changedLines changed: 31 additions & 72 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 19 | | |
24 | 20 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 21 | | |
32 | 22 | | |
33 | 23 | | |
| 24 | + | |
34 | 25 | | |
35 | 26 | | |
| 27 | + | |
36 | 28 | | |
37 | 29 | | |
38 | 30 | | |
39 | 31 | | |
40 | 32 | | |
41 | 33 | | |
| 34 | + | |
| 35 | + | |
42 | 36 | | |
43 | 37 | | |
44 | 38 | | |
| |||
75 | 69 | | |
76 | 70 | | |
77 | 71 | | |
78 | | - | |
79 | | - | |
| 72 | + | |
| 73 | + | |
80 | 74 | | |
81 | 75 | | |
82 | 76 | | |
| |||
413 | 407 | | |
414 | 408 | | |
415 | 409 | | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
| 410 | + | |
447 | 411 | | |
448 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
449 | 416 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | 417 | | |
458 | | - | |
459 | | - | |
460 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
461 | 424 | | |
462 | 425 | | |
463 | 426 | | |
| |||
476 | 439 | | |
477 | 440 | | |
478 | 441 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
488 | 447 | | |
| 448 | + | |
| 449 | + | |
489 | 450 | | |
490 | 451 | | |
491 | 452 | | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
501 | 458 | | |
| 459 | + | |
| 460 | + | |
502 | 461 | | |
503 | 462 | | |
504 | 463 | | |
| |||
Lines changed: 0 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | 122 | | |
161 | 123 | | |
162 | 124 | | |
| |||
0 commit comments