You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Define opencode cache folder as an Environment variable - OPENCODE_CACHE #2432
INFO 2025-09-05T09:01:16 +0ms service=bun cmd=["/data1/uxbuild/.npm-global/lib/node_modules/opencode-ai/node_modules/opencode-linux-x64/bin/opencode","add","--force","--exact","--cwd","/home/jenkins/.cache/opencode","opencode-anthropic-auth@0.0.2"] cwd=/home/jenkins/.cache/opencode running
Here $HOME/.cache/opencode folder is used to store opencode required sdk packages. To use this opencode in kubernates environment along with CI pipeline it is a little bit hard to use static cache folder like this. We need to figure out persistency.
I suggest to implement an Environment Variable something like OPENCODE_CACHE to define this $HOME/.cache/opencode path.
This issue might be a duplicate of existing issues. Please check:
Suppport for airgapped installation #2224: Support for airgapped installation - discusses similar cache and directory configuration needs for Kubernetes environments
Activity
github-actions commentedon Sep 5, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!