The GitHub Actions job "Tests (AMD)" on airflow.git/astro/perf-single-query-task-map-length has succeeded. Run started by GitHub user dstandish (triggered by dstandish).
Head commit for run: ad67bea6d9040e8fd6a1ca812a13b33a83b248e6 / Daniel Standish <[email protected]> Resolve mapped XCom length in a single query For a mapped upstream, get_task_map_length issued two sequential queries when all expanded task instances had finished: an EXISTS check for any still-unfinished TI, followed by a COUNT of the produced XCom outputs. This runs on every scheduling pass that evaluates a mapped task's length. Combine the two into a single round-trip via ``select(exists(...), count_subquery)`` and read both values from one row. Semantics are unchanged -- a still-unfinished mapped upstream still reports None rather than a partial count. Signed-off-by: Daniel Standish <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/27723208316 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
