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

Fix pagination issue while setting is_resumable properly #45101

Conversation

maxi297
Copy link
Contributor

@maxi297 maxi297 commented Sep 3, 2024

What

Basically, even though we set the cursor as “not RFR”, the stream is considered resumable because of this as the HttpStream always defines the state property even though when calling the state method for the StripeStream we get AttributeError: _state. As it is considered resumable but is not incremental, the checkpoint mode is RFR and we end up looping indefinitely one ignored responses

How

Manually flagging is_resumable on each streams

User Impact

Streams failing because on how it was resuming should start working again.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Sep 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Sep 3, 2024 3:36pm

Copy link
Contributor

@girarda girarda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes sense. the issue is that Stripe is concurrent, which does not support RFR

@girarda
Copy link
Contributor

girarda commented Sep 3, 2024

/approve-and-merge reason="Regression tests are failing because 5.5.2 has a pagination bug causing an infinite loop"

@octavia-approvington
Copy link
Contributor

Approve this
imagine the commander saying yes

@octavia-approvington octavia-approvington merged commit 09fef1c into master Sep 3, 2024
33 of 36 checks passed
@octavia-approvington octavia-approvington deleted the maxi297/fix-pagination-issue-while-setting-resumable-properly branch September 3, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/stripe
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants