anomalyco / anomalyco/opencode

opencode upgrade checks stale Homebrew tap before refreshing it

Open
#48,322 0 comments 0 reactions 1 assignee View on GitHub

@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
  1. Install OpenCode from anomalyco/tap/opencode.
  2. Let the local tap metadata fall behind a release.
  3. Run opencode upgrade; it reports the cached version is already installed.
  4. Run brew upgrade anomalyco/tap/opencode; it updates to the newer version.
Operating System

macOS 26.6.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.