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
{{ message }}
Repository navigation
Await settings persistence before closing and preserve the draft on save failure #50
Save calls onSave(s) and immediately onClose(). Persistence/refresh are asynchronous in App. If saving fails, the modal is already closed and its draft is lost; there is no pending state or in-dialog retry.
Triage
Original finding: 11 of 11.
Priority: P2. Schedule as a normal correctness/feedback fix.
Classification: Confirmed behavior/source defect.
Inspected current main: 3c2bb240059b3e1bec9264f1e57fa885096c6bf9 (2026-10-01).
Evidence
Source-confirmed: onSave is typed as returning void; the click handler does not await it. App.saveSettings wraps an async settings:update followed by refresh.
Give the dialog an awaitable save outcome; close only after successful persistence, handling refresh failure separately when data already saved.
Keep the draft and display an actionable error on failure; provide retry and prevent duplicate submissions while pending.
Use delayed/rejected fake IPC to test pending, success, failure, retry, and dismissal behavior without changing real settings.
Coordination and validation
Related issues: #42 (finding 3), #43 (finding 4), #48 (finding 9). These are coordination links, not hard blockers.
Recommended sequence: fix transport enforcement/setup invalidation and policy constraints first; coordinate draft testing/status and persistence semantics; then reorganize the UI and add advanced controls. Independent fixes may proceed without artificial dependencies.
Use offline fixtures/fake transports for automated checks. Coding turns remain CLI-only; do not launch live agents or weaken approval/sandbox behavior. Implementation PRs must use their own worktree, update docs/status.md as applicable, and run required build/unit/UI checks. This issue publishes scope and acceptance criteria; no production fix or live-provider verification is claimed.
Activity
Fix Jev settings, routing limits, and save transactions (TypeSafeAI#51)