Skip to content

hack/hero-demo: wire Step 4 custom image task - #672

Closed
itssimrank wants to merge 1 commit into
google:mainfrom
itssimrank:hero-demo-step4
Closed

itssimrank wants to merge 1 commit into
google:mainfrom
itssimrank:hero-demo-step4

Conversation

@itssimrank

Copy link
Copy Markdown
Collaborator

Wires up Step 4 (step4_custom_image_task) in the v0.1 hero demo harness now that automatic ax-task-runner injection (#639) and workspace pre-warming (#651) are on main:

  • hack/hero-demo/task-custom.yaml: Pins python:3.12@sha256:5411fa1b302c43f510324381162b5f5d0d93b9ee2af538f09d944f0d290ee3cb by digest (using the full python:3.12 image so hero-demo-ws setup's git init succeeds when sharing the workspace across images).
  • hack/hero-demo/run.sh: Implements step4_custom_image_task to delete any prior hero-demo-custom-task, apply task-custom.yaml (with AX_TIMEOUT=600 for first-time image pull/setup), resume it, and wait for State: Completed.
  • hack/hero-demo/README.md: Updates the Step 4 documentation and removes it from the stubbed list.

Tested locally against Kind (ax-e2e):

  • RUN_LIVE_STEPS=1 ./hack/hero-demo/run.sh --step 2 -> 🟢 PASS
  • RUN_LIVE_STEPS=1 ./hack/hero-demo/run.sh --step 4 -> 🟢 PASS (Ran 1 test in 0.000s, OK, exitCode=0)
  • ./hack/hero-demo/run.sh (dry-run) -> exits 0

@itssimrank itssimrank closed this Nov 20, 2026
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.

1 participant