-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Errors thrown during uploadChunk are leading to a variety of uncaught errors, including:
Error: Cache upload failed becaues the file read failed with EBADF: bad file descriptor, readError: Cache upload failed because file read failed with ESPIPE: invalid seek, read
These errors cause the cache step to fail, whereas we expect caching to fail gracefully and not break a workflow.
I discuss a hypothesis for why this happens in #399 (comment), namely that:
- Some error happens during the call to
uploadChunk, in this case it was a 503 response - That error causes the finally block to execute and close the file descriptor
- Closing the file descriptor kills the other in-progress calls to uploadChunk, resulting in the
Error: Cache upload failed becaues the file read failed with EBADF: bad file descriptor, read
DenWav and ttomsu
Metadata
Metadata
Assignees
Labels
No labels