You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/04/26 15:21:27 UTC
[GH] (airflow/fix-bulk-ti-mapped-update-v3-2-test): Workflow run "Tests" failed!
The GitHub Actions job "Tests" on airflow.git/fix-bulk-ti-mapped-update-v3-2-test has failed.
Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run:
d518b974750e543480921aa6fb5f8b84eea56d34 / Jarek Potiuk <ja...@potiuk.com>
Fix bulk task instance update for mapped TIs and auth error rendering
On v3-2-test, BulkTaskInstanceService had three pre-existing bugs:
1. `_perform_update` did not pass `map_index` to
`_patch_ti_validate_request`, so the validation step looked up the
wrong TI (default map_index=-1) and persistence silently no-op'd
for mapped task instances.
2. `specific_entity_map` and `all_map_entity_map` used raw
`(entity.dag_id, entity.dag_run_id, entity.task_id, ...)` tuples
as keys. When `dag_id`/`dag_run_id` came from the path and not the
request body, those attributes were `None` on the entity, while
keys produced by `_categorize_entities` resolved them via
`_extract_task_identifiers`. The resulting key mismatch meant
matched task keys never resolved back to an entity, so
`_perform_update` was never called and `response.update.success`
came back empty.
3. `action_name=action.action` rendered as `'BulkAction.UPDATE'`
/`'BulkAction.DELETE'` in authorization error messages because
Python's str-enum `__format__` returns the enum repr, not the
value. Use `.value` to get "update"/"delete".
All three fixes already exist on main; this backport is the minimal
diff to bring v3-2-test in line with main for this file.
Also includes regenerated _private_ui.yaml, schemas.gen.ts and
types.gen.ts: the prek generate-openapi-spec hook caught a
pre-existing description drift on `ExtraMenuItem` that is unrelated
to the bug fixes.
Report URL: https://github.com/apache/airflow/actions/runs/24958677704
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org