You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Changed behaviour when used with pytest-rerunfailures #132
We are using pytest-github-actions-annotate-failures + pytest-rerunfailures with one additional rerun for our e2e tests in https://github.com/streamlit/streamlit. With pytest-github-actions-annotate-failures==0.3.0, annotations are also added for failed tests in the first run. With pytest-github-actions-annotate-failures==0.4.0, the behaviour seems to have changed to only annotate the final test failure. Is this expected?
I can dive a little deeper, but I don't immediately have any good ideas as to how to support both Pytest 9+ subtests and third-party pytest-rerunfailures, so any suggestions are welcome 🙂.
Activity
edgarrmondragon commentedon Mar 6, 2026
Not expected nor intended. We don't test integration with other pytest plugins, so it's easy to miss regressions like these.
I've confirmed that the change you're seeing was introduced by #121 to support subtests. In particular, the change to the pytest hook we use from
pytest_runtest_makereporttopytest_runtest_logreport.I can dive a little deeper, but I don't immediately have any good ideas as to how to support both Pytest 9+ subtests and third-party
pytest-rerunfailures, so any suggestions are welcome 🙂.edgarrmondragon commentedon Mar 6, 2026
For additional context:
https://github.com/pytest-dev/pytest/blob/79392133b63bc79efde860eb94901108b88cfcd6/src/_pytest/subtests.py#L250-L265
edgarrmondragon commentedon Jun 17, 2026
PR is up:
pytest-rerunfailures#144edgarrmondragon commentedon Jun 18, 2026
Fixed in https://pypi.org/project/pytest-github-actions-annotate-failures/0.4.1/