amoghrajesh commented on PR #73027:
URL: https://github.com/apache/airflow/pull/73027#issuecomment-5793216492
@kaxil thanks.
Docs: That paragraph described #73030's work, not this PR's so I removed
it, it'll go there instead. Merge conflict resolved by taking main's text and
keeping only what this PR changes: the reason is recorded on a FAIL too, and
stays on the row since a FAIL is terminal. Also fixed the two other spots you
found: step 4 of "How it works" and tasks.rst:300.
The log line. Agreed, two decisions disagreeing is worse than none. Now a
separate event with the numbers an reader needs:
```
Retry policy requested a retry but no attempts remain
reason=... try_number=3 max_tries=2
```
Ironic, given we just took counts out of the stored reason, but this is
where they belong. Test asserts Retry policy decision appears once; checked it
fails if the old line returns.
The import: Now from `airflow.sdk import TaskInstanceState`.
I'd like to land this first, then rebase #73030 on top and handle comments
there.
--
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]