The GitHub Actions job "Tests" on airflow.git has failed. Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).
Head commit for run: 6bbe93797227ff98389194827df259e46af7d9f1 / Ephraim Anierobi <[email protected]> Add context manager to setup/teardown decorated tasks (#30350) * Add context manager to setup/teardown decorated tasks Setup/teardown decorated tasks returns XComArg when called. So, I implemented the __enter__ and __exit__ methods on XComArg and set the relationships there. Also ensured normal tasks do not have context managers * fixup! Add context manager to setup/teardown decorated tasks * Add SetupTeardownContext * Refactor and add test * Refactor SetupTeardownContext to use cls vs class name * WIP: setup or teardown on contextmgr (cherry picked from commit b0bb694773c0a78d35a6c9eb033582d5a985bd07) * Refactor to fix using only setup/teardown (cherry picked from commit 8efc696c510bff9f1f1a604037dd476759c76c8a) * Remove duplicated code * Remove duplicated code * add tests * Use instance map instead of children * fixup! Use instance map instead of children * Rename instance_map to context_map * Fix some tests * fixup! Fix some tests * Apply suggestions from code review Co-authored-by: Jed Cunningham <[email protected]> * Update airflow/utils/setup_teardown.py Co-authored-by: Jed Cunningham <[email protected]> * minor rename and test fix * Update tests/decorators/test_setup_teardown.py Co-authored-by: Jed Cunningham <[email protected]> --------- Co-authored-by: Jed Cunningham <[email protected]> Co-authored-by: Jed Cunningham <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/4577974414 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
