This repository has been archived by the owner on May 10, 2024. It is now read-only.
Gracefully handle build artifacts that don't exist yet or have expired #17
Labels
bug
Something isn't working
Trying to build a VM for a very new or very old PR often fails, because the build artifact doesn't exist.
That's a side-effect of fdb90ac.
At the very least, we can show a descriptive error message, so the user knows to:
(a)
try again in a few minutes; or(b)
that it's not possible to build older PRs.In the case of expired artifacts, maybe we could additionally kick off a process to renew new, or give the user instructions for renewing them. Or maybe in those cases we could bring back the code from fdb90ac. It was removed for performance reasons, but if it's only running in edge cases then it probably wouldn't be an issue. We can also just increase the host VM's CPU/RAM to handle any additional load.
The text was updated successfully, but these errors were encountered: