DownloadError: Failed to download resource "opencode (1.0.175)" #3683

Closed
opened 2026-02-16 17:41:05 -05:00 by yindo · 10 comments
Owner

Originally created by @deadcoder0904 on GitHub (Dec 20, 2025).

Originally assigned to: @thdxr on GitHub.

Description

Can't upgrade opencode.

OpenCode version

1.0.169

Steps to reproduce

$ brew outdated
sst/tap/opencode (1.0.169) < 1.0.175

Can't upgrade.

$ brew upgrade
==> Upgrading 1 outdated package:
sst/tap/opencode 1.0.169 -> 1.0.175
==> Fetching downloads for: opencode
✘ Formula opencode (1.0.175)
Error: Failed to download resource "opencode (1.0.175)"
Download failed: https://github.com/sst/opencode/releases/download/v1.0.175/opencode-darwin-arm64.zip
==> Upgrading sst/tap/opencode
  1.0.169 -> 1.0.175
==> Downloading https://github.com/sst/opencode/releases/download/v1.0.175/opencode-darwin-arm64.zip
curl: (56) The requested URL returned error: 404

Error: An exception occurred within a child process:
  DownloadError: Failed to download resource "opencode (1.0.175)"
Download failed: https://github.com/sst/opencode/releases/download/v1.0.175/opencode-darwin-arm64.zip

Screenshot and/or share link

No response

Operating System

macOS 15.6.1

Terminal

Ghostty

Originally created by @deadcoder0904 on GitHub (Dec 20, 2025). Originally assigned to: @thdxr on GitHub. ### Description Can't upgrade opencode. ### OpenCode version 1.0.169 ### Steps to reproduce ```bash $ brew outdated sst/tap/opencode (1.0.169) < 1.0.175 ``` Can't upgrade. ```bash $ brew upgrade ==> Upgrading 1 outdated package: sst/tap/opencode 1.0.169 -> 1.0.175 ==> Fetching downloads for: opencode ✘ Formula opencode (1.0.175) Error: Failed to download resource "opencode (1.0.175)" Download failed: https://github.com/sst/opencode/releases/download/v1.0.175/opencode-darwin-arm64.zip ==> Upgrading sst/tap/opencode 1.0.169 -> 1.0.175 ==> Downloading https://github.com/sst/opencode/releases/download/v1.0.175/opencode-darwin-arm64.zip curl: (56) The requested URL returned error: 404 Error: An exception occurred within a child process: DownloadError: Failed to download resource "opencode (1.0.175)" Download failed: https://github.com/sst/opencode/releases/download/v1.0.175/opencode-darwin-arm64.zip ``` ### Screenshot and/or share link _No response_ ### Operating System macOS 15.6.1 ### Terminal Ghostty
yindo added the bug label 2026-02-16 17:41:05 -05:00
yindo closed this issue 2026-02-16 17:41:06 -05:00
Author
Owner

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

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

  • #5593: brew tap has unreleased version
  • #2576: Brew upgrade opencode not found 404

Both of these involve similar 404 errors when trying to download releases via brew for versions that don't exist or haven't been properly released. Feel free to ignore if your specific case involves different circumstances.

@github-actions[bot] commented on GitHub (Dec 20, 2025): This issue might be a duplicate of existing issues. Please check: - #5593: brew tap has unreleased version - #2576: Brew upgrade opencode not found 404 Both of these involve similar 404 errors when trying to download releases via brew for versions that don't exist or haven't been properly released. Feel free to ignore if your specific case involves different circumstances.
Author
Owner

@psv2522 commented on GitHub (Dec 20, 2025):

The issue is https://github.com/sst/homebrew-tap is misconfigured, latest version is 1.0.174 on github rn.

@psv2522 commented on GitHub (Dec 20, 2025): The issue is https://github.com/sst/homebrew-tap is misconfigured, latest version is 1.0.174 on github rn.
Author
Owner

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

There were some broken releases that I was debugging, I dont think itll regen a bad release again but I fixed the tap manually for now

@rekram1-node commented on GitHub (Dec 20, 2025): There were some broken releases that I was debugging, I dont think itll regen a bad release again but I fixed the tap manually for now
Author
Owner

