-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Ella/fail on extra fields #23985
Ella/fail on extra fields #23985
Conversation
Affected Connector ReportNOTE
|
Connector | Version | Changelog | Publish |
---|---|---|---|
source-railz |
0.1.1 |
✅ | ✅ |
- See "Actionable Items" below for how to resolve warnings and errors.
✅ Destinations (0)
Connector | Version | Changelog | Publish |
---|
- See "Actionable Items" below for how to resolve warnings and errors.
✅ Other Modules (0)
Actionable Items
(click to expand)
Category | Status | Actionable Item |
---|---|---|
Version | ❌ mismatch |
The version of the connector is different from its normal variant. Please bump the version of the connector. |
⚠ doc not found |
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug. |
|
Changelog | ⚠ doc not found |
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug. |
❌ changelog missing |
There is no chnagelog for the current version of the connector. If you are the author of the current version, please add a changelog. | |
Publish | ⚠ not in seed |
The connector is not in the seed file (e.g. source_definitions.yaml ), so its publication status cannot be checked. This can be normal (e.g. some connectors are cloud-specific, and only listed in the cloud seed file). Please double-check to make sure that it is not a bug. |
❌ diff seed version |
The connector exists in the seed file, but the latest version is not listed there. This usually means that the latest version is not published. Please use the /publish command to publish the latest version. |
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 but please consider my comment about nested properties.
Please bump the version in the dockerfile + update changelog if you want to publish a new version of CAT.
Thank you for this addition, I'm sure it'll help us detect API changes faster.
airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/asserts.py
Show resolved
Hide resolved
airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_core.py
Show resolved
Hide resolved
...te-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/test_core.py
Outdated
Show resolved
Hide resolved
I double-checked the other categories (failed for another reason) for beta and GA connectors and rebuilt/reran them. Most fell into the "success" or "failed and needs bypass" and the only one which didn't is failing on connector-health. So I am relatively confident we caught what we could! Going to get this in and work on
|
Tried to run airtable in the PR because of single-use token shenanigans, but realized it wasn't using the local version of CAT. Now running here with |
/test connector=connectors/source-slack connector-acceptance-test-version=dev
Build PassedTest summary info:
|
/test connector=connectors/source-linkedin-ads connector-acceptance-test-version=dev
Build PassedTest summary info:
|
/publish connector=bases/connector-acceptance-test auto-bump-version=false if you have connectors that successfully published but failed definition generation, follow step 4 here
if you have connectors that successfully published but failed definition generation, follow step 4 here |
@alafanechere thank you! Forget that one a lot 🙈 |
TODO
What
fail_on_extra_columns
input parameter, which defaults totrue
.How
During the basic read test, during schema validation, artificially inject/overwrite
additionalProperties
on the top level of the schema to be set tofalse
. Records that come in with extra properties will then fail the test. Don't do this iffail_on_extra_columns
is set to True.In order to avoid this breaking CAT runs for all of our GA/beta connectors and making it hard for teams to deploy updates to those connectors, I ran this test locally on all connectors. Beta and GA connectors that failed specifically due to the new
Additional properties are not allowed
validation were updated so thatfail_on_extra_columns: True
is set on their basic read tests.Recommended reading order
connector-acceptance-tests/test_core.py
: introduction of new test logicconnector-acceptance-tests/unit_tests/test_core.py
: unit tests for new logicacceptance-test-config.yml
files: connectors which have been updated to bypass this logic for now until their specs are updated🚨 User Impact 🚨
No end user impact. Connector developers might find that a connector starts failing CAT because of this test. If so, they can add a bypass or fix the behavior (we attempted to add as many bypasses as possible for faiiling connectors to avoid this sudden failing).
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
bootstrap.md
. See description and examplesdocs/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
bootstrap.md
. See description and examplesdocs/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