mirror of
https://github.com/stablyai/orca.git
synced 2026-10-28 00:02:54 +00:00
fix(orchestration): fence live worker lifecycle transitions
This commit is contained in:
@@ -16482,7 +16482,7 @@ export class OrcaRuntimeService {
|
||||
}
|
||||
|
||||
const errorContext = `Agent exited with code ${exitCode}`
|
||||
this._orchestrationDb.failDispatch(dispatch.id, errorContext)
|
||||
this._orchestrationDb.failDispatch(dispatch.id, errorContext, { workerProcessExited: true })
|
||||
|
||||
// Why: create an escalation message so the coordinator is notified about
|
||||
// the unexpected exit on its next check cycle, even if the circuit breaker
|
||||
|
||||
Reference in New Issue
Block a user