The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user dstandish (triggered by dstandish).

Head commit for run:
611d26c9dc7f549656ce66b50934730ba6c7ed03 / Daniel Standish 
<15932138+dstand...@users.noreply.github.com>
Remove try_number shenanigans

Previously, there was a lot of bad stuff happening around try_number.  We 
incremented it when task started running.  And because of that, we had this 
logic to return "_try_number + 1" when task *not* running.  And, since it was 
naively incremented when task starts running -- i.e. without regard to why it 
is running -- we *decremented* it when deferring or exiting on a reschedule.

What I do here is try to remove *all* of that stuff:
* no more private _try_number attr
* no more getter logic
* no more decrementing
* no more incrementing as part of task execution

Now what we do is increment only when the task is set to *scheduled* and only 
when it's not coming out of deferral or "up_for_reschedule".

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscr...@airflow.apache.org
For additional commands, e-mail: jobs-h...@airflow.apache.org

Reply via email to