jason810496 opened a new pull request, #75928: URL: https://github.com/apache/airflow/pull/75928
Adds an end-to-end test for a Dag written in YAML. The YAML importer had unit tests only; nothing ran a YAML Dag through a running Dag processor. The new `yaml_dag` e2e mode drives one YAML Dag and asserts: - `uses:` resolves a provider operator and a sensor, `run:` becomes a stub, and a task with no body becomes an `EmptyOperator`. - `$t` arguments render, against S3 on LocalStack rather than against the serialized Dag alone. - `extends` merges both task-level (`retries`) and operator (`aws_conn_id`) arguments. - A `run:` task leaves the Python runtime: its `queue` routes it to the Go TaskHandler, and `$x` binds the upstream output as its argument. - The Code view serves the YAML document. Run it with: ```bash breeze testing airflow-e2e-tests --e2e-test-mode yaml_dag ``` --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude Code (Opus 5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