@psv2522 commented on GitHub (Dec 20, 2025):

Will wait for the next release, but the urls are still broken fyi

==> Upgrading sst/tap/opencode
  1.0.169 -> 1.0.174
==> Downloading https://github.com/sst/opencode/releases/download/v1.0.175/opencod
curl: (56) The requested URL returned error: 404

Error: An exception occurred within a child process:
  DownloadError: Failed to download resource "opencode (1.0.174)"
Download failed: https://github.com/sst/opencode/releases/download/v1.0.175/opencode-darwin-arm64.zip
@psv2522 commented on GitHub (Dec 20, 2025): Will wait for the next release, but the urls are still broken fyi ``` ==> Upgrading sst/tap/opencode 1.0.169 -> 1.0.174 ==> Downloading https://github.com/sst/opencode/releases/download/v1.0.175/opencod curl: (56) The requested URL returned error: 404 Error: An exception occurred within a child process: DownloadError: Failed to download resource "opencode (1.0.174)" Download failed: https://github.com/sst/opencode/releases/download/v1.0.175/opencode-darwin-arm64.zip ```
Author
Owner

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

oh rip i’ll fix

@rekram1-node commented on GitHub (Dec 20, 2025): oh rip i’ll fix
Author
Owner

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

Should be fixed fr now

@rekram1-node commented on GitHub (Dec 20, 2025): Should be fixed fr now
Author
Owner

@shyim commented on GitHub (Dec 20, 2025):

can you please build a proper release workflow it's broken on any update you guys make 😭

@shyim commented on GitHub (Dec 20, 2025): can you please build a proper release workflow it's broken on any update you guys make 😭
Author
Owner

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

lol I dont think its broken on any update this only started breaking yesterday cause it all got rewritten

It should be fixed

@rekram1-node commented on GitHub (Dec 20, 2025): lol I dont think its broken on any update this only started breaking yesterday cause it all got rewritten It should be fixed
Author
Owner

@shyim commented on GitHub (Dec 20, 2025):

It's right now again broken

❯ brew upgrade
==> Upgrading 1 outdated package:
sst/tap/opencode 1.0.174 -> 1.0.177
==> Fetching downloads for: opencode
✘ Formula opencode (1.0.177)
Error: Failed to download resource "opencode (1.0.177)"
Download failed: https://github.com/sst/opencode/releases/download/v1.0.177/opencode-darwin-arm64.zip
==> Upgrading sst/tap/opencode
  1.0.174 -> 1.0.177
==> Downloading https://github.com/sst/opencode/releases/download/v1.0.177/opencode-darwin-arm64.zip
curl: (56) The requested URL returned error: 404

Error: An exception occurred within a child process:
  DownloadError: Failed to download resource "opencode (1.0.177)"
Download failed: https://github.com/sst/opencode/releases/download/v1.0.177/opencode-darwin-arm64.zip

I think you update the tap too early

@shyim commented on GitHub (Dec 20, 2025): It's right now again broken ``` ❯ brew upgrade ==> Upgrading 1 outdated package: sst/tap/opencode 1.0.174 -> 1.0.177 ==> Fetching downloads for: opencode ✘ Formula opencode (1.0.177) Error: Failed to download resource "opencode (1.0.177)" Download failed: https://github.com/sst/opencode/releases/download/v1.0.177/opencode-darwin-arm64.zip ==> Upgrading sst/tap/opencode 1.0.174 -> 1.0.177 ==> Downloading https://github.com/sst/opencode/releases/download/v1.0.177/opencode-darwin-arm64.zip curl: (56) The requested URL returned error: 404 Error: An exception occurred within a child process: DownloadError: Failed to download resource "opencode (1.0.177)" Download failed: https://github.com/sst/opencode/releases/download/v1.0.177/opencode-darwin-arm64.zip ``` I think you update the tap too early
Author
Owner

@deadcoder0904 commented on GitHub (Dec 21, 2025):

it is broken on any update. i think i saw 2 other issues that are similar.

@deadcoder0904 commented on GitHub (Dec 21, 2025): it is broken on any update. i think i saw 2 other issues that are similar.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3683