Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry fetching messages when indexing on v2 #3613

Merged
merged 3 commits into from
Apr 16, 2024
Merged

Conversation

tkporter
Copy link
Collaborator

@tkporter tkporter commented Apr 16, 2024

Description

  • Retries infinitely for messages. This avoids skipping a message range and preventing the message processor loop from proceeding
  • Intentionally does not retry for IGP payments - this is required bc Solana IGP payment indexing is broken atm, so we can expect errors there. In practice this has not been an issue, only message indexing

Drive-by changes

Related issues

Backward compatibility

Testing

Copy link

changeset-bot bot commented Apr 16, 2024

⚠️ No Changeset found

Latest commit: 4ef46bf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codecov bot commented Apr 16, 2024

Codecov Report

Merging #3613 (57e7687) into v2 (30e9107) will not change coverage.
The diff coverage is n/a.

❗ Current head 57e7687 differs from pull request most recent head 4ef46bf. Consider uploading reports for the commit 4ef46bf to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##               v2    #3613   +/-   ##
=======================================
  Coverage   71.02%   71.02%           
=======================================
  Files          95       95           
  Lines        1446     1446           
  Branches      189      189           
=======================================
  Hits         1027     1027           
  Misses        410      410           
  Partials        9        9           
Components Coverage Δ
core 94.82% <ø> (ø)
hooks 38.46% <ø> (ø)
isms 67.48% <ø> (ø)
token ∅ <ø> (∅)
middlewares 62.93% <ø> (ø)

@tkporter tkporter changed the title [draft] Retry fetching messages when indexing on v2 Retry fetching messages when indexing on v2 Apr 16, 2024
@tkporter tkporter marked this pull request as ready for review April 16, 2024 12:41
@tkporter tkporter requested a review from nambrot as a code owner April 16, 2024 12:41
@tkporter tkporter merged commit 6451de6 into v2 Apr 16, 2024
20 of 27 checks passed
@tkporter tkporter deleted the trevor/retry-indexing-v2 branch April 16, 2024 12:42
daniel-savu pushed a commit that referenced this pull request Jun 5, 2024
### Description

- Retries infinitely for messages. This avoids skipping a message range
and preventing the message processor loop from proceeding
- Intentionally does not retry for IGP payments - this is required bc
Solana IGP payment indexing is broken atm, so we can expect errors
there. In practice this has not been an issue, only message indexing

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants