Skip to content

api: drop TaskSpec.retry and TaskStatus.attempt - #770

Merged
yongruilin merged 1 commit into
google:mainfrom
yongruilin:ax-taskspec-update
Nov 25, 2026
Merged

yongruilin merged 1 commit into
google:mainfrom
yongruilin:ax-taskspec-update

Conversation

@yongruilin

Copy link
Copy Markdown
Collaborator

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.

ax-server rejected `spec.retry` as unimplemented, and `status.attempt`
was always 1. The fields after them are renumbered.
@yongruilin
yongruilin merged commit 651fd23 into google:main Nov 25, 2026
13 checks passed
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