Skip to content

Give Small Production api a 0.5 GB RAM floor - #6

Merged
kriszerops merged 1 commit into
mainfrom
feat/api-min-free-ram
Sep 3, 2026
Merged

kriszerops merged 1 commit into
mainfrom
feat/api-min-free-ram

Conversation

@kriszerops

Copy link
Copy Markdown
Collaborator

Summary

  • Same RAM floor as in update import.yaml minfree ram #4: Small Production api gets minRam: 0.5 / minFreeRamGB: 0.25 instead of the ~0.12 GB platform default that OOMs tsx migrate.
  • Add minFreeRamGB: 0.25 on apidev (AI Agent + Remote CDE).
  • HA Production worker minContainers 2 → 3; drop @js from the zcp buildFromGit; remove NODE_ENV from api / api-dev run env.

The TypeScript existsSync guard from #4 is already on main.

Test plan

  • Confirm Small Production api import yaml has minRam: 0.5.
  • After import (or a GUI scale to match), retry an api deploy and check migrate is not OOM-killed.

Match the minFreeRamGB buffers on apidev, bump HA worker to 3 containers, and drop NODE_ENV from the api run env.
@kriszerops
kriszerops merged commit 375ee90 into main Sep 3, 2026
1 of 3 checks passed
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