You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reconsider AX recording whether a task completed or failed #747
Draft PR #743 has AX record a task as Completed or Failed from a status file its agent writes, and it shows how complicated collecting that signal is. AX has to poll every running task's runner through atenet-router, keep a working queue of the tasks whose end is not recorded yet, avoid resuming suspended actors, and run a separate single-replica observer to do it. Most sophisticated tasks will bring their own communication protocol for these events, such as a task API that reports progress, results and failures to their own systems. Those protocols carry far more than COMPLETED or FAILED, and AX's copy of the outcome would be a second, coarser source of truth. Should AX stay out of judging how a task ended, and leave it to the task's own protocol?
Activity