-
Notifications
You must be signed in to change notification settings - Fork 5.1k
feat(source-smoke-test): new Smoke Test Source for testing destinations #75181
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
Merged
Aaron ("AJ") Steers (aaronsteers)
merged 10 commits into
master
from
devin/1773820598-source-smoke-test
Mar 19, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
45dc475
feat(source-smoke-test): add minimal Python scaffold backed by PyAirbyte
devin-ai-integration[bot] f1476bc
fix: address ruff formatting (import order, blank line)
devin-ai-integration[bot] 0c821d4
fix: enable registry overrides for oss and cloud
devin-ai-integration[bot] 15d05e8
chore: pin airbyte>=0.40.0 (source-smoke-test now available)
devin-ai-integration[bot] 0e41ef3
fix: add dev dependency group and poetry.lock for Docker build
devin-ai-integration[bot] 6b987bc
fix: add docs, changelog, PyPi publishing, and metadata fields for pr…
devin-ai-integration[bot] ae901c3
fix: change cdk tag to low-code (no direct airbyte-cdk dependency)
devin-ai-integration[bot] 0e3870b
fix: revert cdk tag to cdk:python (correct semantics, pre-release che…
devin-ai-integration[bot] e1fa559
fix: add airbyte-cdk = "*" to satisfy pre-release CDK check
devin-ai-integration[bot] 383a489
fix: use airbyte-cdk>=6.0.0 instead of wildcard (wildcard rejected by…
devin-ai-integration[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
airbyte-integrations/connectors/source-smoke-test/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| # Source Smoke Test | ||
|
|
||
| Smoke test source for destination regression testing. Generates synthetic data | ||
| across predefined scenarios that cover common destination failure patterns: | ||
| type variations, null handling, naming edge cases, schema variations, and | ||
| batch size variations. | ||
|
|
||
| This connector is a thin wrapper around | ||
| [PyAirbyte's smoke test source](https://github.com/airbytehq/PyAirbyte). | ||
| All business logic lives in the `airbyte.cli.smoke_test_source` module of PyAirbyte. | ||
|
|
||
| ## Local Development | ||
|
|
||
| ### Prerequisites | ||
|
|
||
| - Python 3.10+ | ||
| - Poetry | ||
|
|
||
| ### Install Dependencies | ||
|
|
||
| ```bash | ||
| cd airbyte-integrations/connectors/source-smoke-test | ||
| poetry install | ||
| ``` | ||
|
|
||
| ### Run the Connector | ||
|
|
||
| ```bash | ||
| # Print the spec | ||
| poetry run source-smoke-test spec | ||
|
|
||
| # Check the connection | ||
| poetry run source-smoke-test check --config secrets/config.json | ||
|
|
||
| # Discover the catalog | ||
| poetry run source-smoke-test discover --config secrets/config.json | ||
| ``` | ||
|
|
||
| For general connector development guidance, see the | ||
| [Connector Development Guide](https://docs.airbyte.com/connector-development/). |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # | ||
| # Copyright (c) 2024 Airbyte, Inc., all rights reserved. | ||
| # | ||
|
|
||
| from source_smoke_test.run import run | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| run() |
37 changes: 37 additions & 0 deletions
37
airbyte-integrations/connectors/source-smoke-test/metadata.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| data: | ||
| ab_internal: | ||
| ql: 100 | ||
| sl: 100 | ||
| allowedHosts: | ||
| hosts: [] | ||
| connectorBuildOptions: | ||
| baseImage: docker.io/airbyte/python-connector-base:4.0.2@sha256:9fdb1888c4264cf6fee473649ecb593f56f58e5d0096a87ee0b231777e2e3e73 | ||
| connectorSubtype: api | ||
| connectorType: source | ||
| definitionId: 4eb59af1-e69b-4849-84f0-5d81cc5ce490 | ||
| dockerImageTag: 0.1.0 | ||
| dockerRepository: airbyte/source-smoke-test | ||
| documentationUrl: https://docs.airbyte.com/integrations/sources/smoke-test | ||
| githubIssueLabel: source-smoke-test | ||
| icon: icon.svg | ||
| license: ELv2 | ||
| name: Smoke Test | ||
| registryOverrides: | ||
| oss: | ||
| enabled: true | ||
| cloud: | ||
| enabled: true | ||
| releaseStage: alpha | ||
| releases: | ||
| breakingChanges: {} | ||
| remoteRegistries: | ||
| pypi: | ||
| enabled: true | ||
| packageName: airbyte-source-smoke-test | ||
| supportLevel: community | ||
| tags: | ||
| - language:python | ||
| - cdk:python | ||
| connectorTestSuitesOptions: | ||
| - suite: unitTests | ||
| metadataSpecVersion: "1.0" | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.