Skip to content

fix(devenv): retry tx receipt fetch with exponential backoff - #1361

Merged
jadepark-dev merged 3 commits into
mainfrom
jade/tcapi-missing-evm-receipt
Aug 20, 2026
Merged

fix(devenv): retry tx receipt fetch with exponential backoff#1361
jadepark-dev merged 3 commits into
mainfrom
jade/tcapi-missing-evm-receipt

Conversation

@jadepark-dev

Copy link
Copy Markdown
Contributor

Description

Retry transaction receipt fetch with exponential backoff (1s, 2s, 4s, max 3 retries) using sethvargo/go-retry, already a dependency. Fixes flaky not found errors in e2e tests after tx confirmation.

Context: deployed-env compatible devenv test: https://github.com/smartcontractkit/chainlink-ccip-solana/pull/288

Flaky test: https://github.com/smartcontractkit/chainlink-ccip-solana/actions/runs/32148751563/job/95750326969?pr=288#step:6:117

Testing

Unit tests cover: success after transient not-found, non-retryable error bail-out, max retry exhaustion, context cancellation.

Checklist

  • Breaking changes documented in changelog (see changelog directory)
  • Cross link related PRs (in this or other repositories)

@github-actions

Copy link
Copy Markdown

Code coverage report:

Package main jade/tcapi-missing-evm-receipt Diff
github.com/smartcontractkit/chainlink-ccv/aggregator 50.86% 50.86% +0.00%
github.com/smartcontractkit/chainlink-ccv/bootstrap 70.72% 70.72% +0.00%
github.com/smartcontractkit/chainlink-ccv/cli 59.12% 59.12% +0.00%
github.com/smartcontractkit/chainlink-ccv/cmd 36.93% 36.93% +0.00%
github.com/smartcontractkit/chainlink-ccv/common 46.51% 46.51% +0.00%
github.com/smartcontractkit/chainlink-ccv/executor 42.80% 42.80% +0.00%
github.com/smartcontractkit/chainlink-ccv/indexer 35.60% 35.60% +0.00%
github.com/smartcontractkit/chainlink-ccv/integration 56.56% 56.56% +0.00%
github.com/smartcontractkit/chainlink-ccv/internal 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/migration 77.66% 77.66% +0.00%
github.com/smartcontractkit/chainlink-ccv/pkg 100.00% 100.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/pricer 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/protocol 63.06% 63.06% +0.00%
github.com/smartcontractkit/chainlink-ccv/tools 43.61% 43.61% +0.00%
github.com/smartcontractkit/chainlink-ccv/verifier 34.37% 34.36% -0.01%
Total 49.00% 49.00% +0.00%

@jadepark-dev
jadepark-dev marked this pull request as ready for review August 20, 2026 10:36
@jadepark-dev
jadepark-dev requested a review from a team as a code owner August 20, 2026 10:36
@jadepark-dev
jadepark-dev added this pull request to the merge queue Aug 20, 2026
Merged via the queue into main with commit 348cf20 Aug 20, 2026
45 checks passed
@jadepark-dev
jadepark-dev deleted the jade/tcapi-missing-evm-receipt branch August 20, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants