jedcunningham opened a new pull request, #75175: URL: https://github.com/apache/airflow/pull/75175
`test_promotion_leaves_earlier_placeholder_task_instances_at_their_coordinates` asserted that the archived `-1` attempt of a mapped task stays after expansion. Since #74407, `expand_mapped_task` deletes those attempts, and the DB row is gone. The test still passed because the delete uses `synchronize_session=False` and `session.get()` returned the stale identity-map object. The test now expires the session, queries the database (including archived attempts), asserts the row is deleted, and is renamed to `test_promotion_deletes_earlier_placeholder_task_instances`. This makes it consistent with `test_expand_mapped_task_deletes_archived_attempts_of_the_unmapped_task_instance`. related: #74407 -- 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]
