Skip to content

Switch production builds from -Os to -Oz to avoid 25 MB deployment limit#4309

Merged
Keavon merged 1 commit into
masterfrom
reduce-wasm-size
Jul 4, 2026
Merged

Switch production builds from -Os to -Oz to avoid 25 MB deployment limit#4309
Keavon merged 1 commit into
masterfrom
reduce-wasm-size

Conversation

@Keavon

@Keavon Keavon commented Jul 4, 2026

Copy link
Copy Markdown
Member

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the wasm-opt optimization flag from -Os to -Oz in the release build steps for the frontend. This change optimizes the WASM output for size over speed to remain under Cloudflare Pages' 25 MiB single-file limit, while retaining the -g flag to preserve the name section for runtime panic hooks. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@Keavon Keavon merged commit f82b0a8 into master Jul 4, 2026
10 checks passed
@Keavon Keavon deleted the reduce-wasm-size branch July 4, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant