openwork icon indicating copy to clipboard operation
openwork copied to clipboard

[Bug]: Session history not saved/restored on Windows 11 (Desktop v0.11.142)

Open baddieflex opened this issue 8 months ago • 2 comments

Summary

On Windows 11, the OpenWork desktop application (v0.11.142) fails to persist chat session history. All created conversations and message records are completely lost after closing the app, restarting the program, or refreshing the workspace, and cannot be recovered when reopening the same workspace.

Steps to reproduce

  1. Install and launch OpenWork Desktop v0.11.142 on a Windows 11 device
  2. Select and load a local workspace
  3. Create a new chat session, send multiple messages to generate complete conversation content
  4. Fully close the OpenWork application (confirm no related background processes remain in Windows Task Manager)
  5. Reopen the OpenWork desktop app, and navigate back to the same workspace used in step 2
  6. (Additional reproduce scenario) Refresh the current workspace after creating a session, the session also disappears immediately

Expected behavior

  1. All previously created chat sessions and complete message records should be retained and displayed normally in the sidebar after the app is restarted, exited, or the workspace is refreshed
  2. The "No sessions yet" prompt should only appear when the workspace is opened for the first time and no sessions have ever been created

Actual behavior

  1. All chat sessions are completely lost after restarting/exiting the app or refreshing the workspace, the sidebar shows empty or only the "No sessions yet" prompt
  2. The session data cannot be restored even when opening the exact same workspace, and the issue persists after multiple retries

baddieflex avatar Mar 12 '26 07:03 baddieflex

can you update to the latest version? This should be addressed already: https://github.com/different-ai/openwork/releases/tag/v0.11.207

jcllobet avatar Apr 14 '26 01:04 jcllobet

Rechecking this during the current bug pass: there are later maintainer comments saying this should already be addressed in current builds. Before anyone spends more time patching this specific ticket, it would be useful to confirm whether it still reproduces on the latest release/dev. If it does, #1140 now looks like the better umbrella issue for the remaining session persistence/scope variants.

pascalandr avatar Apr 21 '26 21:04 pascalandr