armorbreak001 opened a new pull request, #65673: URL: https://github.com/apache/airflow/pull/65673
## Summary In `RuntimeTaskInstance.xcom_pull()`, when `map_indexes` is not specified (the default NOTSET path), the code always appends `None` to the result list when no XCom is found, ignoring the caller-provided `default` parameter. The explicit `map_indexes` branch (below) correctly uses `default`. This fix aligns the non-map_indexes path with that behavior. **Before:** `ti.xcom_pull(task_ids="t", key="k", default="fallback")` returns `None` when no XCom exists. **After:** Returns `"fallback"` as expected per the docstring. Fixes #64295 -- 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]
