feat: multi-select cache delete + app version display (closes #7)#32
Merged
feat: multi-select cache delete + app version display (closes #7)#32
Conversation
…enie spaces Issue #7: Add per-entry cache deletion via row checkboxes and contextual "Delete N selected" action; keep "Clear Cache" for full wipes. Version display: Resolve version from git describe at deploy time (install.sh writes backend/app/_version.py) with a local-dev subprocess fallback. Expose /api/version and show it as a small footer in Settings. Side fixes found while deploying to staging: - list_genie_spaces now follows next_page_token so workspaces with >20 spaces surface all of them (was silently capped at the first page). - install.sh rsync: exclude .claude/, venv/, .venv/, backend/.venv/ (staging dir went from 192M to 1.6M). - .databricksignore: mirror the same excludes for databricks sync.
…lone Clear Cache button DatabaseService was missing the passthrough for delete_cache_entries, so POST /cache/delete blew up with AttributeError → 500. UI: the side-by-side "Delete N" and "Clear Cache" buttons were redundant and confusing. Removed Clear Cache — select-all header checkbox + Delete already covers the wipe case. Backend DELETE /cache endpoint stays for API consumers outside the UI.
Collaborator
Author
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
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
DELETE /cacheendpoint stays for API consumers.git describe --tags --always --dirtywritten tobackend/app/_version.pybyinstall.shat deploy time, subprocess fallback for local dev. New publicGET /api/version.genie-cache-queue-staging:list_genie_spacespaginates vianext_page_token(was capped at first 20).install.shrsync excludes.claude/+ venvs (staging 192M → 1.6M)..databricksignoremirrors the same excludes.DatabaseService.delete_cache_entriespassthrough added (was missing → 500).Test plan
Genie Gateway v….curl \$APP_URL/api/version→{"version":"v…"}.Deployed and validated on `genie-cache-queue-staging`.
Co-authored-by: Isaac