a month ago
If anyone can help:
My deployments are stuck at:
"scheduling build on Metal builder "
and never progress beyond that. No further build logs appear, so the build does not actually start.
Context:
- This is happening consistently across multiple deploy attempts
- I have already confirmed previous failures were due to Next.js build memory, so I enabled Metal builder intentionally
- Now the build does not start at all, so I cannot test any fixes
1 Replies
Status changed to Awaiting Railway Response Railway • about 1 month ago
a month ago
Hey, I checked your latest failed deployment (2bb90c40) and the build actually did start and run — it's not stuck on scheduling. Your Next.js build compiled successfully in 5.2 minutes and generated all static pages, but then it timed out during the "Collecting build traces" phase. This is a Next.js build step that can hang on large projects.
To fix this, you can disable build tracing by adding this to your next.config.js:
outputFileTracingExcludes: {
'*': ['**/@swc/core*', '**/@esbuild*', '**/playwright*'],
},Or set the environment variable NEXT_PRIVATE_TRACE_TIMEOUT=60 to limit the trace collection time.
Your previous deployment (d6a0c99c at 08:34) actually succeeded, so your service should be running on that one right now.
Status changed to Awaiting User Response Railway • about 1 month ago
a month ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • about 1 month ago