potiuk commented on code in PR #76836:
URL: https://github.com/apache/airflow/pull/76836#discussion_r4571427060


##########
dev/breeze/src/airflow_breeze/utils/fork_ci_reconcile.py:
##########
@@ -828,6 +844,9 @@ def release(state: ForkState, comment: Callable[[Marker], 
str]) -> Plan:
     _set_ci_passed(plan, pr, passed=state == ForkState.GREEN, 
target_url=target_url)
     _set_ci_run_started(plan, pr, fork)
     green = state in (ForkState.GREEN, ForkState.GREEN_UNVERIFIED)
+    failed_jobs = find_failed_jobs() if state == ForkState.FAILED and not 
startup_failure else []
+    if failed_jobs is None:
+        return plan

Review Comment:
   Done: the comment is held only when it already shows this head as `failed`. 
Otherwise the failed state is posted without the list, and the next run reads 
the jobs again.
   
   ---
   Drafted-by: Claude Code (Opus 5.5); reviewed by `potiuk` before posting
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to