Skip to content

feat(cli): restore automatic update policy - #47161

Merged
jlongster merged 5 commits into
v2from
update-policy
Sep 4, 2026
Merged

jlongster merged 5 commits into
v2from
update-policy

Conversation

@jlongster

@jlongster jlongster commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • restore update: "auto" and migrate legacy autoupdate: true to it
  • run one CLI-owned update check on every TUI startup for both notify and auto policies
  • poll from every locally running server after one minute and every ten minutes thereafter
  • install automatic updates without restarting the running server
  • publish server-side available and installed outcomes through the existing installation events
  • show notify-mode and installed-update messages beneath the Home prompt, opening the install dialog only for available updates
  • regenerate Protocol, client, and website surfaces

Testing

  • 30 focused CLI updater, polling, and installation tests
  • 4 focused Core config migration/loading tests
  • focused TUI Home notification, server-event, and lifecycle tests
  • Server process event-stream test
  • Protocol and Website generated-file checks
  • git diff --check
  • local typecheck not run per request

@jlongster
jlongster merged commit 0e14343 into v2 Sep 4, 2026
8 checks passed
@jlongster
jlongster deleted the update-policy branch September 4, 2026 16:58
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant