anomalyco / anomalyco/opencode
opencode upgrade checks stale Homebrew tap before refreshing it
Open
@kitlangton is already working on this.
Since Sep 10, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- Avg merge
- 7h 2m
- Merged PRs (30d)
- 384
Description
Description
opencode upgrade can report that the installed version is current even when anomalyco/tap/opencode has a newer release. The tap refresh in Installation.upgrade() happens after Installation.latest() reads brew info, but the CLI returns early when that stale version equals the installed version.
This is a remaining edge case from #5375. Running brew upgrade anomalyco/tap/opencode refreshes Homebrew first and finds the newer release.
OpenCode version
1.18.17
Steps to reproduce
- Install OpenCode from
anomalyco/tap/opencode. - Let the local tap metadata fall behind a release.
- Run
opencode upgrade; it reports the cached version is already installed. - Run
brew upgrade anomalyco/tap/opencode; it updates to the newer version.
Operating System
macOS 26.6.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.