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

a year 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


katt
HOBBYOP

a year ago

Example preview vs prod

1307830149596578000
1307830149949034500


brody
EMPLOYEE

a year ago

have you checked your build logs for errors?


katt
HOBBYOP

a year 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


katt
HOBBYOP

a year 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


katt
HOBBYOP

a year ago

thank you brody


brody
EMPLOYEE

a year ago

no problem!


katt
HOBBYOP

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


katt
HOBBYOP

a year ago

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

1314538330263650300


brody
EMPLOYEE

a year ago

interesting, glad you found the issue!


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...