Repository navigation
api: drop data-plane fields from TaskStatus - #756
Merged
Merged
Conversation
Task status no longer carries anything from the data plane of the task's actor: how its command ended, its output, or retry context. An external orchestrator will manage task status and suspension/resumption. - Remove TASK_STATE_FAILED and TASK_STATE_COMPLETED. A task whose actor could not be provisioned, or no longer exists, has no state; its Ready condition says why. - Remove TaskOutcome (status, exit_code, output) and TaskStatus.previous_failure, which nothing set, and the google/rpc/status.proto import and googleapis buf dependency. - Renumber TaskStatus fields.
This was referenced Nov 24, 2026
Closed
yongruilin
approved these changes
Nov 24, 2026
ghchinoy
added a commit
to ghchinoy/ax
that referenced
this pull request
Nov 25, 2026
ghchinoy
added a commit
to ghchinoy/ax-experiments
that referenced
this pull request
Nov 25, 2026
…leted/Failed), #757 (--router-url), and substrate#483 Follows merged google/ax#756 (39172e4), #757 (d2e8a08), and closure of #690/#743: - diagrams/03-settled-task-lifecycle.dot: separates AX Control Plane TaskState (Queued, Running, Suspended, Crashed; zero data-plane polling) from External Orchestrator / Agent Protocol (Idle, RequiresAction, Completed/Failed). - concepts/01, 04 & diagrams/05: sharpens the two-plane boundary into a 3-layer stack (Agent Substrate 1.0 -> AX Control Plane -> External Orchestrator & Agentic Platform). - concepts/02, 03, README, okf/concepts.md: removes deleted FAILED=201 and COMPLETED=202, notes --router-url on ax-server vs ATENET_ROUTER_ADDR on ax ssh (#757), and cites agent-substrate/substrate#483 (actor self-suspend).
This was referenced Nov 25, 2026
ghchinoy
added a commit
to ghchinoy/ax
that referenced
this pull request
Nov 25, 2026
mayawang
added a commit
to agentexecutor/images
that referenced
this pull request
Nov 25, 2026
Update agy-cli to match the google/ax runner, launcher, and data-plane output changes (supersedes draft #29 after #34): - agy-cli/Dockerfile: install the launcher at /usr/local/bin/ax-launcher (google/ax#734) and symlink /usr/local/bin/ax-harness -> ax-launcher for v0.4.0-rc.1 compatibility. - agy-cli/verify_image.sh: fail if either ax-runner (google/ax#677) or ax-task-runner is present, and require both /usr/local/bin/ax-launcher and /usr/local/bin/ax-harness. - agy-cli/ax-harness and .github/workflows/agy-cli.yaml: update comments, ax-launcher stderr prefixes, and workflow step title. - agy-cli/README.md: update ax-task-runner -> ax-runner, ax-harness -> ax-launcher (with compatibility symlink note), and status.outcome.output -> <workspace>/.ax/output (google/ax#756). Leaves agy/ untouched so #33 stays conflict-free. Verification: - ./scripts/verify/boilerplate.sh (pass) - bash -n agy-cli/ax-harness agy-cli/verify_image.sh agy-cli/test_harness.sh (pass) - ./agy-cli/test_harness.sh (ALL AX-HARNESS TESTS PASSED) - ./fakes/mock-gemini/selftest.sh (ALL MOCK GEMINI SELFTEST CHECKS PASSED) - python3 -c "import yaml; yaml.safe_load(open('.github/workflows/agy-cli.yaml'))" (pass) - Mocked docker verification of ./agy-cli/verify_image.sh (runtime/bundled pass; rejects ax-runner, ax-task-runner, missing ax-launcher, missing ax-harness) - (cd agy && go vet ./... && go test -race -count=1 ./...) (pass) - Note: local docker build skipped (no Docker socket in this environment); covered by the agy-cli and Release Images dry-run PR workflows.
mayawang
added a commit
that referenced
this pull request
Nov 25, 2026
… timeouts (#763) Updates the hero demo manifests, script timeouts, and documentation for `agentexecutor/images` `v0.0.0-rc.3` and #756: - **`hack/hero-demo/{workspace,task-starter}.yaml`:** switch the starter image from deprecated `ghcr.io/agentexecutor/antigravity` (`v0.0.0-rc.2`) to `ghcr.io/agentexecutor/agy-cli@sha256:13c1957d2e790c3a981de08e3996acc268e855f2e6a79b5e931ec62e8b54c2a5` (`v0.0.0-rc.3`). Keeps `task-starter.yaml`'s `ax-launcher` -> `ax-harness` fallback so it works against both `v0.0.0-rc.3` and follow-up `agy-cli` builds. - **`hack/hero-demo/run.sh`:** raise default `AX_TIMEOUT` from `120` to `300` seconds for live runs and wrap Step 5 `ax promote` in `AX_TIMEOUT=600` (matching Step 2) because `promote` pre-warms `hero-demo-ws` synchronously when the remote cluster does not have it yet. - **`hack/hero-demo/{README.md,run.sh,task-custom.yaml,task-starter.yaml}`:** update stale `#690` comments to `#756` (command completion and output on the data plane). Leaves `examples/simple.yaml` and `docs/runner.md` under #679. ### Verification - Verified anonymous GHCR pull for `ghcr.io/agentexecutor/agy-cli:v0.0.0-rc.3` (`HTTP 200`, digest `sha256:13c1957d2e790c3a981de08e3996acc268e855f2e6a79b5e931ec62e8b54c2a5`) - `bash -n hack/hero-demo/run.sh` (pass) - `./hack/hero-demo/run.sh` (non-live run passes cleanly) - YAML parse check across `hack/hero-demo/{workspace,task-starter,task-custom}.yaml` (pass) - Mocked live `RUN_LIVE_STEPS=1 ./hack/hero-demo/run.sh --remote-context mock-remote` (all steps pass / expected stub; verifies `AX_TIMEOUT=600` on `ax promote` and `300s` default) - `make verify` (`buf format/lint/generate`, `go mod tidy`, `go fmt`, `golangci-lint`: `0 issues`) - `go test -count=1 ./pkg/... ./cmd/ax/... ./internal/... ./runner/...` (all packages pass; Postgres integration tests skip when `AX_TEST_POSTGRES_URL` is unset)
yongruilin
added a commit
that referenced
this pull request
Nov 25, 2026
Removes `spec.retry` and `status.attempt` from the Task API. AX cannot retry a task: it no longer records how a task's command ended (#756), and ax-server already rejected `spec.retry` as unimplemented. `status.attempt` only counted retries, so it was always 1. - `spec.retry`, `RetryConfig`, their validation and the `Unimplemented` check in `CreateTask` are removed. - `status.attempt` is removed, and `ax describe` no longer prints `Attempt`. - The fields after them are renumbered. - A manifest that sets `spec.retry` now fails as an unknown field.
ghchinoy
added a commit
to ghchinoy/ax
that referenced
this pull request
Nov 25, 2026
ghchinoy
added a commit
to ghchinoy/ax
that referenced
this pull request
Nov 25, 2026
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.
Task status no longer contains anything from the data plane of the task's actor: how its command ended, its output, or retry context. An external orchestrator will be used for task status management and for suspending and resuming tasks. AX reports only what it knows as the control plane: its own
QUEUEDstate, the actor's state on Agent Substrate, and conditions.TASK_STATE_FAILEDandTASK_STATE_COMPLETED.COMPLETEDwas never set. A task whose actor could not be provisioned, or no longer exists, now has no state, and itsReadycondition says why (for exampleActorCreationFailedorActorNotFound). When the actor exists, its live state is reported, and the failed call still returns its error.TaskOutcome(status,exitCode,output) andTaskStatus.previousFailure, which nothing set.ax describeno longer printsExit Code/Output, andax promote --suspend-sourceno longer skips tasks with an outcome.google/rpc/status.protoimport and thebuf.build/googleapis/googleapisdependency, and renumberTaskStatusfields. This is a breaking change, which is fine forv1alpha1. Stored rows with removed fields or enum values still load, because the Postgres store discards unknown protojson fields.Tested with
make verify,go test ./..., and the Postgres store tier.