- Notifications
You must be signed in to change notification settings - Fork 4.9k
🎉 Source Stripe:: improve 404 handling for CheckoutSessionsLineItems stream #10165
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
Conversation
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
CheckoutSessionsLineItems stream Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
Codecov Report
@@ Coverage Diff @@ ## master #10165 +/- ## ========================================= Coverage ? 70.22% ========================================= Files ? 3 Lines ? 225 Branches ? 0 ========================================= Hits ? 158 Misses ? 67 Partials ? 0 Continue to review full report at Codecov.
|
| /test connector=connectors/source-stripe
|
| /test connector=connectors/source-stripe
|
| params["expand[]"] = ["data.discounts", "data.taxes"] | ||
| return params | ||
| | ||
| @property |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we handle the response errors for all streams? It looks like the error could be floating.
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
| /test connector=connectors/source-stripe
|
antixar left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please deploy your changes
| /publish connector=connectors/source-stripe
|
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
Signed-off-by: Sergey Chvalyuk grubberr@gmail.com
What
Try to fix this PR https://github.com/airbytehq/oncall/issues/127
There was inconsistency between this 2 HTTP requests:
First HTTP request returned
session_id=cs_live_HaU2qbxGozr98NLN6PQVtAEP2kJciKAIq337MY763uWCi89kXT08l9lMand 2-nd request returned
404for this session_id. This can happen if during 1-st HTTP request object existed on server but brefore 2-nd HTTP request object was already removed by somebody else.How
Current solution just skip such 404 sub-requests and log them.
Recommended reading order
x.javay.python🚨 User Impact 🚨
Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.
Pre-merge Checklist
Community member or Airbyter
airbyte_secret./gradlew :airbyte-integrations:connectors:<name>:integrationTest.README.mdbootstrap.md. See description and examplesdocs/integrations/<source or destination>/<name>.mdincluding changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>command is passing./publishcommand described here