mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-20 17:41:33 -06:00
47ffb49f71
* fix(restart-sentinel): log DB errors instead of silently swallowing them Replace empty catch blocks in clearRestartSentinel, readRestartSentinel, and hasRestartSentinel with sentinelLog.warn(...) calls so SQLite errors are visible in diagnostics while preserving best-effort fallback semantics. Tests use deterministic fault injection via vi.mock on openclaw-state-db.js with hoisted throw flags, replacing the previous non-deterministic state-dir removal approach. Each error path asserts both the warning message and the correct fallback return value. * fix(restart-sentinel): report persistence failures Co-authored-by: wendy-chsy <wan.wenyan@xydigit.com> * ci: retrigger pull request checks * chore(ci): prune stale max-lines baseline * chore(ci): retest against repaired protocol baseline * chore: stabilize restart sentinel changelog entry --------- Co-authored-by: Peter Steinberger <steipete@gmail.com> Co-authored-by: wendy-chsy <wan.wenyan@xydigit.com>