feat: Solid Cache entry browser#25
Merged
Merged
Conversation
…, flush Adds GET /cache/entries with sortable columns (key, byte_size, created_at), key-substring search, per-row delete, and "Flush All" with confirmation. Cache subnav added to the layout (Overview / Entries). Also fixes a pre-existing test where a broad JSON.pretty_generate mock was also catching importmap's internal JSON serialisation; narrowed with and_wrap_original to only raise for the specific job arguments object. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Flush is a non-CRUD bulk-destroy operation; giving it its own controller mirrors the Queues::PausesController pattern already used in the engine. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Removes explicit Search buttons from all filter forms. The Stimulus search controller debounces input (300 ms) and submits when length reaches 4 or clears to 0; select dropdowns submit immediately on change. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
eclectic-coding
added a commit
that referenced
this pull request
May 26, 2026
Delete entry and flush all shipped in feat/cache-entry-browser (#25). Co-Authored-By: Claude Sonnet 4.6 <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
GET /cache/entries— paginated, sortable table of allSolidCache::Entryrecords with key, byte size, and created-at columnsCacheEntriesControlleruses a privateresolve_sortmethod to validate sort params (no controller-level constants)Also fixes
falls back to raw arguments string when JSON generation failswas using an over-broadallow(JSON).to receive(:pretty_generate)mock that also caughtjavascript_importmap_tags' internal serialisation; narrowed withand_wrap_originalto only raise for the specific job arguments objectTest plan
/cache/entrieslists all entries; sorted by size descending by defaultbundle exec rake🤖 Generated with Claude Code