The GitHub Actions job "Tests" on airflow.git/main has failed. Run started by GitHub user potiuk (triggered by jscheffl).
Head commit for run: 3ba152a00f45db3a37935df7c881dd6dbbdcd635 / baraka-akeyless <[email protected]> Add Akeyless Vault Platform provider (#64754) * Add Akeyless Vault Platform provider Introduces a new community provider for Akeyless (https://www.akeyless.io/) with the following components: - AkeylessHook: Hook for interacting with Akeyless Vault Platform supporting static, dynamic, and rotated secrets with 8 auth methods (API Key, AWS IAM, GCP, Azure AD, UID, JWT, Kubernetes, Certificate) - AkeylessBackend: Secrets backend for sourcing Airflow Connections, Variables, and Configuration directly from Akeyless - Custom 'akeyless' connection type with dedicated UI fields Includes full RST documentation, unit tests, and example DAG. Made-with: Cursor * refactor: remove _internal_client, call akeyless SDK directly from Hook The _internal_client layer was an unnecessary abstraction. The akeyless Python SDK already provides clean Auth() and V2Api methods that handle authentication and CRUD in single calls. - AkeylessHook now holds a cached akeyless.V2Api and calls SDK methods directly (idiomatic Airflow pattern). - AkeylessBackend likewise creates its own V2Api + Auth inline. - Tests updated to mock the akeyless SDK directly. Made-with: Cursor * fix: resolve MyPy CI failures — correct imports for monorepo - Import BaseHook from airflow.providers.common.compat.sdk (not airflow.hooks.base) — required compatibility layer for providers - Add apache-airflow-providers-common-compat>=1.8.0 to dependencies - Rewrite example DAG to use classic DAG/PythonOperator pattern (airflow.decorators not visible to provider mypy config) - Add [tool.uv.sources] for workspace resolution - Add Python 3.14 classifier Made-with: Cursor * fix: provider.yaml tag validation and test assertions - Change integration tag from [security, secrets] to [software] (matching hashicorp provider; 'secrets' not in allowed tag list) - Fix test assertions: check conn.host/login instead of conn_type (URI scheme normalization varies across Airflow versions) Made-with: Cursor * fix: add docs conf.py, fix index.rst structure, register akeyless in extra-packages-ref - Add providers/akeyless/docs/conf.py for Sphinx documentation build - Restructure index.rst to match Airflow provider conventions (commits section, Python API reference, proper toctree structure) - Register akeyless in airflow-core/docs/extra-packages-ref.rst for static check-extra-packages-references validation Made-with: Cursor * fix: comprehensive CI compliance - license headers, docs, and monorepo conventions - Replace all short-form Apache license headers with full ASF license format across all Python, RST, and YAML files (25+ files) - Fix docs/conf.py Sphinx configuration (already added) - Restructure docs/index.rst with auto-generated sections (separator, description, cross-provider deps, download links) - Add System Tests toctree section to index.rst - Fix RST include paths to use devel-common sphinx_exts - Rename .latest-doc-only-changes.txt to .latest-doc-only-change.txt (matches .rat-excludes pattern) - Fix NOTICE copyright year: 2017 -> 2016 - Fix .gitignore to only contain *.iml (matches other providers) - Add __path__ extensions to tests/unit/__init__.py and tests/system/__init__.py - Add akeyless to bug report provider list - Fix spelling wordlist sort order for Akeyless/akeyless entries - Run ruff check --fix and ruff format for code style compliance Made-with: Cursor * fix: address code review feedback from Copilot - Fix GetRotatedSecretValue to pass names as list, not string - Add access_type validation in AkeylessHook.authenticate() with clear error message listing valid auth types - Catch ImportError for akeyless_cloud_id with helpful install message - Restrict AkeylessBackend auth to api_key/uid types only (cloud-based auth methods require AkeylessHook directly) - Add token caching with configurable TTL in AkeylessBackend to avoid repeated auth calls during DAG parsing - Align get_provider_info.py tags with provider.yaml ([software]) - Add tests for invalid access_type validation, rotated secret list parameter, unsupported backend auth type, and token caching Made-with: Cursor * fix: fix rotated secret test assertion and add proper commits.rst The test_get_rotated_secret_passes_list was checking .names on a MagicMock object instead of verifying the SDK constructor call args. The commits.rst file was missing a proper RST title, causing 48 documentation build errors. Made-with: Cursor * Update .github/CODEOWNERS Co-authored-by: Elad Kalif <[email protected]> * feat: add multi-team secret scoping to AkeylessBackend When core.multi_team is enabled, the secrets backend now looks up secrets under {base_path}/{team_name}/{key} first, falling back to a global path. Supports use_team_secrets_path and global_secrets_path configuration options, matching the VaultBackend pattern from #65493. Made-with: Cursor * Update .github/CODEOWNERS Co-authored-by: Elad Kalif <[email protected]> * fix: update uv.lock to include apache-airflow-providers-akeyless workspace member Made-with: Cursor * fix: regenerate pyproject.toml auto-generated sections for akeyless provider Run update_airflow_pyproject_toml.py to add required comments and exclude-newer-package entries for the akeyless provider. Made-with: Cursor * fix: restore spelling_wordlist.txt entries removed during rebase Reset file to upstream main and re-add only Akeyless/akeyless entries. Made-with: Cursor * fix: use full ASF license in pyproject.toml and add pytest test_run to example DAG - Replace short Apache license header with full ASF boilerplate in providers/akeyless/pyproject.toml to pass insert-license pre-commit hook - Add required get_test_run(dag) pytest function to example_dag_akeyless.py as required by check-system-tests-present pre-commit hook Made-with: Cursor * fix: accept auto-generated provider build files from prek hooks Accept changes generated by the update-providers-build-files prek hook: - pyproject.toml: use canonical template format with proper comments - get_provider_info.py: regenerated from provider.yaml - __init__.py: add auto-generated file notice - docs/conf.py: add flake8 disable comment - LICENSE: use full Apache License 2.0 text - docker-compose: add akeyless provider volume mounts Made-with: Cursor * fix: regenerate breeze docs to include akeyless provider in command output The breeze CLI commands that list providers (publish-docs, prepare-provider-distributions, etc.) now include akeyless in their output. Regenerated all affected SVG/text documentation files. Made-with: Cursor * fix: use realistic connection URIs in tests to avoid secrets masker pollution In Airflow 2.11.1 (before min_length_to_mask was introduced), short password values like "p" get added to the secrets masker regex patterns. This caused the cncf/kubernetes test_get_k8s_pod_yaml to fail because "p" in "pod" was being replaced with "***". Use longer, realistic passwords (secret123) in test connection URIs to prevent polluting the global secrets masker in compat test environments. Made-with: Cursor --------- Co-authored-by: Elad Kalif <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/24960481829 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
