I ve seen this error mentioned there
# functions
n
I've seen this error mentioned there earlier as well. I'm looking for best ways to debug and profile to see which part of our application causes the
Error: Failed to publish your Function. Got error: Error: Script startup exceeded CPU time limit
our main app is Remix app. Like what all happens during the startup? Like could I just achieve same setup with some local test? I already tried profiling importing the compiled functions handler. Is this the correct way? Would make me sad if we'd have to migrate our application away from the best platform I know of 😭
e
Sorry for old reply, but literally the same issue. It's a damn nightmare.
n
Yeah. Sadly had to migrate our frontend Remix app to fly.io 😢 backend functions run still in workers, but clearly the pages platform doesn’t work with ever growing apps 😢
e
Yeah it's a real problem which just seems to get glossed over