Skip to content

Add --cache flag to generate-map and cache auto-resolve to query#19

Merged
ljubisap merged 1 commit into
mainfrom
feature/local-cache-complete
Jul 5, 2026
Merged

Add --cache flag to generate-map and cache auto-resolve to query#19
ljubisap merged 1 commit into
mainfrom
feature/local-cache-complete

Conversation

@ljubisap

@ljubisap ljubisap commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

generate-map: new --cache flag writes the generated map to the local cache at ~/.gradle/smart-test-picker/PROJECT_NAME/local-coverage-map.json so that select-tests and query can resolve it automatically.

query: --map is no longer required. When omitted, resolves from local cache using --prefer-map mode (nearest/remote/local), same behavior as select-tests. Adds --project-dir option for cache directory resolution.

Resolves #18

generate-map: new --cache flag writes the generated map to the local cache at ~/.gradle/smart-test-picker/PROJECT_NAME/local-coverage-map.json so that select-tests and query can resolve it automatically.

query: --map is no longer required. When omitted, resolves from local cache using --prefer-map mode (nearest/remote/local), same behavior as select-tests. Adds --project-dir option for cache directory resolution.
@ljubisap ljubisap merged commit a9b1e3b into main Jul 5, 2026
7 checks passed
@ljubisap ljubisap deleted the feature/local-cache-complete branch July 5, 2026 16:53
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.

Add --cache flag to generate-map and cache auto-resolve to query

2 participants