Repository navigation
hack: bind a Gateway to the hero demo's Antigravity starter task - #608
Conversation
The starter is now Antigravity, and its Gateway adds the Gemini API key outside the sandbox. Live mode reports a stub instead of a failure for what main cannot run yet: the workspace's spec.profile and the placeholder image.
mayawang
left a comment
There was a problem hiding this comment.
Nice, good to have real egress in the demo. Two small things: #607 just dropped spec.profile from workspace.yaml (Yuchen will add it back with prewarm), so the "spec.profile is not supported yet" case in apply_workspace and the README line about it can go. And the gateway.yaml setup comment should also mention granting the default atespace the ax-system namespace in Substrate's k8s-credential-provider-namespace-policy, otherwise injection 403s. LGTM otherwise
… grant workspace.yaml no longer sets spec.profile (google#607), so run.sh stops handling its rejection. gateway.yaml now says the cluster must grant atespace default the ax-system namespace.
Updated. I dropped the |
Wire a Gateway into
hack/hero-demo/and switch its starter from Claude Code to Antigravity.gateway.yaml(hero-demo-gw) allowsgenerativelanguage.googleapis.comand adds the Gemini API key from a labeled Secret inax-system, so the starter task holds onlyGEMINI_API_KEY=placeholder.run.shapplies the Gateway before the starter task, both locally and when promoting to a remote cluster.mainno longer reports a failure for the starter image, which is still a placeholder.Follow-up: allow the hosts the Antigravity image installs
agyfrom once it is published; that image also needsax-task-runnerinjection.