deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

Deployment failure

Open hapaxlife opened this issue 2 years ago • 3 comments

Automatic Deployment fails with no detail/log in Github (production fail message only) ou dash.deno (no warning of failure)

I found the origin of the error when I unlik/link the project to repository

Error The deployment failed: HTTP status client error (404 Not Found) for url (https://deno.land/std@/path/mod.ts)

hapaxlife avatar May 14 '22 14:05 hapaxlife

please try to change https://deno.land/std@/path/mod.ts -> https://deno.land/[email protected]/path/mod.ts

ije avatar May 15 '22 15:05 ije

I’m having a similar issue. The deployment fails, but the failure is only show in the GitHub Environments page without any error logs. Deno Dashboard doesn’t even list the failed deployments. This makes it nearly impossible to figure out where the error in the code is.

Deno Deploy doesn’t show newer failed deployments (time difference of 1h to GitHub is likely another bug)

DDE2EED0-D7D0-43C3-B241-AFE6BD120F4B

GitHub shows newer failed deployments

91C6685E-3E58-4FB6-A8F1-52BD85EF6C4C

Would be useful to show the failure with the error message on the Deno Deploy Dashboard instead of only on GitHub.

vwkd avatar May 21 '22 11:05 vwkd

can deno/deploy show failure logs? my project run local correct but deploy failure and I don't know why.

Joyzen avatar Jul 01 '22 09:07 Joyzen

+1 My https://dash.deno.com/projects/some-project/deployments shows the last deploy was a success from 7 days ago. Nothing else. No information that any deploy has ever failed.

Meanwhile over on github.com I've made multiple commits in the past week and some are shown as :x: Failed to deploy. See commit comment for more info. But I cannot find any comments on any commits in my entire repo.

github screenshot

niklasHagner avatar Jan 05 '23 21:01 niklasHagner

Same here, no trace of what the issue is for me, is there a way to trigger it manually to see what the issue is? (reconnecting the repo doesn't seem to work for me since I only have one, removing it disables the save button since I have to pick at least one. But the one I just removed doesn't appear in the list of possible repos to connect.) Currenlty I'm not able to deploy anything.

karfau avatar Feb 07 '23 06:02 karfau

I am also having this problem. Where can I find information about why my code is failing the check?

capogreco avatar Apr 10 '23 05:04 capogreco

The GitHub API provides access to Deployment status listings, and their description field will provide a failure message.

If you have GitHub CLI, you can list recent deployments with:

gh api /repos/{owner}/{repo}/deployments

... and view the status of a deployment, and its description field, with

gh api /repos/{owner}/{repo}/deployments/{deployment_id}/statuses

audionerd avatar May 15 '23 17:05 audionerd

Hi everybody, we have added failed deployments to the deployments list, together with the error message, and the ability to see the build logs of all deployments. All this will be available going forward for new deployments (no retrofitting). I believe this covers all the feedback provided in this issue, right? I'm closing now, but feel free to reopen if you want to elaborate further.

arnauorriols avatar Jul 06 '23 19:07 arnauorriols