Skip to content

feat: fetch, verify and cache the registry index - #53

Merged
fogrew merged 1 commit into
release/3.0.0from
feature/registry-fetch-cache
Oct 26, 2026
Merged

fogrew merged 1 commit into
release/3.0.0from
feature/registry-fetch-cache

Conversation

@fogrew

@fogrew fogrew commented Oct 26, 2026

Copy link
Copy Markdown
Member

Closes #15

Adds RegistryClient (mirror fallback, expiry, serial rollback, minLauncher checks), RegistryCache and an HTTP fetcher with a size cap. Tests cover tampered, expired, rolled-back, garbage, all-mirrors-down and tampered-cache cases.

🤖 Generated with Claude Code

The client tries each registry mirror in turn and accepts the first index that verifies, is current, is not older than a serial already accepted and fits the launcher. With no usable mirror it falls back to the cached copy, verified again, within its expiry.

Closes #15

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@fogrew
fogrew merged commit 89847d3 into release/3.0.0 Oct 26, 2026
2 checks passed
@fogrew
fogrew deleted the feature/registry-fetch-cache branch October 26, 2026 07:58
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