Skip to content

api: clean up v1alpha1 proto field numbers and Task status types - #605

Merged
siyuanfoundation merged 1 commit into
google:mainfrom
siyuanfoundation:task-api
Nov 16, 2026
Merged

siyuanfoundation merged 1 commit into
google:mainfrom
siyuanfoundation:task-api

Conversation

@siyuanfoundation

Copy link
Copy Markdown
Collaborator

closes #595, #596, #597

  • Renumber fields sequentially and drop pre-release reserved numbers in ResourcesSpec, TaskSpec, TaskStatus, WorkspaceRef, WorkspaceSpec, and GitRepo.
  • Rename StatusDetail to TaskStatusDetail and remove TaskOutcome.structured_output.
  • Regenerate protobuf bindings and update server status handling and YAML codec tests.

@siyuanfoundation

Copy link
Copy Markdown
Collaborator Author

/cc @rakyll @YoyinZyc @mayawang

@mayawang mayawang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense while we're pre-release, LGTM

// WorkspaceRef binds a Task to a Workspace in the same atespace.
message WorkspaceRef {
string name = 1;
// Held for atespace.

@YoyinZyc YoyinZyc Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we hold it for atespace, #598

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it. Restored.

- Renumber fields sequentially and drop pre-release reserved numbers in ResourcesSpec, TaskSpec, TaskStatus, WorkspaceRef, WorkspaceSpec, and GitRepo.
- Rename StatusDetail to TaskStatusDetail and remove TaskOutcome.structured_output.
- Regenerate protobuf bindings and update server status handling and YAML codec tests.

Signed-off-by: siyuanfoundation <[email protected]>
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.

Remove structured_output from TaskOutcome

3 participants