feat: add public cache management API#10
Merged
justinmerrell merged 5 commits intomainfrom Mar 29, 2026
Merged
Conversation
Expose cache inspection and management to users via module-level convenience functions and Client methods. Users can now scan cache contents, remove specific bundles, clean expired entries, and clear the entire cache — all without requiring auth credentials for read-only operations. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add dorny/paths-filter to skip devcontainer build, shellcheck, and compose validation when their respective files haven't changed - Add GHCR-based cacheFrom for devcontainer builds to reuse layers - Add validate-status rollup job for branch protection compatibility - Bump actions/checkout to v6 and use dorny/paths-filter@v4 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CacheInfo,CachedBundle, andCachedBundleVersionfrozen dataclasses for structured cache inspectionscan()method toBundleCachefor walking and summarizing cache contentsClient:cache_info(),cache_remove(),cache_clear(),cache_clean(),cache_path()musher.cache_info(), etc.) that work without auth credentialsTest plan
task checkpasses (format + lint + types + tests)musher.cache_info()works against a real populated cachemusher.cache_remove("ns/slug:version")removes only the target versionmusher.cache_clear()removes the entire cache directory🤖 Generated with Claude Code