Skip to content

ateapi: drop unknown fields when reading worker assignments - #3636

Merged
Julian Gutierrez Oschmann (juli4n) merged 2 commits into
agent-substrate:mainfrom
HavenXia:worker-assignment-unknown-fields
Nov 19, 2026
Merged

Julian Gutierrez Oschmann (juli4n) merged 2 commits into
agent-substrate:mainfrom
HavenXia:worker-assignment-unknown-fields

Conversation

@HavenXia

@HavenXia Haven Xia (HavenXia) commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Why is this needed?

The worker assignment code decoded stored Workers and ActorAssignments with proto.Unmarshal, so it kept fields this binary has no descriptor for.

This PR modify it to use unmarshalStored, which drops them, like every other store read, as the effort from #1205.

Fixes #3634

AI use: I editted the function, Claude wrote tests and I reviewed.

  • Tests pass
  • Docs updated

@HavenXia Haven Xia (HavenXia) modified the milestones: v1.0.x, v1.1 Nov 16, 2026
@HavenXia

Copy link
Copy Markdown
Member Author

Julian Gutierrez Oschmann (@juli4n) this can be merged given previously approved and freeze is lifted.

Merged via the queue into agent-substrate:main with commit 320fb44 Nov 19, 2026
5 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.

worker assigment reads keep unknown proto fields

2 participants