Implement modernization plan: Docker, Python 3.12, CI/CD, and tests#33
Draft
Copilot wants to merge 5 commits into
Draft
Implement modernization plan: Docker, Python 3.12, CI/CD, and tests#33Copilot wants to merge 5 commits into
Copilot wants to merge 5 commits into
Conversation
…s, and tests Co-authored-by: SchwartzKamel <49488751+SchwartzKamel@users.noreply.github.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Co-authored-by: SchwartzKamel <49488751+SchwartzKamel@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement and improve modernization plan with test suites
Implement modernization plan: Docker, Python 3.12, CI/CD, and tests
Dec 13, 2025
Owner
|
@copilot Let's extend the capability to use a docker redis and work in that cluster |
Co-authored-by: SchwartzKamel <49488751+SchwartzKamel@users.noreply.github.com>
Author
Extended Docker configuration to support Redis cluster mode with high availability. Added in commit 454b04d:
Usage: # Standard (single Redis)
docker compose up -d
# High availability cluster
docker compose -f docker-compose.yml -f docker-compose.cluster.yml up -d |
Co-authored-by: SchwartzKamel <49488751+SchwartzKamel@users.noreply.github.com>
|
SchwartzKamel
approved these changes
Jan 10, 2026
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.


Implements the modernization plan from
docs/modernize-app-plan.md: containerization, Python 3.12 upgrade, uv package management, and CI/CD with multiple test suites.Docker
Dockerfilewith Ubuntu 24.04, non-root user, health checksdocker-compose.ymlwith app + Redis services (persistence enabled, memory limits)docker-compose.cluster.ymlfor Redis high availability (master + replica + Sentinel for automatic failover)Python 3.12 Compatibility
pyproject.tomlwith modern build system (hatchling)sha256→scryptfor Werkzeug 3.xconfig.pywith robust Redis connection handling andDockerConfigclassCI/CD Workflows
ci.yml: Lint (Ruff) → Unit tests → Security scan → Docker build → Integration testssecurity.yml: pip-audit, Safety, Bandit, Semgrep, Trivy container scandocker.yml: Build and push to GHCRTest Suite
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.