mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 19:53:50 +00:00
fix(agentenv): settle cancelled long runs and preserve teardown receipts (#11095)
Bound AgentEnv long-run cancellation, preserve partial command facts and complete computer teardown before resolving retained jobs. Includes the supervisor and cleanup implementation from #10675 plus polled-receipt and explicit-unknown exit-status fixes. Validation: 14 Python controller tests, 31 host tests and 30 compiled MCP/lifecycle tests passed. Static, documentation and discovery checks passed. Real AgentEnv deployment was not exercised: runner unavailable. Fixes #10676 Related: #10675 Co-authored-by: Adolanium <94890352+Adolanium@users.noreply.github.com> Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
This commit is contained in:
8 files changed
+704
-69
No files matched your search
@@ -164,6 +164,8 @@ export const answerSchema = z.looseObject({
|
||||
output_bytes: z.int().nonnegative().optional(),
|
||||
stdout_bytes: z.int().nonnegative().optional(),
|
||||
stderr: z.string().optional(),
|
||||
/** False when the supervisor published a result but the process group is not confirmed gone. */
|
||||
settled: z.boolean().optional(),
|
||||
apt: z
|
||||
.looseObject({ lists: z.int().nonnegative(), error: z.string().optional() })
|
||||
.optional(),
|
||||
|
||||
Reference in new issue
Block a user