Repository navigation
hack: drop the workspace profile from the hero demo until pre-warming is on - #607
Merged
Merged
Conversation
… is on ax-server rejects spec.profile on a Workspace as not supported yet until workspace pre-warming is enabled (google#592), so Step 2 of the hero demo failed at ax apply in live mode. Leave a TODO to add the profile back. Verification: ./hack/hero-demo/run.sh # prints the scoreboard, exit 0 workspace.yaml, task-starter.yaml and task-custom.yaml decode with the strict v1alpha1 YAML decoder and pass ValidateWorkspace/ValidateTask and ax-server's unimplemented-field checks; main's workspace.yaml fails the latter with spec.profile.
Collaborator
|
I will enable the prewarm once the task and runner related stuff are in. Add it to my todo. Thanks! |
YoyinZyc
approved these changes
Nov 16, 2026
yongruilin
added a commit
to yongruilin/ax
that referenced
this pull request
Nov 16, 2026
… 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.
yongruilin
added a commit
that referenced
this pull request
Nov 16, 2026
* hack: bind a Gateway to the hero demo's Antigravity starter task 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. * hack: drop the hero demo's spec.profile handling, note the credential grant workspace.yaml no longer sets spec.profile (#607), so run.sh stops handling its rejection. gateway.yaml now says the cluster must grant atespace default the ax-system namespace.
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.
ax-serverrejectsspec.profileon a Workspace ("not supported yet") until workspace pre-warming is enabled (#592). So Step 2 of the hero demo failed atax apply -f workspace.yamlin live mode. This drops the profile and leaves a TODO to add it back once pre-warming is on.The task manifests already follow the new Task schema from #587 and #604.
Verification
./hack/hero-demo/run.sh # prints the 5-step scoreboard, exit 0workspace.yaml,task-starter.yamlandtask-custom.yamldecode with the strict v1alpha1 YAML decoder and passValidateWorkspace/ValidateTaskand ax-server's unimplemented-field checks. On main,workspace.yamlfails the latter withspec.profile.RUN_LIVE_STEPS=1against a stubaxstill prints the scoreboard and exits 0. I didn't run it against a real cluster.