Deployments got stuck on Cloudflare only (work everywhere else)

For Workes & Pages, what is the name of the domain?

design.undp.org

What is the error message?

Failed: build exceeded the time limit and was terminated.

What is the issue or error you’re encountering

Webpack app build is stuck at 37% progress and it times out after 30min without any additional error information. Same codebase is compiling without issues in local environment (tested on Mac, Windows, Ubuntu boxes). It is also running without issues in Netlify container, but not on Cloudflare.

What are the steps to reproduce the issue?

Issue only manifests itself in Cloudflare environment. Can be replicated by creating new CF Pages build from GitHub - undp/design-system: UNDP Design System repo, branch “dependencies-upgrade”

Screenshot of the error

Hi there,

Screenshot 2024-10-16 at 15.42.55

As stated in the documentation from the link in your shared screenshot:

Builds
Each time you push new code to your Git repository, Pages will build and deploy your site. You can build up to 500 times per month on the Free plan. Refer to the Pro and Business plans in Pricing :arrow_upper_right: if you need more builds.

Builds will timeout after 20 minutes.

Take care.

Yep, that’s clear. The question is why is it times out? Same process, with the same code runs within one minute timeframe on any box I described in the original post but freezes in Cloudflare without producing any error

@mcorreia , do you have any other advice for us? Builds are still failing, exclusively on Cloudflare …