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

Github action periodically times out when succeeding in Vercel (Error: The operation was canceled.) #98

Open
jamesopti opened this issue Jul 16, 2021 · 3 comments
Assignees
Labels
good first issue Good for newcomers Type: Bug Bug or Bug fixes

Comments

@jamesopti
Copy link

Were seeing our deploys periodically timeout in Github, but succeed in vercel. As a result, the deployment version for our staging or production app is not updated.

Any ideas what could be going on here? We have the timeout set for 20min, but Vercel says the deploy is only taking about 7min.

OUTPUT

set environment for vercel cli
set env variable : VERCEL_ORG_ID
set env variable : VERCEL_PROJECT_ID
using scope
/usr/local/bin/npx vercel --prod -t *** -m githubCommitSha=82dc9ff7a6619ebcf360b944361ceed49b919483 -m githubCommitAuthorName=jamesopti -m githubCommitAuthorLogin=jamesopti -m githubDeployment=1 -m githubOrg=acme-co -m githubRepo=acme-co -m githubCommitOrg=acme-co -m githubCommitRepo=acme-co -m githubCommitMessage=Merge pull request #591 from acme-co/main

Release 7-16-9am -m githubCommitRef=refs/heads/prod --scope ***
Vercel CLI 23.0.1

Vercel CLI 23.0.1
- Deploying acme-co/frontend-app

- Deploying acme-co/frontend-app

Inspect: https://vercel.com/acme-co/frontend-app/AYZE8qkZCkz7L3yM4mwCaRe49y9Z [16s]

Inspect: https://vercel.com/acme-co/frontend-app/AYZE8qkZCkz7L3yM4mwCaRe49y9Z [16s]
https://frontend-app-59av63uj7-acme-co.vercel.app
https://frontend-app-59av63uj7-acme-co.vercel.app- Queued

- Queued
Error: The operation was canceled.

GITHUB ACTION CONFIG

      # Deploy production app
      # See https://github.com/marketplace/actions/vercel-action
      - uses: amondnet/vercel-action@v20
        with:
          vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
          scope: ${{ secrets.VERCEL_ORG_ID }}
          github-token: ${{ secrets.GITHUB_TOKEN }} #Optional - Github sets this for us
          github-comment: false # Dont comment on the deploy
          vercel-org-id: ${{ secrets.VERCEL_ORG_ID}} #Required
          vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}} #Required
          vercel-args: ${{ steps.build-args.outputs.vercel-args }}
          alias-domains: ${{ steps.build-args.outputs.alias-domain }}
@amondnet amondnet added the good first issue Good for newcomers label Jul 20, 2021
@amondnet amondnet self-assigned this Jul 20, 2021
@amondnet amondnet added the Type: Bug Bug or Bug fixes label Jul 30, 2021
@ndom91
Copy link

ndom91 commented Oct 15, 2021

We're having the same issue, the running action never seems to get the request from vercel back that the build / deploy was successful and eventually just times out

@evereq
Copy link

evereq commented Nov 20, 2021

I think this is a major issue actually and we also have it in a few projects where we are using this Github action...
So far I found #70 but did not try it yet. Hope with it we will at least be able to disable waiting for deployment status and prevent that way failing of Github action execution.

@yoshiki-0428
Copy link

Do you have any updates on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Type: Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

5 participants