Skip to content

fix(source-vitally): add missing airbyte_secret flag to secret_token spec field#81345

Open
devin-ai-integration[bot] wants to merge 3 commits into
masterfrom
devin/1782851183-fix-vitally-secret-token
Open

fix(source-vitally): add missing airbyte_secret flag to secret_token spec field#81345
devin-ai-integration[bot] wants to merge 3 commits into
masterfrom
devin/1782851183-fix-vitally-secret-token

docs: add PR number to changelog entry

79f1a08
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / `source-vitally` Connector Test Results failed Jul 1, 2026 in 0s

1 fail, 3 skipped, 1 pass in 4s

5 tests   1 ✅  4s ⏱️
1 suites  3 💤
1 files    1 ❌

Results for commit 79f1a08.

Annotations

Check warning on line 0 in .tmp.integration_tests.test_airbyte_standards.TestSuite

See this annotation in the file changed.

@github-actions github-actions / `source-vitally` Connector Test Results

test_docker_image_build_and_check['config' Test Scenario] (.tmp.integration_tests.test_airbyte_standards.TestSuite) failed

airbyte-integrations/connectors/source-vitally/build/test-results/standard-tests-junit.xml [took 0s]
Raw output
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/airbyte/airbyte/airbyte-integrations/connectors/source-vitally/secrets/config.json'
self = <airbyte_cdk.test.standard_tests.util.TestSuiteAuto object at 0x7f6a41aea010>
scenario = ConnectorTestScenario(config_path=PosixPath('secrets/config.json'), config_dict=None, configured_catalog_path=None, empty_streams=[], timeout_seconds=None, expect_records=None, file_types=None, status='succeed')
connector_image_override = 'airbyte/source-vitally:dev-latest'

    @pytest.mark.skipif(
        shutil.which("docker") is None,
        reason="docker CLI not found in PATH, skipping docker image tests",
    )
    @pytest.mark.image_tests
    def test_docker_image_build_and_check(
        self,
        scenario: ConnectorTestScenario,
        connector_image_override: str | None,
    ) -> None:
        """Run `docker_image` acceptance tests.
    
        This test builds the connector image and runs the `check` command inside the container.
    
        Note:
          - It is expected for docker image caches to be reused between test runs.
          - In the rare case that image caches need to be cleared, please clear
            the local docker image cache using `docker image prune -a` command.
        """
        if scenario.expected_outcome.expect_exception():
            pytest.skip("Skipping test_docker_image_build_and_check (expected to fail).")
    
        tag = "dev-latest"
        connector_root = self.get_connector_root_dir()
        metadata = MetadataFile.from_file(connector_root / "metadata.yaml")
        connector_image: str | None = connector_image_override
        if not connector_image:
            tag = "dev-latest"
            connector_image = build_connector_image(
                connector_name=connector_root.absolute().name,
                connector_directory=connector_root,
                metadata=metadata,
                tag=tag,
                no_verify=False,
            )
    
        container_config_path = "/secrets/config.json"
>       with scenario.with_temp_config_file(
            connector_root=connector_root,
        ) as temp_config_file:

/home/runner/.local/share/uv/tools/airbyte-cdk/lib/python3.11/site-packages/airbyte_cdk/test/standard_tests/docker_base.py:237: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/contextlib.py:137: in __enter__
    return next(self.gen)
/home/runner/.local/share/uv/tools/airbyte-cdk/lib/python3.11/site-packages/airbyte_cdk/test/models/scenario.py:133: in with_temp_config_file
    config = self.get_config_dict(
/home/runner/.local/share/uv/tools/airbyte-cdk/lib/python3.11/site-packages/airbyte_cdk/test/models/scenario.py:93: in get_config_dict
    yaml.safe_load(config_path.read_text()),
/opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/pathlib.py:1058: in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('/home/runner/work/airbyte/airbyte/airbyte-integrations/connectors/source-vitally/secrets/config.json')
mode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/airbyte/airbyte/airbyte-integrations/connectors/source-vitally/secrets/config.json'

/opt/hostedtoolcache/Python/3.11.15/x64/lib/python3.11/pathlib.py:1044: FileNotFoundError