Skip to content

Zero-flag ax local / Studio UX when DefaultServerImage and DefaultRunnerVolumeImage are unset #661

Open

Description

@mayawang

Today internal/install/axdeploy/deploy.go leaves DefaultServerImage = "" and DefaultRunnerVolumeImage = "", so ResolveImageInputs errors immediately unless --server-image / $AX_SERVER_IMAGE is set explicitly. Downstream UI setup (AX Studio) likewise blocks setup until AX_SERVER_IMAGE is provided in the UI or environment.

For v0.4.0-rc.1, we are keeping image refs explicit to avoid release-branch churn while ax-runner-volume rollout (#625) settles. Ahead of wider public usage, decide during bug-bash triage between:

  1. Populating release defaults on tagged binaries: internal/version/version.go already exposes version.IsRelease() and version.Image(name), which can default ax-server (and ax-runner-volume once enabled by default) on release builds while still keeping local dev builds explicit.
  2. Keeping explicit image configuration with clear copy-paste UX: Ensure install.sh / quickstart docs and release notes prominently surface ready-to-export AX_SERVER_IMAGE and AX_RUNNER_VOLUME_IMAGE commands and give a clearer prompt in ax local / ax install.

Related: #625, #648

Metadata

Metadata

Assignees

Labels

bug-bashdevx

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions