Skip to content

Build Time Increased Significantly on Cloudflare #16973

Description

@deepanshu88

Astro Info

Astro                    v6.4.2
Vite                     v7.3.2
Node                     v24.13.1
System                   Windows (x64)
Package Manager          npm
Output                   static
Adapter                  @astrojs/cloudflare (v13.6.0)
Integrations             @astrojs/sitemap (v3.7.3)
                         @astrojs/mdx (v6.0.1)
                         astro-icon (v1.1.5)
                         astrowind-integration
                         @astrojs/react (v5.0.6)
                         @playform/compress (v0.2.3)

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

After running npx @astrojs/upgrade from [email protected] to 6.4.4 (along with @astrojs/cloudflare 13.6.0→13.6.1) caused a dramatic build time increase on a Cloudflare-deployed project. I have a big site with approx 14k static pages (using getStaticPaths) and build time increased 10 times and time out issue in cloudflare.. I reverted npx @astrojs/upgrade to before state and build time issue got fixed..

Packages upgraded by npx @astrojs/upgrade:

Package Before After
@astrojs/cloudflare ^13.6.0 ^13.6.1
@astrojs/mdx ^6.0.1 ^6.0.2
@astrojs/react ^5.0.6 ^5.0.7
astro ^6.4.2 ^6.4.4

What's the expected result?


Link to Minimal Reproducible Example


Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions