-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[airbyte-cdk] - Update JSON Error Message Parser to return additional error message fields or default to dict #44010
[airbyte-cdk] - Update JSON Error Message Parser to return additional error message fields or default to dict #44010
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
@clnoll I'm not 100% sure. Do we want to skip or run these regression tests on CDK change? If we want to run them there's indeed a bug to fix. I think we should disable them until fixed to not block the python team. |
To confirm, we want to fix them, but it’s ok to file an issue with details
and prioritize with the other regression tests related work in a batch.
|
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.
@pnilan can you add some unit tests covering these cases?
#44010 (`pnilan/airbyte-cdk-improve-error-messages-parsing`) Certainly! To optimize the given code, especially focusing on runtime improvements, we can. 1. Replace the list comprehension and generator used in the `_try_get_error` method with more efficient alternatives. 2. Optimize the dictionary look-up to check keys sequentially rather than getting values multiple times. Here's the revised code.
⚡️ Codeflash found optimizations for this PR📄
|
/approve-regression-tests
|
This PR is now faster! 🚀 @pnilan accepted my optimizations from: |
This PR is now faster! 🚀 codeflash-ai[bot] accepted my code suggestion above. |
85960ad
to
13f48c9
Compare
/approve-regression-tests
|
What
Can this PR be safely reverted and rolled back?