The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/map-index-template-reschedule-67521 has failed.
Run started by GitHub user GayathriSrividya (triggered by GayathriSrividya).

Head commit for run:
62c8d9980e435a8624ecced9c8b145688d142589 / Gayathri Srividya Rajavarapu 
<[email protected]>
Fix map_index_template not rendered for sensors in reschedule mode

When a sensor is rescheduled, the rendered_map_index was not being
persisted to the database. The TIRescheduleStatePayload was missing the
rendered_map_index field that all other terminal state payloads have
(retry, succeed, skip). The reschedule route handler creates a brand-new
UPDATE query for the reschedule-specific columns, discarding the initial
one — so the field had to be explicitly added to that new query as well.

Changes:
- Add rendered_map_index to TIRescheduleStatePayload server-side datamodel
- Update reschedule route handler to write rendered_map_index to the DB
- Add Cadwyn version migration AddRenderedMapIndexToReschedulePayload
- Update _generated.py (task-sdk client model) to include the field
- Pass rendered_map_index in RescheduleTask message from task runner
- Save _rendered_map_index from RescheduleTask in supervisor
- Add test for rendered_map_index in reschedule mode

closes: #67521

Report URL: https://github.com/apache/airflow/actions/runs/26799316447

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to