Skip to content

feat(download): allow retry delay overrides - #27048

Merged
mattsse merged 1 commit into
mainfrom
mattsse/test-download-retry-delay
Sep 7, 2026
Merged

feat(download): allow retry delay overrides#27048
mattsse merged 1 commit into
mainfrom
mattsse/test-download-retry-delay

Conversation

@mattsse

@mattsse mattsse commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Add reth download --retry-backoff <DURATION> to override retry delays while preserving the existing defaults and attempt counts. The checksum-failure test uses zero delay and now explicitly checks ten fresh archive downloads and exhausted integrity validation, alongside the failed exit status and absent final database/configuration.

The test fell from 48.147s to 3.181s in CI, about 93% faster; locally, the same assertions took 48.633s without the option and 3.685s / 3.634s with zero delay. The checksum mismatch is intentional, and no integrity check is bypassed. All 580 integration tests passed, with two unrelated tests retrying. Authored with Codex.

Preserve default retry schedules while allowing a fixed delay for custom endpoints. The checksum failure test uses zero delay and explicitly checks ten fresh downloads before failed finalization. It runs in 3.685s locally; the CI baseline is 48.147s, including 45s of backoff.
@mattsse mattsse added C-test A change that impacts how or what we test A-cli Related to the reth CLI labels Sep 6, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in Reth Tracker Sep 6, 2026
@mattsse
mattsse marked this pull request as ready for review September 6, 2026 20:51
@mattsse
mattsse enabled auto-merge September 7, 2026 10:52
@github-project-automation github-project-automation Bot moved this from Backlog to In Progress in Reth Tracker Sep 7, 2026
@mattsse
mattsse added this pull request to the merge queue Sep 7, 2026
Merged via the queue into main with commit 0297d4f Sep 7, 2026
40 checks passed
@mattsse
mattsse deleted the mattsse/test-download-retry-delay branch September 7, 2026 11:04
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Reth Tracker Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Related to the reth CLI C-test A change that impacts how or what we test

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants