I ve seen this error mentioned there

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 😭
3 Replies
Elliot Hesp
Elliot Hesp•2y ago
Sorry for old reply, but literally the same issue. It's a damn nightmare.
Nipsuli
NipsuliOP•2y ago
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 😢
Elliot Hesp
Elliot Hesp•2y ago
Yeah it's a real problem which just seems to get glossed over
Want results from more Discord servers?
Add your server