CI twin for PR #23
Closed
UA
3mo ago+597+597+012345678901234567890123456789-20-20-01234567890123456789
Fork PRs skip the Rust matrix; twin for iceteaSA's #23 at 542fee0f.
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.
Summary by cubic
Add bounded per‑module terminal-exit history and expose it via a new supervisor.terminals RPC and ck module terminals. Previously only the most recent exit was visible via supervisor.list; now supervisor.list also includes last_exit_ms, and the full recent history is queryable on demand, including a dropped count and the daemon start time.
- What to review
- Control API (
subc-control0.2.0): addssupervisor.terminalsrequest/response,TerminalHistory/TerminalEntry/TerminalDispositiontypes, and alast_exit_msfield onSupervisorEntry; catalogs include the new op. - Core supervisor (
subc-core0.4.0): new per-moduleTerminalRingtracks exits and chosen dispositions; integrated into all terminal paths (clean stops, drains, crashes, restarts). - CLI: new
ck module terminals <id>command with--json; help text updated; golden fixtures added for the new API.
- Control API (
- Required actions
- Update dependencies to
subc-control0.2.0 (e.g.,subc-client-rsnow requires it) and adjust any exhaustive matches overClientControlRequest/ClientControlResponseto handlesupervisor.terminals. - If you parse
supervisor.list, tolerate the newlast_exit_msfield; if you enumerate supported ops, acceptsupervisor.terminals.
- Update dependencies to