You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixture corpus derived from `docs/reference/desktop/` (sanitized, no secrets)
686
+
- **Missing coverage (to add)**:
687
+
- Prestartup path/permission failures: log dir cannot be created / log file cannot be opened must not break startup (`prestartup_script.py`)
688
+
- Desktop flush exception storms: ensure `FlushSafeProxy` + Desktop flush-ignore filter prevents recursive exception spam and history bloat (`logger.py`)
689
+
- Store corruption self-heal: verify corrupt files are rotated aside and a clean store is recreated (`history_store.py`, `services/diagnostics/store.py`)
690
+
- Migration invariants: legacy history is migrated and legacy file is renamed with `.migrated-<ts>` (R18 migration path)
691
+
- **Implementation notes (when scheduled)**:
692
+
- Prefer stdlib `unittest` (so tests don't depend on pytest being installed locally), but keep compatible with pytest discovery in CI.
693
+
- Add a small fixture set under `tests/fixtures/desktop/` derived from `docs/reference/desktop/` (sanitized; no secrets).
694
+
- Focus assertions on: bounded growth (aggregation window), no infinite recursion, and successful recovery after corruption.
685
695
- [ ] **T9**: External Environment Test Coverage Expansion (Non-ComfyUI) - 🟡 Medium
686
696
- **Goal**: Cover pipeline integration, SSE/REST contracts, and UI contracts without a live ComfyUI runtime
0 commit comments