Github actions doesn't have the ability to restart individual jobs,
sadly (I've asked for this when they've done research sessions).

FWIW, I'd recommend adding a timeout to jobs (it can be set in the YML
file), that way hung jobs don't hang for hours and hours.

Alex

On Tue, Jun 22, 2021 at 3:16 PM Guido van Rossum <gu...@python.org> wrote:
>
> Quite frequently I see PRs that have all but one test green, and one test 
> just hanging for a long time (e.g. 19 hours). It would be useful to have the 
> ability to restart a particular test rather than re-running all tests (by 
> closing and reopening the PR). Does this functionality exist? IIRC on 
> Travis-CI it did exist, but only for privileged users. Does GitHub Actions 
> have such a thing?
>
> Example: https://github.com/python/cpython/pull/25551 -- the Address 
> Sanitizer run has been waiting for 19 hours.
>
> --
> --Guido van Rossum (python.org/~guido)
> Pronouns: he/him (why is my pronoun here?)
> _______________________________________________
> python-committers mailing list -- python-committers@python.org
> To unsubscribe send an email to python-committers-le...@python.org
> https://mail.python.org/mailman3/lists/python-committers.python.org/
> Message archived at 
> https://mail.python.org/archives/list/python-committers@python.org/message/X4KPYUNKZWLRZ5GQDZWXTE5Y4WGSHSA6/
> Code of Conduct: https://www.python.org/psf/codeofconduct/



-- 
All that is necessary for evil to succeed is for good people to do nothing.
_______________________________________________
python-committers mailing list -- python-committers@python.org
To unsubscribe send an email to python-committers-le...@python.org
https://mail.python.org/mailman3/lists/python-committers.python.org/
Message archived at 
https://mail.python.org/archives/list/python-committers@python.org/message/5J56NWPR45EUK6T77G4YP2SYPRR4XVGW/
Code of Conduct: https://www.python.org/psf/codeofconduct/

Reply via email to