Skip to content

fix(ateapi): keep worker reclaimable when crashActor's release fails - #771

Open
Anish Ramasekar (aramase) wants to merge 1 commit into
agent-substrate:mainfrom
aramase:aramase/i/fix_608_crashactor_worker_leak
Open

fix(ateapi): keep worker reclaimable when crashActor's release fails#771
Anish Ramasekar (aramase) wants to merge 1 commit into
agent-substrate:mainfrom
aramase:aramase/i/fix_608_crashactor_worker_leak

Conversation

@aramase

Copy link
Copy Markdown
Contributor

Fixes #608

crashActor collected the releaseWorker error but still marked the actor CRASHED and cleared its WorkerAssignment, stranding the still-assigned worker with no actor left to reclaim it. On a release failure, return instead so the actor stays intact and the workflow's retry reclaims the worker (releaseWorker is idempotent).

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

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.

[P2] crashActor proceeds to UpdateActor even when releaseWorker fails — worker permanently consumed

1 participant