The GitHub Actions job "Tests (ARM)" on airflow.git/v3-3-test has failed.
Run started by GitHub user henry3260 (triggered by henry3260).

Head commit for run:
06314a0024348e275758440fd083d6886d4c8b4d / github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
[v3-3-test] Archive worker-reported end date and rendered map index on task 
retry (#69248) (#69458)

* 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/28804526723

With regards,
GitHub Actions via GitBox


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

Reply via email to