Auto-updates not applying correctly in the TUI #3588

Open
opened 2026-02-16 17:40:45 -05:00 by yindo · 4 comments
Owner

Originally created by @nickcorin on GitHub (Dec 16, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

The auto-update dialog is showing that the client has been updated, but restarting doesn't update the binary that's being run.

I have a hunch it's because I've installed opencode using brew.

This is after the dialog indicated a successful update to 1.0.162:

$ opencode --version
1.0.150

$ brew info opencode
==> opencode: stable 1.0.162 (bottled)
AI coding agent, built for the terminal
https://opencode.ai
Installed
/opt/homebrew/Cellar/opencode/1.0.150 (4 files, 93.3MB) *
  Built from source on 2025-12-12 at 08:43:16
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/o/opencode.rb
License: MIT

OpenCode version

1.0.150

Steps to reproduce

No response

Screenshot and/or share link

https://github.com/user-attachments/assets/7ec1c703-8885-4d0f-985b-c3c01e6abc87

Operating System

macOS Tahoe 26.1 (25B78)

Terminal

Ghostty

Originally created by @nickcorin on GitHub (Dec 16, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description The auto-update dialog is showing that the client has been updated, but restarting doesn't update the binary that's being run. I have a hunch it's because I've installed opencode using `brew`. This is after the dialog indicated a successful update to `1.0.162`: ``` $ opencode --version 1.0.150 $ brew info opencode ==> opencode: stable 1.0.162 (bottled) AI coding agent, built for the terminal https://opencode.ai Installed /opt/homebrew/Cellar/opencode/1.0.150 (4 files, 93.3MB) * Built from source on 2025-12-12 at 08:43:16 From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/o/opencode.rb License: MIT ``` ### OpenCode version 1.0.150 ### Steps to reproduce _No response_ ### Screenshot and/or share link https://github.com/user-attachments/assets/7ec1c703-8885-4d0f-985b-c3c01e6abc87 ### Operating System macOS Tahoe 26.1 (25B78) ### Terminal Ghostty
yindo added the bug label 2026-02-16 17:40:45 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 16, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4783: Please, change autoupdate to notify by default (Version mismatch and notification issues when using brew)
  • #5111: It should not be possible to exit opencode while it's silently updating itself to latest release
  • #1233: "Restart to update" always pops up, even after restarting (Similar restart dialog issues)
  • #4783: Auto-update behavior differs when using package managers like brew

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 16, 2025): This issue might be a duplicate of existing issues. Please check: - #4783: Please, change autoupdate to notify by default (Version mismatch and notification issues when using brew) - #5111: It should not be possible to exit opencode while it's silently updating itself to latest release - #1233: "Restart to update" always pops up, even after restarting (Similar restart dialog issues) - #4783: Auto-update behavior differs when using package managers like brew Feel free to ignore if none of these address your specific case.
Author
Owner

@kommander commented on GitHub (Dec 16, 2025):

@rekram1-node there was a partial release in between yesterday that may cause this?

@kommander commented on GitHub (Dec 16, 2025): @rekram1-node there was a partial release in between yesterday that may cause this?
Author
Owner

@rekram1-node commented on GitHub (Dec 16, 2025):

hm if u are using brew then it should have used brew to update it

@rekram1-node commented on GitHub (Dec 16, 2025): hm if u are using brew then it should have used brew to update it
Author
Owner

@dendi-pradigta commented on GitHub (Dec 16, 2025):

I prefer installing via curl, and upgrading via curl as well.

@dendi-pradigta commented on GitHub (Dec 16, 2025): I prefer installing via `curl`, and upgrading via `curl` as well.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3588