Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow never completes #124

Open
markdthompson-SR opened this issue Apr 28, 2022 · 7 comments
Open

Workflow never completes #124

markdthompson-SR opened this issue Apr 28, 2022 · 7 comments

Comments

@markdthompson-SR
Copy link

markdthompson-SR commented Apr 28, 2022

The action deployed to Heroku successfully, but hangs on the 'Run akhileshns/[email protected]' step, and never finishes:
Screen Shot 2022-04-28 at 12 01 29 PM

Here's my main.yml with app-name & email removed:

name: Deploy

on:
  push:
    branches:
      - master

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: akhileshns/[email protected] # This is the action
        with:
          heroku_api_key: ${{secrets.HEROKU_API_KEY}}
          heroku_app_name: "YOUR APP's NAME" #Must be unique in Heroku
          heroku_email: "YOUR EMAIL"`

@markdthompson-SR
Copy link
Author

Also note that the action did not respond to cancelling the action:
Screen Shot 2022-04-28 at 12 12 52 PM

@ferny1313
Copy link

Sometimes GitHub Actions take to much to run my tests, but it seems to be something random. 🤔
They also have a problem with cache, did you refresh the page? 😅

@markdthompson-SR
Copy link
Author

markdthompson-SR commented Apr 29, 2022 via email

@kimmy-wang
Copy link

same issue

@kimmy-wang
Copy link

screenshot-20220430-183910

@markdthompson-SR
Copy link
Author

markdthompson-SR commented May 2, 2022 via email

@Fabien-R
Copy link

Fabien-R commented May 4, 2022

We also have this kind of behavior. But I don't think it's a problem coming from this github action.

What we saw :

  • All stuck deployments had their building step in heroku dashboard never finished. Or stopped by Heroku team, 2h later. But they never finished.
  • There was not explicit errors about this timeout. Log in Heroku building console was stuck.
  • We did not saw pb for building step taking less than 14 minutes
  • Reading some doc we saw there was mention about a 15 minutes limits.
    --> the first problem was that even in Heroku dashboard all the timeouts was silent and waiting for more than 15 minutes without any error is not great
    --> the second problem is the consumption of Github credit. Having several deployments taking 1h and that will eventually failed is not good for our finances.

So a workaround for us was at github action level to timeout the step:

deployment:
    runs-on: ubuntu-latest
    timeout-minutes: 14
    steps:
      - uses: actions/checkout@v3
      - uses: akhileshns/[email protected]

It won't solve Heroku problem, but it will save your time and credit. To relaunch another workflow quicker.

Hope this can help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants