You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jedcunningham (via GitHub)" <gi...@apache.org> on 2026/10/20 02:15:51 UTC
[PR] Fix stale-session assertion in mapped placeholder promotion test [airflow]
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix stale-session assertion in mapped placeholder promotion test [airflow]
Posted by "vatsrahul1001 (via GitHub)" <gi...@apache.org>.
vatsrahul1001 merged PR #75175:
URL: https://github.com/apache/airflow/pull/75175
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix stale-session assertion in mapped placeholder promotion test [airflow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #75175:
URL: https://github.com/apache/airflow/pull/75175#issuecomment-6282906574
### Backport successfully created: v3-4-test
Note: As of [Merging PRs targeted for Airflow 3.X](https://github.com/apache/airflow/blob/main/dev/README_AIRFLOW3_DEV.md#merging-prs-targeted-for-airflow-3x)
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.
In matter of doubt please ask in [#release-management](https://apache-airflow.slack.com/archives/C03G9H97MM2) Slack channel.
<table>
<tr>
<th>Status</th>
<th>Branch</th>
<th>Result</th>
</tr>
<tr>
<td>✅</td>
<td>v3-4-test</td>
<td><a href="https://github.com/apache/airflow/pull/75181"><img src="https://img.shields.io/badge/PR-75181-blue" alt="PR Link"></a></td>
</tr>
</table>
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org