Skip to content

ateapi: align ActorSnapshot request validation - #976

Open
Yiqing Wang (YQ-Wang) wants to merge 1 commit into
agent-substrate:mainfrom
YQ-Wang:feat/903-snapshot-request-validation
Open

ateapi: align ActorSnapshot request validation#976
Yiqing Wang (YQ-Wang) wants to merge 1 commit into
agent-substrate:mainfrom
YQ-Wang:feat/903-snapshot-request-validation

Conversation

@YQ-Wang

@YQ-Wang Yiqing Wang (YQ-Wang) commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Fixes #903

#947 added the ActorSnapshot request validator helpers. This follow-up moves the remaining cross-Atespace ActorSnapshotTag check into request validation so malformed input consistently returns InvalidArgument.

It also adds table-driven coverage for the ActorSnapshot request validators.

  • Tests pass
  • Appropriate changes to documentation are included in the PR

Signed-off-by: Yiqing Wang <yiqing@wangemail.com>
@YQ-Wang
Yiqing Wang (YQ-Wang) marked this pull request as ready for review August 15, 2026 07:52
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.

Restructure request validations in cmd/ateapi/internal/controlapi/actor_snapshot.go

1 participant