Can't cancel hung job "Failed to cancel check suite"

I accidentally pushed a job which hangs indefinitely. Pushing “Cancel check suite” gives me an error “Failed to cancel check suite.” I now have to wait 6 hours for the job to time out.

The following might reproduce it, although I obviously don’t want to try it:

jobs:
  test:
    runs-on: windows-2016
    steps:
    - run: |
      echo "test" > "test.unknown"
      start "Test" /wait "test.unknown"

The hung job: https://github.com/nulano/Pillow/commit/b67c7096adf57909456286187e93905f9744bf29/checks

11 Likes

My job still hangs after 17 hours, and I still can’t cancel it

4 Likes

This is now working for me.

I just had a similar occurence today and the cancel button worked and stopped the job within 30 seconds.