OpenCode Workflow Randomly Fails in Github #2972

Closed
opened 2026-02-16 17:38:05 -05:00 by yindo · 7 comments
Owner

Originally created by @thehaseebahmed on GitHub (Nov 19, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

I've been using the opencode workflow for 2 days in GitHub now and it randomly keeps on failing. I invoke it via issue or PR comments and am using anthropic models with the auth.json hack to use Claude Code subscription.

OpenCode version

latest

Steps to reproduce

No response

Screenshot and/or share link

Image

Image

Operating System

Ubuntu

Terminal

No response

Originally created by @thehaseebahmed on GitHub (Nov 19, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description I've been using the opencode workflow for 2 days in GitHub now and it randomly keeps on failing. I invoke it via issue or PR comments and am using anthropic models with the auth.json hack to use Claude Code subscription. ### OpenCode version latest ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="1080" height="2410" alt="Image" src="https://github.com/user-attachments/assets/1f71403b-2c86-4544-b8b5-049a322433f9" /> ![Image](https://github.com/user-attachments/assets/375b1961-c044-463a-a031-2ee3b71e13fe) ### Operating System Ubuntu ### Terminal _No response_
yindo added the bug label 2026-02-16 17:38:05 -05:00
yindo closed this issue 2026-02-16 17:38:05 -05:00
Author
Owner

@rekram1-node commented on GitHub (Nov 19, 2025):

Yeah this is because it is failing to install the provider package, we are gonna start bundling them in automatically or at least some of the important ones

@rekram1-node commented on GitHub (Nov 19, 2025): Yeah this is because it is failing to install the provider package, we are gonna start bundling them in automatically or at least some of the important ones
Author
Owner

@thehaseebahmed commented on GitHub (Nov 19, 2025):

Maybe I don't understand it completely but just to be clear, it does work sometimes as well. Every run for me has been a 50/50.

@thehaseebahmed commented on GitHub (Nov 19, 2025): Maybe I don't understand it completely but just to be clear, it does work sometimes as well. Every run for me has been a 50/50.
Author
Owner

@rekram1-node commented on GitHub (Nov 19, 2025):

Yeah for whatever reason calls to NPM are failing occasionally

@rekram1-node commented on GitHub (Nov 19, 2025): Yeah for whatever reason calls to NPM are failing occasionally
Author
Owner

@rekram1-node commented on GitHub (Nov 19, 2025):

This started happening recently but ofc we can do better error handling, but it seems to stem from NPM registry having some issues with scale? idk

@rekram1-node commented on GitHub (Nov 19, 2025): This started happening recently but ofc we can do better error handling, but it seems to stem from NPM registry having some issues with scale? idk
Author
Owner

@thehaseebahmed commented on GitHub (Nov 19, 2025):

Thanks for that clarification!

@thehaseebahmed commented on GitHub (Nov 19, 2025): Thanks for that clarification!
Author
Owner

@Mirrowel commented on GitHub (Nov 19, 2025):

Oh, i thought it was me. Subbing to this for the updates.
I have the same issue

@Mirrowel commented on GitHub (Nov 19, 2025): Oh, i thought it was me. Subbing to this for the updates. I have the same issue
Author
Owner

@rekram1-node commented on GitHub (Nov 19, 2025):

This should prolly mitigate it:
https://github.com/sst/opencode/commit/48e4f2f45d54364a8123d603dbbca7bfe8fcc763

@rekram1-node commented on GitHub (Nov 19, 2025): This should prolly mitigate it: https://github.com/sst/opencode/commit/48e4f2f45d54364a8123d603dbbca7bfe8fcc763
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2972