-
Notifications
You must be signed in to change notification settings - Fork 0
[cache] Drop mq policy tests while making them optional via config #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Drop tests for the legacy mq policy, while introduce a new config option cache_policy to test it optionally.
WalkthroughThe changes consolidate cache policy handling in dm-cache tests by introducing an optional Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant TestRunner
participant Config
participant TestFunction
User->>TestRunner: Start test
TestRunner->>Config: Load config.toml
Config-->>TestRunner: Provide config (may include cache_policy)
TestRunner->>TestFunction: Call with fixture (fix)
TestFunction->>Config: Read cache_policy (default "smq" if missing)
TestFunction-->>TestRunner: Execute test using selected policy
Poem
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 30th. To opt out, configure 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🧰 Additional context used🧬 Code Graph Analysis (1)src/dmtest/cache/resize_origin_tests.py (1)
🔇 Additional comments (11)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
Drop tests for the legacy mq policy, while introduce a new config option cache_policy to test it optionally.
Summary by CodeRabbit