Build separate python image for antigravity harness - #305
Merged
Conversation
rakyll
reviewed
Jul 15, 2026
rakyll
approved these changes
Jul 16, 2026
rakyll
pushed a commit
that referenced
this pull request
Jul 21, 2026
…#305) ## Summary `skills.NewExecutor` returned `io.EOF` to signal that the skills directory was scanned successfully but contained no `SKILL.md` files. Two callers (`NewSkillsTool` in `gemini.go`, `NewGeminiPlannerAgent` in `gemini_planner.go`) checked this with `err == io.EOF` or `errors.Is(err, io.EOF)` to decide whether to fall back to a no-op tool. `io.EOF` is surprising in this context — the caller has no stream and no end-of-input semantics, just an empty directory. A reader hitting this code has to look up what `io.EOF` means here, and any future code that wraps the error could accidentally make the comparison brittle. ## Change Define a package-level sentinel: ```go var ErrNoSkills = errors.New("no skills found") ``` Return it from `NewExecutor` when `len(found) == 0`, and update both callers to use `errors.Is(err, skills.ErrNoSkills)`. The `io` import is no longer needed in either gemini file. ## Type of Change - [ ] Bug fix - [ ] New feature - [x] Refactor - [ ] Documentation - [ ] Breaking change ## Testing - New unit tests `TestNewExecutor_NoSkills` and `TestNewExecutor_WithSkills` cover both branches. - `go build ./...` clean. - `go test ./...` passes (in particular the gemini package, since both call sites changed).
rakyll
pushed a commit
that referenced
this pull request
Jul 21, 2026
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.
Split the single combined
aximage into two images:ax— Used by the ax-server and the Go interactions harness.ax-antigravity— Used by the antigravity harness built with python SDK.The resumption time of interactions actor reduce from ~800ms to ~500ms with the removed python dependencies. The resumption time of the antigravity python actor doesn't change much.
Tested
Deployed on substrate and run with both antigravity and antigravity-interactions.
Antigravity actor resume: ~1.6s
Interactions actor resume: ~500ms