Closed ishmam-mahmud closed 8 months ago
The error is reproducible locally if I run docker build .
It just doesn't happen if I run deno cache
myself
Hi @ishmam-mahmud. Have you seen this issue very recently, like in the past two hours or so? We applied a small change to our backend a few hours ago. I wonder if it's related.
Hi @ishmam-mahmud. Have you seen this issue very recently, like in the past two hours or so? We applied a small change to our backend a few hours ago. I wonder if it's related.
We saw this issue the first time around 2024-01-09T17:04:27.000+08:00
, or 2024-01-09T09:04:27.000Z
in UTC
Thanks for the info. The time we applied a change was around 9:30 AM UTC, so I suppose this backend change has nothing to do with this issue. But we'll look into it a bit more.
Sorry I mistakenly closed it. Reopening now.
@ishmam-mahmud Could you try again your workflow? We've done a small change yet again to deno.land/x backend, although we're not sure if this fixes your issue.
We started getting a different error at first: 500 Internal Server Errors, but after a few retries we managed to deploy all our services successfully. Everything's green now.
For reference, there is also a widespread GitHub outage going on today: https://www.githubstatus.com/incidents/pxg3dz4yg7lp
@ishmam-mahmud Thanks for confirmation. Glad that your issue has been solved. I think all related issues have also been resolved by the change we made to the backend, so I'll close this issue now. Feel free to reopen if it still occurs.
This does not happen locally. It seems to only be affecting our Dockerfile when it runs on our render.com deployment.
Here's a section of the Dockerfile that's causing the issue
This is a monorepo structure, where each service is in a
services
folder, and theshared
folder contains custom libraries used by multiple services.The error message from the docker CLI itself:
The url/specific dependency that causes the failure is different everytime, but it's usually a
deno.land/std
package or adeno.land/x
package.Here's the deps.ts file:
here's the import_map.json file, with the service names and shared library names redacted