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

🐛 Source Salesforce: Break Python application with status 1 on exception #37419

Merged

Conversation

maxi297
Copy link
Contributor

@maxi297 maxi297 commented Apr 18, 2024

What

To fail an attempt, the return code from the source should be != 0. Since the change to support partitioned state, this is not the case for Concurrent CDK. This change ensure that if there was an exception, we return status code 1.

How

Update CDK version following #37390

The rest is updating the tests based on this new exception that is thrown

User Impact

Error will be reported properly as it needs error code != 0 to be reported

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Apr 18, 2024

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

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2024 11:32pm

@octavia-squidington-iv octavia-squidington-iv requested review from a team April 18, 2024 21:14
@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Apr 18, 2024
@maxi297 maxi297 merged commit 9dfd1aa into master Apr 18, 2024
34 of 35 checks passed
@maxi297 maxi297 deleted the maxi297/salesforce-breaking-with-status-code-not-equal-to-1 branch April 18, 2024 23:22
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/salesforce
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants