The GitHub Actions job "Tests (AMD)" on 
airflow.git/oss/per-attempt-operator-links has failed.
Run started by GitHub user 1fanwang (triggered by 1fanwang).

Head commit for run:
664061b33c1a231d1b2b5bea24195befc4cd0d49 / 1fanwang <[email protected]>
Return each attempt's own URL from operator extra links

Operator extra links are cached as XCom rows under the link's xcom_key, which
carries no attempt. XComOperatorLink.get_link receives a TaskInstanceKey and
ignores its try_number, so once a task retries, asking for an earlier attempt's
link returns the latest attempt's URL. #65661 made the endpoint resolve the
requested attempt, which makes the wrong answer reachable from the UI.

The worker now also caches the link under a key carrying the attempt that
produced it, and the reader prefers that row, falling back to the bare key for
links written before this change. Those rows are exempt from the clear a retry
issues, since they describe attempts that already ran.

The prefix is owned by Airflow rather than derived from the link's xcom_key,
because a link may override that with any name, as the Databricks and Google
links do.

Closes: #71471
Signed-off-by: 1fanwang <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to