-
Notifications
You must be signed in to change notification settings - Fork 0
Normalize provider order in search cache keys #1885
Copy link
Copy link
Open
Labels
backendBackend developmentBackend developmentbugSomething isn't workingSomething isn't workingmodule:cacheCaching and data storageCaching and data storagepriority:mediumMedium priorityMedium priority
Description
Ensure provider order does not affect search cache keys to avoid redundant entries.
Scope:
- Canonicalize provider list (sort, dedupe) before cache key generation for both API and CLI paths
- Confirm behavior for explicit order-sensitive overrides (if any), otherwise enforce order-insensitive behavior
- Add unit tests covering permutation equivalence
Acceptance Criteria:
- Identical provider sets yield identical cache keys regardless of order
- Tests validate canonicalization for typical and edge cases
- Minimal migration/compat note if key format changes (docs)
Refs: internal TODO.md items about normalizing provider order in CLI and API cache keys
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
backendBackend developmentBackend developmentbugSomething isn't workingSomething isn't workingmodule:cacheCaching and data storageCaching and data storagepriority:mediumMedium priorityMedium priority