Repository navigation
fix(antigravity): fail fast with clear message when workspace lacks space for agy - #27
Merged
Lukeluds merged 1 commit intoNov 19, 2026
Conversation
mayawang
approved these changes
Nov 19, 2026
mayawang
left a comment
Collaborator
There was a problem hiding this comment.
LGTM, much better than the tar error. Thanks Luke!
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Follows up on @MushuEE's GKE trial in #9, where a task without resource limits hit AX's default
512Mimemory cap and failed during runtimeagyinstallation with a cryptictar: Wrote only 8704 of 10240 byteserror:agents/antigravity/install-agy.sh:df -Pm) on both the temp dir and destination dir before downloading againstAGY_MIN_FREE_MB(default450MiB, covering the ~100 MB archive + ~267 MB binary on memory-backed gVisor volumes). Fails fast with an actionable message pointing tospec.profile.resources.limits.memory.${tmp}/agy.tar.gzright aftertar -xzfsucceeds to reduce peak memory usage by ~100 MB before copying the binary into${dest}.agents/antigravity/test_harness.sh: Adds a unit test verifying the low-space check fails fast without touching the network or creating the destination directory.agents/antigravity/README.md: Documents the memory limit requirement (2Giminimum,4Girecommended) for runtimeagyinstallation.Verified:
./agents/antigravity/test_harness.shpasses all tests.docker build --build-arg PREINSTALL_AGY=true+./agents/antigravity/verify_image.sh ... bundledpasses../scripts/verify/boilerplate.shpasses.