anomalyco / anomalyco/opencode
GitHub repository cache identity is case-sensitive
@kitlangton is already working on this.
Since Sep 13, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
GitHub repository owner and name casing is preserved in cache identities and cache paths. References such as GitHub.com/Owner/Repo and github.com/owner/repo resolve to the same GitHub repository, but OpenCode treats them as different repositories and allocates different checkout directories. GitHub identity keys should normalize owner/repository casing while labels and requested remote URLs retain their original spelling.
Plugins
None
OpenCode version
1.18.30
Steps to reproduce
- Parse
GitHub.com/Owner/Repoandgithub.com/owner/repoas repository references. - Compare them with the repository identity helper.
- Generate a cache path for each reference using the same cache root.
Expected: the references compare equal and use the same cache path.
Actual: they compare unequal and produce casing-dependent cache paths.
Screenshot and/or share link
Not applicable; the helper calls above reproduce the identity mismatch directly.
Operating System
All
Terminal
All
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.