Skip to content

Stop caching the depot registries when a local registry is used - #128

Merged
mtfishman merged 1 commit into
mainfrom
mf/dont-cache-local-registries
Sep 27, 2026
Merged

mtfishman merged 1 commit into
mainfrom
mf/dont-cache-local-registries

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

A local registry lives in the depot as a git clone rather than General's packed form, and Pkg.Registry.update advances it by rebasing. A clone that fails to rebase stays broken in the cache for every later run, so the registry stops updating and a compat floor on a new version fails as unsatisfiable. Skip the registry cache where a local registry is used. Repos without one are unaffected.

A local registry is a git clone that `Pkg.Registry.update` advances by
rebasing, and one that fails to rebase stays broken in the cache for every
later run, so resolution quietly falls back to stale registry data and
reports it as unsatisfiable compat bounds.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mtfishman
mtfishman merged commit f809c30 into main Sep 27, 2026
4 checks passed
@mtfishman
mtfishman deleted the mf/dont-cache-local-registries branch September 27, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant