Repository navigation
Conversation
4 tasks done
v0d1ch
added a commit
to cardano-scaling/hydra
that referenced
this pull request
Apr 20, 2026
fix #2579 #2562 - Add `retryOnBlockfrostError` helper with exponential backoff (1s→60s cap, max 10 retries) for our own `APIBlockfrostError` variants (`DecodeError`, `MissingNextBlockHash`, `MissingBlockNo`, etc.) - Wrap `catchUpToLatest` in the retry helper so transient errors during chain catch-up don't crash the node - Make `DecodeError` retryable (was previously fatal) since partial HTTP responses can cause transient CBOR decode failures - Blockfrost API errors (timeouts, rate limits, 5xx) will be handled by the upstream client library (see [blockfrost-haskell#88](blockfrost/blockfrost-haskell#88)) ~NOTE: Do not merge until blockfrost/blockfrost-haskell#88 is merged and the BF version is updated in hydra-node.~ ( Edit: @noonio - it's merged now and I've updated the versions. ) <!-- Consider each and tick it off one way or the other --> * [x] CHANGELOG updated or not needed * [x] Documentation updated or not needed * [x] Haddocks updated or not needed * [x] No new TODOs introduced or explained herafter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add retry logic, client will retry most transient errors like connection timeouts, up to 5 times with exponential backoff.