Repository navigation
improve: list Docker streams and flag unconfirmed cleanup in Doctor - #201292
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: passed. What this changesThis PR lists saved Docker stream definitions in Doctor and separately warns about recorded uncertain container cleanup. Example: The deleted stream has cleanup reference cron:retired:removed with phase uncertain.
Review scores
The scores reflect the reviewer's assessment. Real behavior proof is not required for maintainer- or bot-authored pull requests. ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it adds useful Doctor diagnostics absent from current main, resolves the previous cleanup-read finding, and has no identified blocking defects. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherDoctor consumes saved cron definitions, quarantine rows, and sandbox cleanup records and produces informational inventory entries and actionable warnings. flowchart TD
A[Saved cron jobs] --> D[Doctor cron inspection]
B[Quarantined definitions] --> D
C[Sandbox cleanup records] --> E[Existing state read worker]
E --> D
D --> F[CLI notes and lint JSON]
Technical reviewBest possible solution: Extend the existing Doctor inspection and sandbox read owners while preserving saved jobs and Gateway-owned cleanup. Do we have a high-confidence way to reproduce the issue? Current-main source confirms the missing inventory and cleanup diagnostics; no target code was executed during this read-only review. Is this the best way to solve the issue? The approach fits the existing owners: saved definitions describe configuration, while sandbox custody records independently describe uncertain cleanup. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 54b5989716f3. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +140, Tests +65, Docs +9. Total +214 across 7 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed November 28, 2026, 4:57 PM ET / 21:57 UTC (Revision 3). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Move project selection and its New worktree switch into the visible project field. Keep agent selection and Remember settings in their original menu. Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix: stop warning about unsaved drafts when opening a chat Keep failed background recovery reads distinct from failed edits in the composer and Side chat. Keep one access notice when browser storage is unavailable without consuming the warning for a later failed save. Co-authored-by: vyctorbrzezowski <[email protected]> * fix: stop warning about unsaved drafts when opening a chat Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 227e24ff-2a24-4a82-a325-e7787c443eed --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix(ui): keep the flat session list collapsed Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ui): keep the sidebar session list collapsed Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: d5d9e6c3-ba53-4dec-9efe-a5a9c5c29445 * fix(ui): page the sidebar only when it scrolls to the end Co-authored-by: vyctorbrzezowski <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix: stop treating limited access as an inbox alert Co-authored-by: vyctorbrzezowski <[email protected]> * fix: stop treating limited access as an Inbox alert Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: a014cab4-b01d-458b-aa67-ec83ad3a2a99 --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix: child session activity ring freezes during startup Project accepted preparation as running without starting the execution clock. Reserve queued presentation for actual mailbox/global-lane waits and preserve recorded capacity waits. Co-authored-by: vyctorbrzezowski <[email protected]> * fix: child session activity ring freezes during startup Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 2bf26c5b-2410-44b2-9915-d2289a90f388 * fix: align Gateway consumers with active session startup Expect active accepted chat preparation, record a real lane wait in metrics, and distinguish preparation from actual queued input in describe/list coverage. Co-authored-by: vyctorbrzezowski <[email protected]> * Publish openclaw/plaid-crayfish Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 29690b6c-a214-45c1-9591-fd19b1d51336 * test(gateway): cover child startup in the current session checks --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Dependency removals notedThis PR only removes dependencies from the dependency graph, so the dependency guard is informational and does not require additional admin or SecOps approval.
A later push that adds or changes dependency graph entries will require a fresh admin or SecOps approval. |
What Problem This Solves
An operator looking through saved automations needs to know which ones use Docker. Container cleanup has its own lifecycle. A paused job can be fully settled, and a container can still need attention after its job has been deleted.
User Impact
Doctor lists configured, paused, and quarantined Docker stream definitions by job ID. It also names stored definitions the Gateway did not load, using their saved job IDs. For a machine-readable inventory, run
openclaw doctor --lint --only core/doctor/legacy-cron-store --severity-min info --json.A separate warning names a stream when the Gateway records its container cleanup as uncertain. The warning includes the full saved cleanup reference when the stream belongs to another store or no store is selected. It directs the operator to the Gateway logs and original Docker daemon. If Doctor cannot read the cleanup records, it includes the redacted read error and a command to retry the check. The inventory reads saved state without contacting Docker, editing jobs, or printing command arguments.
Why This Change Was Made
The saved job tells Doctor where a stream is configured to run. The sandbox's cleanup record tells it whether container removal is unconfirmed. Reading both preserves the distinction across pauses, quarantine, and deletion. The Gateway continues to own stream conditions, output matching, batching, and process cleanup. Stream lifecycle
Evidence
fbf1aaedb073and PR revisioneb6ced16fd7f. With the same synthetic streams, main reported the existing quarantine warning. The PR build also listed the configured, paused, and quarantined Docker streams, and reported unconfirmed cleanup for a stream with no saved job. The warning threshold omitted the informational inventory.b486b9f49a8d, Doctor lint reported SQLite’s missing-column error and supplied the read-only retry command. The source profile was write-protected and its database checksum matched before and after the check.b486b9f49a8dpassed, including recovery guidance and the default for a stream with no saved enabled flag. Core lint stripe 1, core typecheck, and scoped formatting passed. The Doctor cron and sandbox-store suites passed all 35 tests in the Gateway comparison ateb6ced16fd7f.b486b9f49a8d.The enforced read-only proof covers Doctor lint. Full maintenance Doctor stopped before cron on a write-protected copy. No live Docker workload or stable-release upgrade was exercised.
Contributor: Vyctor Brzezowski
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by