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
[BUG] Reverting in a long session causes revert to be unusable in desktop app #20315
Due to Commit #f0542fa, reverting a message in the desktop app results in the client optimistically treating the reverted message as reverted before the server actually reverts the message. This results in the user being able to send a message before reverting is done, causing a race condition.
This is a problem because revert is very slow for messages with a lot of files, so this race condition happens a lot if you're in a long session.
Plugins
No response
OpenCode version
1.3.10
Steps to reproduce
Revert a message where the message or messages after it have many files
Click send in the revert prompt with a few seconds of hitting revert
changed the title [-][BUG] Revert button race condition causes revert to be unusable[/-][+][BUG] Reverting in a long session causes revert to be unusable[/+]on Mar 31, 2026
changed the title [-][BUG] Reverting in a long session causes revert to be unusable[/-][+][BUG] Reverting in a long session causes revert to be unusable in desktop app[/+]on Mar 31, 2026
Activity
[-][BUG] Revert button race condition causes revert to be unusable[/-][+][BUG] Reverting in a long session causes revert to be unusable[/+]natewill commentedon Mar 31, 2026
I'm going to make a follow up PR
[-][BUG] Reverting in a long session causes revert to be unusable[/-][+][BUG] Reverting in a long session causes revert to be unusable in desktop app[/+]github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.