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
Failed queued-message edits close the editor and discard the revised text #926
Priority: P2. Reproduced/reviewed at commit 6c7a6fbe on 2026-09-05.
Saving an edited queued follow-up discards the edited text when persistence fails.
Reproduction
Open a thread with queued text "Original queued text".
Click Edit and replace it with different instructions.
Make threads.setQueued reject, then click Save.
The editor closes and the old queued text remains.
Reopen Edit: only the original text is available; the revised draft has been discarded.
Confirmed through the real App with a rejecting queue write.
Cause
ThreadView.saveQueuedEdit closes the editor synchronously, before the write. onEditQueued is typed as returning void, and useCoder.editQueued starts an unawaited promise chain. Its catch shows a run error but cannot retain the editable draft as a failed save.
Acceptance
Keep the revised text editable until the save succeeds.
On failure, retain the revised draft with a visible retryable error.
Prevent repeated saves while one write is pending.
Preserve ordered queued items and attachments.
Add a mounted App regression that reopens or retries after a rejected write.
Activity
currentbits commentedon Sep 8, 2026
Landed from Solenta thread "Fork: Failed queued-message edits close the editor and disca". Closed on merge.