Operations and testing
Schema operations
RedisSchemaManager does not create structures. Streams, sorted sets, and
hashes appear when they are first written. It verifies the deployment in
ensureSchema() and reports the key namespaces in describeSchema().
dropSchema() scans and deletes the namespaces owned by the adapter. It is a
destructive environment-teardown operation; do not run it against a Redis
instance that contains data outside the intended adapter store.
Local Redis
The adapter repository includes a Docker Compose setup:
docker compose up -d
composer install
composer test-all
Integration tests use the Redis instance configured by the repository's test setup. The test suite covers the Lua write path, concurrency, snapshots, projectors, process-manager state, outbox leases, and crypto-shredding through the public Core contracts.
Quality checks
composer quality
This runs Composer validation, coding-style checks, PHPStan, the complete test suite with coverage enforcement, and Composer audit.