mirror of
https://github.com/morluto/rea.git
synced 2026-10-27 01:45:32 +00:00
feat(sqlite): make worker deadlines adjustable with recovery guidance (#5818)
Expose a per-call SQLite worker deadline with exact CLI/MCP recovery controls, parent-owned execution metadata and historical unknown preservation. Keep fixed resource limits and cleanup admission intact. Share typed cleanup composition with one captured-output owner and preserve the timeout after cleanup resolves. Fixes #5812. Follow-up tracking: #5808. Existing CLI test-oracle failure: #5845. Verified 155 SQLite tests (3 skipped), static/docs/discovery checks, six real CLI/MCP pairs and 13 actual Codex sessions including four corrected deadline recoveries. Three pre-dispatch discovery failures remain explicit, not passes. Review findings include real retained-cleanup and fixture ownership regressions. Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
This commit is contained in:
1 parent
5241597594
commit
f801b2fbfd
15 files changed
+496
-49
No files matched your search
@@ -296,7 +296,16 @@ it("retains reply-read cancellation and retries the failed reply descriptor clos
|
||||
code: "cleanup_incomplete",
|
||||
details: {
|
||||
resources: [dirname(descriptorCleanup.path)],
|
||||
diagnostics: { previous_error: cancelled },
|
||||
captured_output: cancelled.details.captured_output,
|
||||
diagnostics: {
|
||||
previous_error: {
|
||||
code: cancelled.code,
|
||||
details: {
|
||||
execution_failure: "cancelled",
|
||||
resources: cancelled.details.resources,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
: cancelled,
|
||||
|
||||
Reference in new issue
Block a user