anomalyco / anomalyco/opencode

GitHub repository cache identity is case-sensitive

Open
#48,767 1 comment 0 reactions 1 assignee View on GitHub

@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
  1. Parse GitHub.com/Owner/Repo and github.com/owner/repo as repository references.
  2. Compare them with the repository identity helper.
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.