Skip to content

ci(frontend): unblock v0.113.0 web builds (heap cap) and fix release-tip styling - #6162

Merged
mmabrouk merged 1 commit into
release/v0.113.0from
ci/rel113-web-build-fix
Aug 21, 2026
Merged

mmabrouk merged 1 commit into
release/v0.113.0from
ci/rel113-web-build-fix

Conversation

@mmabrouk

Copy link
Copy Markdown
Member

Context

Two CI reds on the v0.113.0 line, both introduced by the package-extraction merge (#6065) and its follow-up (#6152).

Changes

  • Raise the web build Node heap cap from 4096 MB to 8192 MB in the three Dockerfile.gh files (oss, ee, mobile). The @agenta/oss Next build on [feat] /m catches up to the desktop: sign-in, chat turns, and Next 16 #6152 dies with FATAL ERROR: Reached heap limit at exactly the 4 GB cap, on both architectures, twice in a row (log). The build runners have 15.6 GB, so 8192 is safe. The ee Dockerfile gets the same bump because the staging deploy builds it from the same package graph.
  • Prettier on two test files that fail the TypeScript format check on the release tip itself (log): useAgentConversation.test.ts and EnhancedDrawerAntdProps.render.test.tsx. Formatting only, no code change.

#6152 carries two more unformatted files of its own; those get a prettier commit on its head branch separately.

Tests

  • Prettier 3.7.4 (CI's version) with the repo config; --check passes on both files after the write.
  • The heap bump is config only; the PR's own image build proves it.

The @agenta/oss Next build dies at the 4096 MB Node heap cap since the
package extraction grew the build graph (PR #6152 CI shows the OOM; the
build runners have 15.6 GB). Raise the cap to 8192 MB in the three gh
Dockerfiles. Also run prettier on the two test files that fail the
styling check on the release tip.
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 21, 2026
@vercel

vercel Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview Aug 21, 2026 1:59pm

Request Review

@coderabbitai

coderabbitai Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: a3449a8c-6416-476f-bac2-8f35761097ac

📥 Commits

Reviewing files that changed from the base of the PR and between ca3bc2a and 28ba22a.

📒 Files selected for processing (5)
  • web/ee/docker/Dockerfile.gh
  • web/mobile/docker/Dockerfile.gh
  • web/oss/docker/Dockerfile.gh
  • web/packages/agenta-chat/tests/unit/hooks/useAgentConversation.test.ts
  • web/packages/agenta-ui/tests/unit/EnhancedDrawerAntdProps.render.test.tsx
💤 Files with no reviewable changes (1)
  • web/packages/agenta-chat/tests/unit/hooks/useAgentConversation.test.ts

Included review availability: Your plan provides up to 8 included reviews per hour; 4 remain after this review.


📝 Walkthrough

Summary by CodeRabbit

  • Chores

    • Increased available memory for application builds across Enterprise, Mobile, and Open Source distributions, improving reliability for memory-intensive builds.
  • Tests

    • Reformatted test code for improved readability without changing test behavior or coverage.

Walkthrough

The Docker builder stages now allow 8192 MB of Node.js old-space memory. Two unit test files receive formatting-only updates with no behavior changes.

Changes

Builder memory configuration

Layer / File(s) Summary
Increase builder heap limits
web/ee/docker/Dockerfile.gh, web/mobile/docker/Dockerfile.gh, web/oss/docker/Dockerfile.gh
The builder-stage NODE_OPTIONS limit increases from 4096 MB to 8192 MB.

Unit test formatting

Layer / File(s) Summary
Reformat unit test expressions
web/packages/agenta-chat/tests/unit/hooks/useAgentConversation.test.ts, web/packages/agenta-ui/tests/unit/EnhancedDrawerAntdProps.render.test.tsx
The tests use updated whitespace, multiline assertions, and multiline JSX. Test behavior remains unchanged.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: 🔵 Low · up to 28ba2

The PR raises the web build memory cap and reformats two tests without changing product behavior. It is mergeable with explicit owner awareness that the required frontend lint check should be run for the touched web files.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes both main changes: increasing the web build heap cap and fixing release-tip formatting.
Description check ✅ Passed The description directly explains the build failures, heap-cap change, formatting changes, and validation performed.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (3 skipped: 3 unsupported.)
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/rel113-web-build-fix

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

mmabrouk added a commit that referenced this pull request Aug 21, 2026
The @agenta/oss build OOMs at the 4096 MB cap on this branch's package
graph (both archs, two runs). Same change lands on release/v0.113.0 via
#6162; identical lines merge clean.
@github-actions

github-actions Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Railway Preview Environment

Status Destroyed (PR closed)

Updated at 2026-08-21T15:59:19.016Z

@mmabrouk
mmabrouk merged commit d19e1d7 into release/v0.113.0 Aug 21, 2026
54 of 55 checks passed

This branch was successfully deployed

1 active deployment
Preview — 28ba22a8 Deployed Aug 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd frontend size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant