Ensure all test reports are processed regardless of prior report status
Ensure that we always process all reports for a test in pytest_runtest_protocol regardless of whether a past report for a test failed. We now defer any pre-rerun setup until after all reports are executed while still keeping the same rerun logic.
Fixes https://github.com/pytest-dev/pytest-rerunfailures/issues/108
What is the current status of this PR?
This PR has conflicts which need to be resolved first.
Not sure how active @gnikonorov is these days. According to GitHub is last activity was in Jan 2022.
I'm happy to pick this up, given the maintainers are willing to have the discussion.
@BeyondEvil Thank you for volunteering for this PR. I am here as a maintainer to help and discuss the issue as needed.