Skip to content

Bump review app memory to 2GB to prevent OOM on boot#412

Open
byte-the-bot wants to merge 1 commit into
mainfrom
fix-review-app-env-and-memory
Open

Bump review app memory to 2GB to prevent OOM on boot#412
byte-the-bot wants to merge 1 commit into
mainfrom
fix-review-app-env-and-memory

Conversation

@byte-the-bot

Copy link
Copy Markdown
Collaborator

What

Bumps the Fly review app memory from 512MB to 2GB in fly_review.yml.

Why

Investigation into review apps hanging after TLS handshake (BLOG-610654a1c8b543e6) found review apps were deployed with only 512MB while production runs on 4GB (fly.toml). The tight limit risked OOM crashes at startup.

The other root cause from that investigation — missing fake secrets for ANTHROPIC_API_KEY and the LINEAR_* vars — already landed in #404, so this is the remaining piece.

Not included (left for a human call)

  • fly.toml's restart_limit = 0 on the TCP check applies to production, so I didn't touch it here.
  • Neon preview branch suspension wasn't reproduced in this pass.

🤖 Generated with Claude Code

Review apps were deployed with 512MB while production runs on 4GB
(fly.toml). The tight memory limit could cause OOM crashes at startup,
contributing to review apps hanging after TLS handshake. Bump to 2GB
for headroom while staying well under production.

Part of BLOG-610654a1c8b543e6 (review app reliability).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

2 participants