<@U04S8PLJWMT> how can I validate my connector yam...
# ask-ai
j
@kapa.ai how can I validate my connector yaml from a previous version of airbyte is valid with new release of airbyte?
k
To validate that your connector YAML (specification) from a previous version of Airbyte is still valid with a new release, you should use the connector acceptance tests, specifically the Test Spec. This test verifies that a
spec
operation issued to the connector returns a valid connector specification and, importantly, checks the backward compatibility of the current specification against the previous connector version. By default, the acceptance test will look for a Docker image with the same name but with the
latest
tag to compare versions. If no previous version is found, the test is skipped. You can also configure which previous version to use or disable the backward compatibility test for a specific version in your
acceptance-test-config.yml
file. Key steps: 1. Run the acceptance tests for your connector, ensuring the
Test Spec
is included. 2. The test will automatically validate backward compatibility of the spec with the previous version. 3. If you want to specify a particular previous version or disable the test for a version, adjust the
backward_compatibility_tests_config
in your config file. Example configuration snippet:
Copy code
yaml acceptance_tests:   spec:     tests:       backward_compatibility_tests_config:         previous_connector_version: "1.2.3"  # specify previous version if needed         disable_for_version: "2.0.0"         # disable for a specific version if needed
This process ensures your connector YAML remains valid and compatible with the new Airbyte release, catching any breaking changes or incompatibilities introduced in the update. For more details, see the [Test Spec section of the acceptance tests reference](https://docs.airbyte.com/platform/next/connector-development/testing-connectors/connector-acceptance-tests-reference#test-spec). Additionally, the Test Discovery acceptance test also validates the backward compatibility of the discovered catalog, which can be relevant if your connector's schema changes between versions. This is handled similarly to the spec test and can be configured in the same way. References: - [Acceptance Tests Reference: Test Spec](https://docs.airbyte.com/platform/next/connector-development/testing-connectors/connector-acceptance-tests-reference#test-spec) - [Acceptance Tests Reference: Test Discovery](https://docs.airbyte.com/platform/next/connector-development/testing-connectors/connector-acceptance-tests-reference#test-discovery)
j
@kapa.ai is airbyte-ci still supported and the recommended approach?
k
A message from kapa.ai
No, airbyte-ci is deprecated and is no longer the recommended approach for connector development or testing. The tool is being phased out, and most of its commands now have simpler equivalents in Poe the Poet (
poe
). You are encouraged to use Poe for development tasks, as it is now the preferred and supported tool for local connector development and CI-related workflows. For more information, you can run
poe --help
to discover available commands and see the updated documentation for local connector development tooling [here](https://docs.airbyte.com/platform/next/connector-development/local-connector-development#airbyte-ci-deprecated) and in the [release notes](https://docs.airbyte.com/release_notes/v-1.7#contributors-airbyte-ci-is-deprecated).
j
@kapa.ai ok you shared a page that recommended using airbyte-ci
k
A message from kapa.ai
You are correct—some of the documentation pages I referenced do mention using
airbyte-ci
for running tests and other tasks. However, according to the most recent and relevant documentation and release notes,
airbyte-ci
is now deprecated and is being phased out
. The documentation explicitly states: > The Airbyte CI tool is now deprecated and will be phased out shortly. Most airbyte-ci commands have a simpler equivalent in Poe, which you can discover using
poe --help
 [Source](https://docs.airbyte.com/platform/next/connector-development/local-connector-development#airbyte-ci-deprecated). Additionally, the release notes for Airbyte 1.7 reinforce this: > To simplify and speed up connector development, Airbyte has deprecated the
airbyte-ci
tool. Most
airbyte-ci
commands have simpler equivalents in Poe the Poet [Source](https://docs.airbyte.com/release_notes/v-1.7#contributors-airbyte-ci-is-deprecated). Summary: While some older or transitional documentation may still reference
airbyte-ci
, the current and recommended approach is to use Poe the Poet (
poe
) for connector development and testing tasks. If you see references to
airbyte-ci
, consider them outdated and look for the equivalent Poe commands.
j
@kapa.ai ok my connector was built via the Builder UI, its just a yaml file, no python code. is using this Poe the Poet thing the right approach for that
k
A message from kapa.ai
If your connector was built using the Builder UI and is just a YAML file (with no Python code), then Poe the Poet is not required or relevant for your workflow. The Builder UI is designed for no-code/low-code development and manages validation and testing within the Airbyte web interface itself. You do not need to use local development tools like Poe or airbyte-ci for connectors created and managed through the Builder UI. You can validate and test your connector directly in the Airbyte UI, and if needed, export the YAML manifest for further use. The Builder UI provides built-in validation and feedback as you configure your connector, so no additional command-line tooling is necessary for this use case [Source](https://docs.airbyte.com/platform/next/connector-development/connector-builder-ui/overview).
j
@kapa.ai well the is evidently not true as i get the following error message from the UI: "Your YAML manifest is not compatible with the Connector Builder UI, due to the following error: An unknown error has occurred There is no UI value to switch back to. Please resolve this error with the YAML editor in order to switch to UI mode."
k
A message from kapa.ai
Thank you for clarifying your situation. Based on the knowledge sources provided, this type of error—where the Builder UI reports "Your YAML manifest is not compatible with the Connector Builder UI" and "An unknown error has occurred"—is a known issue, especially after upgrading Airbyte to newer versions (such as 1.7.1 and above). Several users have reported that after upgrading, previously valid YAML manifests (created via the Builder UI) can no longer be edited or validated in the UI, even though they still work for running syncs. The error message you are seeing is consistent with these reports. This is not something you can resolve with Poe the Poet or any other CLI tool, as the Builder UI is responsible for validating and rendering the YAML manifest [Source](https://github.com/airbytehq/airbyte/issues/65568). Key points from the knowledge sources: - This issue often appears after upgrading Airbyte, and is not related to your YAML or Python code, but rather to changes or regressions in the Builder UI or backend API compatibility. - Users have confirmed that even the official tutorial YAML fails with the same error after upgrading, indicating it is not a problem with your specific manifest [Source](https://github.com/airbytehq/airbyte/issues/65568). - There is no mention in the knowledge sources of a CLI tool (like Poe or airbyte-ci) that can validate or fix Builder UI YAML manifests for this scenario. - Some users have resolved related issues by correcting their Kubernetes Ingress or routing configuration, ensuring that
/api/v1/connector_builder
traffic is routed to the correct service. If you are running Airbyte on Kubernetes, you may want to check your Ingress configuration as described here: [Kubernetes Ingress Fix Example](https://github.com/airbytehq/airbyte/issues/63770). What you can do: - If you are running Airbyte on Kubernetes, verify your Ingress or routing configuration to ensure that the Connector Builder API endpoints are correctly routed to the
airbyte-airbyte-connector-builder-server-svc
service. Misrouting can cause 404 or 500 errors in the UI [Source](https://github.com/airbytehq/airbyte/issues/63770). - If your configuration is correct and the issue persists, it is likely a bug or incompatibility in the Builder UI with your current Airbyte version. In this case, you may need to wait for a fix from the Airbyte team or follow updates on the relevant GitHub issues [Source](https://github.com/airbytehq/airbyte/issues/65568). Summary: This error is a known issue after certain Airbyte upgrades and is not something you can resolve with Poe or other CLI tools. The problem is with the Builder UI or backend compatibility, not your YAML or development workflow. Check your deployment's routing if you are self-hosting, and monitor the linked GitHub issues for updates or fixes. If you need to continue editing your connector, you may have to do so directly in the YAML editor until the UI compatibility is restored in a future release.