Skip to content

hack: drop the workspace profile from the hero demo until pre-warming is on - #607

Merged
mayawang merged 1 commit into
google:mainfrom
mayawang:hero-demo-task-schema
Nov 16, 2026
Merged

mayawang merged 1 commit into
google:mainfrom
mayawang:hero-demo-task-schema

Conversation

@mayawang

Copy link
Copy Markdown
Collaborator

ax-server rejects spec.profile on a Workspace ("not supported yet") until workspace pre-warming is enabled (#592). So Step 2 of the hero demo failed at ax apply -f workspace.yaml in 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 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. On main, workspace.yaml fails the latter with spec.profile.
  • RUN_LIVE_STEPS=1 against a stub ax still prints the scoreboard and exits 0. I didn't run it against a real cluster.

… 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.
@mayawang
mayawang requested a review from YoyinZyc November 16, 2026 19:21
@YoyinZyc

Copy link
Copy Markdown
Collaborator

I will enable the prewarm once the task and runner related stuff are in. Add it to my todo. Thanks!

@mayawang
mayawang merged commit e5adc50 into google:main Nov 16, 2026
10 checks passed
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants