The GitHub Actions job "Tests (AMD)" on airflow.git/backport-66b803d-v3-3-test 
has succeeded.
Run started by GitHub user jason810496 (triggered by jason810496).

Head commit for run:
e983b7778b8be608868f301237b6cbf42f98897f / Jason(Zhe-You) Liu 
<[email protected]>
[v3-3-test] Archive worker-reported end date and rendered map index on task 
retry (#69248)

* Archive worker-reported end date and rendered map index on task retry

Follow-up to #69235. The task_instance_history row for a retried try
stamped archive-time utcnow() as end_date instead of the end date the
worker reported, and missed the final rendered map index when the
mid-run update was suppressed (e.g. template errors during failure
handling). Snapshot both onto the TI before archiving, and let
record_ti() respect a pre-set end_date so the audit trail reflects
when the try actually ended.

* Add test for record_ti fallback end_date stamping

Cover the conditional branch where record_ti() archives a non-finished
TI with end_date=None, verifying it gets stamped with utcnow() and
duration is computed correctly.

* Clarify record_ti comment covers pre-set duration too

* Snapshot rendered_map_index in TIH when a retry explicitly clears it
(cherry picked from commit 66b803d5efbbb743c357f2b4696f49a22aa662b8)

Co-authored-by: Jason(Zhe-You) Liu 
<[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to