@cryptotaxi247 / CoPilot / commits / 01962f08

security: bump mysql to 8.0.46-debian (8.0.38 → latest 8.0.x patch) (#839)

Pulls in the accumulated 8.0.x patch updates since 8.0.38 (released 2024-07). 8.0.46 is the most recent debian-tagged release on the official mysql image at the time of writing. Upgrade path verified locally for existing 8.0.38 deployments: - `docker compose pull && docker compose up -d` recreates only the copilot-mysql container and reuses the mysql-data named volume. - MySQL runs the data-dictionary upgrade itself on first boot ("Server upgrade from '80038' to '80046' completed") — no manual `mysql_upgrade` step required. - alembic_version, table count, and seed data (connectors, roles, integrations, users) are byte-identical pre/post. - Backend container stays up; SQLAlchemy/aiomysql pool reconnects automatically. APScheduler logs a single transient "Lost connection to MySQL server during query" during the few seconds of MySQL downtime, then recovers. Total downtime in the test: ~5s end-to-end. Co-authored-by: taylor_socfortress <taylor.walton@socfortress.co> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

taylorcopilot committed May 7, 2026 at 12:47 UTC 01962f08c385968fb72148a3e609c36771fbf617
1 file changed +1 -1
docker-compose.yml
+1 -1
@@ -34,7 +34,7 @@ services:
34 # restart: always
35
36 copilot-mysql:
37 - image: mysql:8.0.38-debian
37 + image: mysql:8.0.46-debian
38 environment:
39 MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
40 MYSQL_DATABASE: copilot