Skip to content

feat!: replace Redis with Valkey and migrate Docker Compose (breaking change) #148

Closed

Description

@RentnerKev

Summary

Replace Redis with Valkey in the supported RentnerProxy runtime and development/CI setup for v1.0.0-beta.1.

Status: implemented and merged into main by PR #149, merge commit c1e3841. Regular CI, complete upgrade compatibility and Valkey failure/recovery checks passed. Long profiles are reserved for release preparation at the owner's request.

Breaking deployment change

Treat this as a breaking change. The supported docker-compose.yml deployment must be updated, and operators must receive explicit instructions for adapting their existing Compose configuration.

The current Compose file runs the single RentnerProxy appliance and references Alpha 6. Redis is bundled through docker/production/Dockerfile and started by docker/production/entrypoint.sh. Plan the Compose changes together with the runtime change; specify the exact deployment layout, configuration changes, and upgrade steps before implementation.

Preserve the existing application data volume and clearly explain the impact on transient cache, authentication-challenge, and realtime state during the switch. Durable application state remains in PostgreSQL/controller storage.

Scope

  • Select and pin an appropriate supported Valkey version/image digest; review binary dependencies, supported architectures, licensing/notices, and container scanning.
  • Replace the Redis runtime dependency and adapt Dockerfile, entrypoint, binary paths, startup supervision, readiness/health checks, and shutdown/recovery behavior for the selected Valkey deployment layout.
  • Update the root Docker Compose configuration and provide a concrete before/after example plus upgrade and rollback instructions for existing deployments.
  • Review the configuration contract, including REDIS_URL, service/process names, diagnostics, and internal naming. Document which identifiers change and which are retained for client/protocol or historical compatibility.
  • Run the actual Bun client, Lua scripts, TTL/atomic operations, rate limiting, authentication challenges, and realtime Pub/Sub flows against Valkey; verify disconnect/reconnect and failure/recovery behavior.
  • Replace current-runtime Redis services and fixtures in CI/development with Valkey, including integration tests and production smokes. Keep immutable published Alpha images accurate as historical Redis baselines.
  • Update README, ARCHITECTURE, deployment/release documentation, and release notes to identify Valkey and prominently describe this breaking change.

Compatibility and release evidence

Preserve the existing security boundaries and persistence policy: the cache is transient, is excluded from production backups, and has no public exposure by default. Keep historical backup manifests and supported restore paths readable; verify these contracts against the new runtime.

Re-run fresh installation, the supported Alpha-to-Beta upgrade matrix (#68), backup/restore coverage (#71), runtime reliability (#69), and the applicable scale/security checks (#70, #72) on the Valkey release candidate. Include the migration in the exact-commit evidence required by the final release gate #75.

Acceptance criteria

  • The implementation design identifies the chosen Valkey runtime/layout and the exact breaking Docker Compose/configuration changes.
  • Supported production and CI/development deployments use Valkey and pass startup, health, restart, and reconnect checks.
  • Rate limiting, authentication challenges, Lua/TTL behavior, and realtime Pub/Sub pass integration tests against real Valkey.
  • Fresh installation and documented upgrades from the published Redis-based Alpha runtime pass with durable state preserved.
  • Backup/restore compatibility and transient-state behavior are verified; upgrade and rollback instructions are documented.
  • Production smokes, short reliability, Valkey concurrency and current automated security checks pass on the exact implementation commit. Container comparison detected no added findings. Long profiles and final scale/security release gates (test: add proxy scale and concurrency coverage #70, security: complete v1 beta security review #72) remain required under #75.
  • Compose examples and release documentation clearly identify the required operator action and mark the change as breaking.

Sequencing

Milestone: v1.0.0-beta.1 (#4). Complete and validate this migration before final Beta 1 publication under #75. Implementation is merged by PR #149 following the explicit implementation and merge requests. Long tests and final release evidence remain release preparation under #75; pre-existing container-scan findings are documented in the PR for #72.

Activity

  1. added this to the v1.0.0-beta.1 milestone on Oct 1, 2026
  2. added
    enhancement
    dependencies
    area: runtime
    area: docker
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: dockerarea: runtimedependenciesenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions