Skip to content

ateapi/controlapi: process syncer events via rate-limiting workqueue - #674

Open
Troy Chiu (troychiu) wants to merge 2 commits into
agent-substrate:mainfrom
troychiu:syncer-workqueue-refactor
Open

ateapi/controlapi: process syncer events via rate-limiting workqueue#674
Troy Chiu (troychiu) wants to merge 2 commits into
agent-substrate:mainfrom
troychiu:syncer-workqueue-refactor

Conversation

@troychiu

@troychiu Troy Chiu (troychiu) commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Refactors WorkerPoolSyncer to process events through a rate-limiting workqueue instead of processing them synchronously inline.

Previously, store errors during Informer event handling, such as

  • optimistic locking version conflicts (store.ErrVersionConflict)
  • create races (store.ErrAlreadyExists)
  • WorkerPool not yet present in the lister cache

were logged and dropped, leaving store state out of sync until a subsequent pod event occurred.

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

@troychiu

Copy link
Copy Markdown
Contributor Author

cc Eitan Yarmush (@EItanya)

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.

1 participant