Preview deployment always fail (one 1 out of 2 projects)

2 years ago

Hey

I have a preview environment on my OSS-repo that almost always fails without an error

  • Example: https://github.com/trpc/trpc/pull/6245
  • There is no visible error (see screenshot)
  • It always later works when merging to the default branch
  • Been like this for a few months, but I've just ignored it
  • The sibling project in the same group works - so may be some sort of race condition between them
Solved

11 Replies


2 years ago

Example preview vs prod

1307830149596577932

1307830149949034518


2 years ago

have you checked your build logs for errors?


2 years ago

there are no build logs in this case AFAICT, will try to get an example that is causing it now - i merged all the branches where i had this error


2 years ago

ok, I got some build logs and I think I can solve it

I can swear "View logs" was empty on the PR i linked first

anyway, thanks, i will get back here if it happens again


2 years ago

thank you brody


2 years ago

no problem!


a year ago

i finally figured out why i couldn't see the logs FYI

it's a public project and i must've been not logged in but the UI didn't show "you can't view logs unless signed in" or similar so i thought it just didn't have logs


a year ago

here's how logged out view looks like on a failed build

1314538330263650325


a year ago

interesting, glad you found the issue!


a year ago

!s


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...