agent-substrate / agent-substrate/substrate

Support async workflows in ate-api

オープン
#1,227 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
area/api area/api-machinery kind/feature
主要言語
Go
スター
1.8k
フォーク
316
平均マージ
2日 43分
マージ済み PR(30日)
287

説明

Currently all workflows / APIs are synchronous, and any failures require the client to retry.

For certain operations (eg. DeleteWorker) there are dependent operations (eg. unassign actor) which will fail the operation if any of the steps are unsuccessful. We should support async workflows where a client can call the API and the operation will run in the background, with exponential error backoff. Then if clients want, they can fire and forget and assume the operation will complete eventually, instead of managing the retries manually.

We should consider what the UX is for these async APIs. How will errors, or API status be returned? We likely need some way for clients to poll the status (eg. Like LROs in GCP).

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。