Enable local testing for all cachier backends with Docker#287
Merged
Enable local testing for all cachier backends with Docker#287
Conversation
Borda
approved these changes
Jul 14, 2025
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
1373907 to
b6071c0
Compare
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.
Description
This PR extends the MongoDB local testing solution (PR #285) to support all cachier backends (MongoDB, Redis, SQL, Memory, Pickle). It provides a unified interface for developers to test any combination of backends locally with Docker containers.
What's New
1. Unified Test Script (
scripts/test-local.sh)A comprehensive script that replaces the MongoDB-specific script with support for all backends:
Usage examples:
2. All-Cores Docker Compose (
scripts/docker-compose.all-cores.yml)Comprehensive docker-compose configuration with all external services:
3. Enhanced Makefile Targets
New make commands for convenience:
4. Backend-Specific Improvements
tests/mongodb_requirements.txt5. Documentation Updates
scripts/README-local-testing.mdKey Features
Breaking Changes
scripts/test-mongo-local.sh(replaced by unified script)scripts/docker-compose.mongodb.yml(replaced by all-cores version)Testing
./scripts/test-local.sh allFuture Enhancements