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
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
Description
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
Screenshot and/or share link
0331.1.mov
(turn on audio)
Operating System
No response
Terminal
No response