Skip to content

Make UpdateActor method to follow API guidelines - #742

Merged
Julian Gutierrez Oschmann (juli4n) merged 1 commit into
agent-substrate:mainfrom
laoj2:update-methods
Aug 5, 2026
Merged

Make UpdateActor method to follow API guidelines#742
Julian Gutierrez Oschmann (juli4n) merged 1 commit into
agent-substrate:mainfrom
laoj2:update-methods

Conversation

@laoj2

Copy link
Copy Markdown
Collaborator

#732

  • UpdateActorRequest now carries the resource itself + update_mask
  • worker_selector is now applied via the update mask (making it possible to clear the worker selector)
  • update_mask is validated against an allowlist of paths. Currently, only worker_selector is allowed.
  • Added uid and version as optional guards.

I'll update UpdateActorSnapshotTag in a follow-up PR

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

Comment thread cmd/ateapi/internal/controlapi/update_actor.go
Comment thread cmd/ateapi/internal/controlapi/functional_test.go
Comment thread pkg/proto/ateapipb/ateapi.proto Outdated
@juli4n
Julian Gutierrez Oschmann (juli4n) merged commit b11c6e0 into agent-substrate:main Aug 5, 2026
11 checks passed
@laoj2
Luiz Oliveira (laoj2) deleted the update-methods branch August 10, 2026 13:06
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.

3 participants