-
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
qa-engine: implement early enrichments and validations on QA report #21776
Conversation
2b59dd4
to
9697f07
Compare
Airbyte Code Coverage
|
9697f07
to
366663b
Compare
de933c0
to
76fda5f
Compare
f320e64
to
3a160f8
Compare
3a160f8
to
ff33a0a
Compare
INAPPROPRIATE_FOR_CLOUD_USE_CONNECTORS = [ | ||
"8be1cf83-fde1-477f-a4ad-318d23c9f3c6", # Local CSV | ||
"a625d593-bba5-4a1c-a53d-2d246268a816", # Local JSON | ||
"b76be0a6-27dc-4560-95f6-2623da0bd7b6" # Local SQL Lite | ||
] |
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.
👍
Perhaps one day we store this information in the metadata
from pydantic import BaseModel | ||
|
||
class ConnectorTypeEnum(str, Enum): | ||
source = "source" | ||
destination = "destination" | ||
|
||
class ReleaseStageEnum(str, Enum): | ||
unknown = "unknown" |
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.
What unknown connectors did you find?
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.
- source-freshcaller
- source-genesys
- source-rss
- destination-e2e-testing
# TODO YET TO IMPLEMENT VALIDATIONS | ||
qa_report["latest_build_is_successful"] = False # TODO, tracked in https://github.com/airbytehq/airbyte/issues/21720 | ||
qa_report["number_of_connections"] = 0 # TODO, tracked in https://github.com/airbytehq/airbyte/issues/21721 | ||
qa_report["number_of_users"] = 0 # TODO, tracked in https://github.com/airbytehq/airbyte/issues/21721 | ||
qa_report["sync_success_rate"] = .0 # TODO, tracked in https://github.com/airbytehq/airbyte/issues/21721 |
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.
👍 good placeholders for future work
What
Closes #21719
Closes #21724
Closes #21722
Implement generation of QA report with actual data from the OSS and Cloud combined catalogs.
Generate a report with the expected columns and implement early checks:
documentation_is_available
is_appropriate_for_cloud_use
How
Create an enriched intermediate catalog:
Create the QA report from the enriched catalog:
documentation_is_available
: check if GET documentation url returns200
.is_appropriate_for_cloud_use
: check if the connector definition id is part of theINAPPROPRIATE_FOR_CLOUD_USE
list.