You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(embed): enable build rootfs disk growth - #3680
We require contributors to sign our Contributor License Agreement, and we don't have @selamanse on file. You can sign our CLA at https://e2b.dev/docs/cla . Once you've signed, post a comment here that says '@cla-bot check'
A data point for this one, from a self-hosted Embed (Compose) node. I ran an orchestrator built from ae948bd8759 (the commit behind the current Embed pin) with the same flags.go line. A template built with min_free_disk_mb=20480 gets an 813 MB rootfs without it, and a 22 GB rootfs with 21 GB free with it and BUILD_ENSURE_FREE_DISK_SPACE=true.
The Kubernetes shape needs the same setting in embed/kubernetes/statefulset.yaml. The sibling knobs (CREATE_MEMORY_REFUSAL, PAUSE_ADMISSION_DISK_HEADROOM_MIB) also come with an embed/tests/*.bats check for both shapes. I have that version on a branch, with docs, if it helps: ThaRae@67e65d1 (branch embed-build-ensure-free-disk-space-env)
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This lets Embed builds grow their root filesystem after build steps so larger code tasks have enough space.
Validation