jason810496 opened a new pull request, #71812: URL: https://github.com/apache/airflow/pull/71812
## Why The Java SDK E2E tests trigger the same Dag repeatedly for assertions that can share one completed run, making the suite slower than necessary. ## How - Add a `_CompletedRun` helper that holds the Dag run result and exposes task instance, XCom, and log access. - Add one module-scoped fixture for each Dag ID so unrelated examples retain independent runs and timeouts. - Re-raise fixture execution errors from the assertion call phase so the E2E report retains its failure and Compose-log diagnostics. ## What - Reuse one `java_annotation_example` run across its five assertions. - Reuse dedicated runs for the `java_xcom_casting_example` and `scala_spark_example` assertions. - Reduce Dag triggers in this module from seven to three without changing assertion coverage. --- ##### Was generative AI tooling used to co-author this PR? - [x] Yes, with help of OpenAI Codex 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]
