openwork icon indicating copy to clipboard operation
openwork copied to clipboard

[Bug]: Critical Bug in v0.11.99 (macOS): Session Lost + Infinite Refresh / Auto-Scroll to Bottom

Open jaywulove opened this issue 9 months ago • 16 comments

Summary

The newly released version 0.11.99 has a critical bug: (1) My session suddenly disappeared. (2) The app feels like it’s constantly “refreshing” — for example, while I’m typing, the text I’ve entered suddenly vanishes. When I try to review past messages, the view keeps jumping back to the bottom automatically. I’m using the macOS version.

Steps to reproduce

The newly released version 0.11.99 has a critical bug: (1) My session suddenly disappeared. (2) The app feels like it’s constantly “refreshing” — for example, while I’m typing, the text I’ve entered suddenly vanishes. When I try to review past messages, the view keeps jumping back to the bottom automatically. I’m using the macOS version.

Expected behavior

The newly released version 0.11.99 has a critical bug: (1) My session suddenly disappeared. (2) The app feels like it’s constantly “refreshing” — for example, while I’m typing, the text I’ve entered suddenly vanishes. When I try to review past messages, the view keeps jumping back to the bottom automatically. I’m using the macOS version.

Actual behavior

The newly released version 0.11.99 has a critical bug: (1) My session suddenly disappeared. (2) The app feels like it’s constantly “refreshing” — for example, while I’m typing, the text I’ve entered suddenly vanishes. When I try to review past messages, the view keeps jumping back to the bottom automatically. I’m using the macOS version.

jaywulove avatar Feb 19 '26 09:02 jaywulove

Same issue for me, the text input in a chat gets constantly wiped. Looks like a "refresh".

On MacOS 26.2 Apple Silicon, OpenWork Version 0.11.99

niklash-dev avatar Feb 19 '26 09:02 niklash-dev

I got it too, I backed up to version .95 and I'm still seeing the text wiped from my input box every ~10 seconds. I'll back up a few more versions to see if I can find the offending build.

mbrennan-atx avatar Feb 19 '26 12:02 mbrennan-atx

Yes, confirm I don't see it in .94, it first occurs in .95.

mbrennan-atx avatar Feb 19 '26 12:02 mbrennan-atx

https://github.com/different-ai/openwork/commit/2e8ad3eb52bcd5cedd474e04fa2a93613ce22357#diff-51dd4e37d97b84b47b760a3e018f6f5adec03f0f4939be52bbf0c037f6367bcbR898

mbrennan-atx avatar Feb 19 '26 12:02 mbrennan-atx

2e8ad3e#diff-51dd4e37d97b84b47b760a3e018f6f5adec03f0f4939be52bbf0c037f6367bcbR898

how to fix it? If I download an older version and directly overwrite the 0.11.99 version of OpenWork, will the app function properly?

jaywulove avatar Feb 19 '26 13:02 jaywulove

I reverted to version 0.11.94, but I’ve noticed that… if I don’t update, the app crashes and becomes unusable.

jaywulove avatar Feb 19 '26 15:02 jaywulove

@jaywulove sorry this has to do with the underlying opencode version which we rely on migrated sessions. some of the migrations don't work well. i'm sorry about this, i'll look for ways to mitigate the issue ASAP.

best, ben

benjaminshafii avatar Feb 19 '26 16:02 benjaminshafii

We're releasing a new version in v0.11.101 in a few minutes. You'll be expected to see this button:

Image

Then restart your app.

This will allow you to port the previous session to the new way of doing things.

Retrieving will be much much faster after the upgrade.

make sure you're in this config if you're having issues with this (it's the default config)

Image

benjaminshafii avatar Feb 19 '26 21:02 benjaminshafii

nice job! I'm a big fan of this product, thank you!

mbrennan-atx avatar Feb 19 '26 21:02 mbrennan-atx

thank you @lehighwiz very much appreciated :)

benjaminshafii avatar Feb 19 '26 22:02 benjaminshafii

@lehighwiz i see you starred home assistant. actually one of my first things i hooked up openwork to was to:

  1. configure my robovacuum via openwork
  2. connect the telegram bot
  3. and share with my wife so she could control it remotely

benjaminshafii avatar Feb 19 '26 22:02 benjaminshafii

We're releasing a new version in v0.11.101 in a few minutes. You'll be expected to see this button:

Image Then restart your app.

This will allow you to port the previous session to the new way of doing things.

Retrieving will be much much faster after the upgrade.

make sure you're in this config if you're having issues with this (it's the default config)

Image
Image I’m still experiencing issues in v0.11.103 — after clicking the button, my session isn’t restored. However, when I downgrade to v0.11.94, my conversation window displays correctly.

jaywulove avatar Feb 20 '26 01:02 jaywulove

After updating to v0.11.103, I’m still encountering the same issues: automatic refreshing and session loss.

jaywulove avatar Feb 20 '26 02:02 jaywulove

Regarding the missing sessions.

Could you try to follow these steps:

  1. Go on the worker (the one where you have all your session <- this is critical)
  2. start a new session
  3. then (and only then) go to settings -> advanced -> fix migration

alternatively if you might be able to paste this inside of your worker: (the one that is supposed to own your sessiosn)

install opencode  with curl -fsSL https://opencode.ai/install | bash
and run `opencode db migrate`

in your correct workspace

benjaminshafii avatar Feb 20 '26 04:02 benjaminshafii

regarding auto-scroll i just shipped a fix in v0.11.107

benjaminshafii avatar Feb 20 '26 05:02 benjaminshafii

expecting this to be solved happy to re-open if not

benjaminshafii avatar Feb 20 '26 18:02 benjaminshafii