-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 facebook marketing source SAT fail on invalid config file #5621
Conversation
58ee0b9
to
d23205d
Compare
d23205d
to
ce6ba03
Compare
@@ -6,13 +6,13 @@ repos: | |||
args: ["--tmpl=LICENSE", "--ext=py", "-f"] | |||
|
|||
- repo: https://github.com/ambv/black | |||
rev: stable | |||
rev: 20.8b1 |
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.
Why did you decide to specify the correct version and not leave the stable?
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.
This version are used in our gradle config.
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, except 1 typo
airbyte-cdk/python/CHANGELOG.md
Outdated
@@ -1,5 +1,8 @@ | |||
# Changelog | |||
|
|||
## 0.1.13 | |||
In case of passed config file are not comply with spec schema raise an exception instead of sending airbyte error message and exit. |
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.
In case of passed config file are not comply with spec schema raise an exception instead of sending airbyte error message and exit. | |
If the input config file does not comply with spec schema, raise an exception instead of `system.exit`. |
@avida why does changing from system.exit to raise excception solve the problem? Isn't the main fix just changing |
9041bac
to
eb35029
Compare
SAT expecting something to be present on stderr in case if application exited with 1 error code, that one of the problem why SAT case failed
Yes but also there should be a traceback on stderr which is expected by SAT. |
What
Resolves #5592
How
Describe the solution
Recommended reading order
x.java
y.python
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
docs/SUMMARY.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
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./publish
command described hereUpdating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
docs/integrations/<source or destination>/<name>.md
including 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./publish
command described hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changes