9 Commits

Author SHA1 Message Date
wangdl
4fb652d273 feat: M-AI-01 Worker 进程边界与部署收口(全 8 个 Issue)
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 39s
M-AI-01-01: ADR-001 统一 AI 架构决策记录 + 附录 A 依赖闭包审计
M-AI-01-02: Worker 执行依赖闭包审计(附录 A 文档)
M-AI-01-03: 分离 AppModule/WorkerModule Processor 注册
M-AI-01-04: 统一 Queue Definition Registry + 环境变量覆盖
M-AI-01-05: 独立 Worker 启动与生命周期(instanceId/校验/优雅关闭)
M-AI-01-06: Docker + systemd 部署拓扑(unit 文件 + 回滚文档)
M-AI-01-07: Worker Heartbeat(Redis TTL 90s)+ Admin 在线状态 API
M-AI-01-08: 集成验收脚本

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-19 21:22:48 +08:00
1fb6dd4929 fix: Dockerfile build arg for prisma generate + cleanup deploy
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 1m42s
- Add ARG DATABASE_URL to Dockerfile so prisma generate works at build time
- Fix env file path (/opt/zhixi/env/ not /etc/zhixi/)
- Fix MySQL container name (mysql, not mysql-zhixi)
- Use correct DB name (zhixi_prod)
- Prevent duplicate mysql/redis containers from docker compose

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 17:25:35 +08:00
90b07179a3 fix: remove Dockerfile auto-resolve to prevent restart loop; deploy script handles cleanup
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 15s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-18 15:22:53 +08:00
ebcace0baf fix: auto-resolve failed Prisma migration on container startup
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 16s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-18 15:14:27 +08:00
c30f7cdb63 fix: Docker CMD 添加 prisma migrate deploy,启动时自动应用迁移
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 2s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 22:43:19 +08:00
7e308b01cc fix: Prisma binaryTargets linux-musl-openssl-3.0.x + Dockerfile 精简
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 1m31s
2026-05-09 19:37:15 +08:00
0df5b67a84 fix: Dockerfile 切回 alpine + openssl1.1-compat 兼容 Prisma musl 引擎
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 31s
2026-05-09 19:32:07 +08:00
f0af46dbfe fix: Dockerfile 改用 node:22-slim + openssl 兼容 Prisma
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 1m31s
2026-05-09 19:28:40 +08:00
07d6b889ef feat: Dockerfile + CI/CD deploy workflow + @prisma/client 移入 production deps
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 10m2s
2026-05-09 19:05:48 +08:00