Skip to content

Homebrew PR failing for opencode releases (v1.0.108+) #4777

Closed

Description

@locryns

Problem

Homebrew Pull Requests for recent OpenCode versions have been consistently failing since version 1.0.108.

Affected PRs

  • #256001 - opencode 1.0.114 (FAILED)
  • #255981 - opencode 1.0.112 (FAILED)
  • #255853 - opencode 1.0.110 (FAILED)
  • #255818 - opencode 1.0.109 (FAILED)
  • #255786 - opencode 1.0.108 (FAILED)

All these PRs are marked as "blocked" and "draft".

Observed Error

The setup_tests CI check fails with the following error:

Error when evaluating 'if' for job 'test_deps'. .github/workflows/tests.yml (Line: 341, Col: 9): Error from function 'fromJson': empty input

See details: https://github.com/Homebrew/homebrew-core/actions/runs/19690995630/job/56406581561

Labels on PRs

The PRs have the following labels:

  • blocked
  • nodejs (Node or npm use is a significant feature of the PR or issue)
  • bump-formula-pr
  • CI-no-bottle-cache

Impact

Homebrew users cannot install recent versions of OpenCode (> v1.0.107). The latest version available via Homebrew is v1.0.107.

Context

The Homebrew formula for OpenCode is a Node.js formula that depends on the opencode-ai npm package. The issue seems to be related to Homebrew's CI workflow failing during Node.js dependency verification.

Suggested Actions

  1. Check if there are any changes in npm dependencies between v1.0.107 (working) and v1.0.108+ (failing)
  2. Contact the Homebrew team to understand why the CI workflow is failing
  3. Verify that the opencode-ai npm package is correctly published and accessible for these versions

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 26, 2025
  2. github-actions commented on Nov 26, 2025

    @github-actions
    Contributor

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

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

  3. oribarilan commented on Nov 26, 2025

    @oribarilan
    Contributor

    can confirm. Another piece of information here:
    when i open opencode, i get a notification that it was upgraded to some version X (latest), although it didn't really update.
    Also, homebrew shows latest version it has is 1.0.107
    https://formulae.brew.sh/formula/opencode#default

  4. self-assigned this
    on Nov 26, 2025
  5. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 26, 2025
  6. rekram1-node commented on Nov 26, 2025

    @rekram1-node
    Collaborator

    ill look

  7. rekram1-node commented on Nov 26, 2025

    @rekram1-node
    Collaborator
  8. tinker-dev-monk commented on Nov 27, 2025

    @tinker-dev-monk

    actions/runner-images#13284

    This content may be related.

  9. rekram1-node commented on Nov 27, 2025

    @rekram1-node
    Collaborator

    for those blocked that still want to use homebrew you can just use our tap instead:

    brew remove opencode
    brew install sst/tap/opencode

    we keep our tap up to date

  10. DanRioDev commented on Nov 27, 2025

    @DanRioDev

    for those blocked that still want to use homebrew you can just use our tap instead:

    brew remove opencode brew install sst/tap/opencode

    we keep our tap up to date

    I think the homepage homebrew instruction need to be updated, since it installs the stale version.

  11. rekram1-node commented on Nov 27, 2025

    @rekram1-node
    Collaborator

    well theirs used to be up to date and it was cleaner command thats why we suggested theirs but i get what u mean

  12. nikhilmaddirala commented on Nov 27, 2025

    @nikhilmaddirala

    for those blocked that still want to use homebrew you can just use our tap instead:

    brew remove opencode
    brew install sst/tap/opencode

    we keep our tap up to date

    Very cool! Are there any other package managers that you keep updated for Linux?

  13. rekram1-node commented on Nov 29, 2025

    @rekram1-node
    Collaborator

    Not all linux but

    We support these:
    npm
    brew
    paru
    nix

    And then we have externally maintained:

    • mise
    • choco
  14. rekram1-node commented on Dec 1, 2025

    @rekram1-node
    Collaborator

    They lifted block on js ecoystem packages:
    Homebrew/homebrew-core#256632

  15. nikhilmaddirala commented on Dec 3, 2025

    @nikhilmaddirala

    Not all linux but

    We support these:
    npm
    brew
    paru
    nix

    And then we have externally maintained:

    • mise
    • choco

    Thanks! I found the details here too: https://repology.org/project/opencode/versions

  16. broskees commented on Feb 6, 2026

    @broskees

    Also to note for anyone still getting this issue periodically. Sometimes you just need to run brew update-reset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions