Commit Graph

201 Commits

Author SHA1 Message Date
Xiaoxia AI bfbaddbd9a style: normalize python formatting gates 2026-06-21 06:52:19 +08:00
Xiaoxia AI 0809a079c5 refactor(db): introduce alembic schema baseline 2026-06-21 06:48:16 +08:00
Xiaoxia AI 4b4602a0fd refactor(schema): mark sqlalchemy models as schema mainline 2026-06-21 06:30:55 +08:00
Xiaoxia AI e61dfc27f6 refactor(deploy): freeze canonical docker entrypoint 2026-06-21 05:09:21 +08:00
Xiaoxia AI 788de9a245 refactor(adapters): deprecate postgres repository path 2026-06-21 02:15:56 +08:00
Xiaoxia AI d25bd753a2 refactor(api): guard route adapter boundaries 2026-06-21 02:02:55 +08:00
Xiaoxia AI 0e93d2e71f refactor(domain): move auth infrastructure to adapters 2026-06-21 00:46:56 +08:00
Xiaoxia AI 3e2b579e03 ci: run real quality gates 2026-06-21 00:39:02 +08:00
Xiaoxia AI a33bead056 refactor(api): quarantine legacy container routes 2026-06-21 00:37:42 +08:00
Xiaoxia AI a3fe72a65f refactor(config): centralize api settings source 2026-06-21 00:36:13 +08:00
Xiaoxia AI 57310f33d4 fix(auth): harden simple auth and router imports 2026-06-21 00:27:58 +08:00
Xiaoxia AI 5d07c64e59 docs(phase7): record real ffmpeg closure 2026-06-21 00:02:23 +08:00
Xiaoxia AI c93e064f3b fix(deploy): bind generated files to host path 2026-06-20 23:44:00 +08:00
Xiaoxia AI bcfad4ad6a fix(deploy): expose generated video files 2026-06-20 23:40:47 +08:00
Xiaoxia AI 1e3a52fa17 fix(worker): persist generated mp4 without oss 2026-06-20 23:17:52 +08:00
Xiaoxia AI bd1c936635 fix(deploy): build compose services serially 2026-06-20 23:09:56 +08:00
Xiaoxia AI 554f7fc192 fix(deploy): rebuild only backend services on deploy 2026-06-20 23:01:50 +08:00
Xiaoxia AI 017277c152 fix(deploy): avoid remote metadata checks during compose build 2026-06-20 22:57:33 +08:00
Xiaoxia AI 1fb8463bab fix(worker): speed up ffmpeg package install 2026-06-20 22:52:23 +08:00
Xiaoxia AI e3cfae6873 trigger: redeploy after docker mirror fix 2026-06-20 22:48:42 +08:00
Xiaoxia AI 005c1ab2e5 merge: add real ffmpeg generation 2026-06-20 22:43:43 +08:00
Xiaoxia AI 3afe9689f7 feat(worker): generate real mp4 outputs 2026-06-20 22:42:07 +08:00
Xiaoxia AI 85402dd153 docs: close phase7 deployment ci validation 2026-06-20 21:38:50 +08:00
Xiaoxia AI 2f60d80502 merge: use prebuilt ci validation image 2026-06-20 21:26:19 +08:00
Xiaoxia AI 388a20794e merge: fix worker generation task 2026-06-20 21:12:56 +08:00
Xiaoxia AI 93ca38d8ca trigger: validate prebuilt ci image 2026-06-20 21:05:53 +08:00
Xiaoxia AI 4dbdb0f853 chore(ci): use prebuilt python validation image 2026-06-20 21:05:10 +08:00
Xiaoxia AI 48fbe3d287 fix(worker): register generation task 2026-06-20 19:43:08 +08:00
Xiaoxia AI f280a9fd21 merge: fix deployment split infrastructure ci 2026-06-20 19:27:02 +08:00
Xiaoxia AI f1ba8ba6af fix(ci): checkout without git in slim runner image 2026-06-20 19:03:52 +08:00
Xiaoxia AI d31c62d4e2 fix(deploy): align deployment with split infrastructure 2026-06-20 19:02:48 +08:00
Xiaoxia AI 751d0edbba fix: 添加 psycopg 依赖,修复数据库连接错误
- 添加 psycopg==3.1.18(SQLAlchemy 2.0 推荐的 PostgreSQL 驱动)
- 保留 psycopg2-binary 作为备用
2026-06-20 16:36:54 +08:00
Xiaoxia AI 42a94e0a19 trigger: 重新触发 CI/CD(使用优化后的轻量级镜像) 2026-06-20 16:31:00 +08:00
Xiaoxia AI dd91c87ef0 perf: 优化 CI/CD 镜像,从 2.26GB 降到 179MB
- 替换 catthehacker/ubuntu:act-latest (2.26GB) 为 python:3.12-slim (179MB)
- 减少下载时间 90%+
- 加快 CI/CD 构建速度
2026-06-20 16:21:49 +08:00
Xiaoxia AI 94dd60108c refactor: 彻底迁移到阿里云 OSS 并重构基础设施
- 删除 MinIO 依赖,改用阿里云 OSS (oss2)
- 重写存储服务 storage.py(完全兼容原接口)
- 更新配置:config.py 改为 OSS_* 配置项
- 重构 Docker Compose:分离基础设施(infra.yml)和应用(compose.yml)
- 添加健康检查和自动重启配置
- 创建标准化部署脚本(init-server.sh + deploy.sh)
- 统一 Nginx 配置(主域名 api.xiaoxiajianji.com)
- 修复 Web Dockerfile 端口映射(80 not 3000)

服务器清理完成:
- 删除旧云控制台、监控系统、桌面版代码
- 删除 2.6GB 旧安装包
- 清理 Docker 缓存 2.5GB
- 磁盘使用率从 48% 降至 26%
2026-06-20 15:24:24 +08:00
Xiaoxia AI 0f42ca1a7b fix: correct web Dockerfile for Vite (not Next.js) 2026-06-20 14:08:27 +08:00
Xiaoxia AI 3b72307bee fix: remove unused import in useWorkspace 2026-06-20 12:38:22 +08:00
Xiaoxia AI 36b144487f fix: exclude test files from TypeScript build 2026-06-20 12:25:23 +08:00
Xiaoxia AI 6537a518fd fix: correct paths in deployment scripts for container execution 2026-06-20 12:20:55 +08:00
Xiaoxia AI 44398c2ce7 fix: support develop branch deployment and fix React Query v5 compatibility 2026-06-20 12:01:51 +08:00
Xiaoxia AI 3002160ad4 feat: 添加简化版认证API和配置文件 2026-06-20 11:29:46 +08:00
Xiaoxia AI 8493471c19 feat(project-d): implement real video generation pipeline with FFmpeg 2026-06-19 10:54:20 +08:00
Xiaoxia AI 9dfef32226 merge: complete Project C - doc quality verification 2026-06-19 10:14:39 +08:00
Xiaoxia AI a70efed8d8 docs(project-c): complete doc quality verification and update CHANGELOG 2026-06-19 10:14:05 +08:00
Xiaoxia AI 57d4f46196 docs(project-b): complete mainline clarity project - API catalog and code status 2026-06-19 10:02:12 +08:00
Xiaoxia AI ee7eefa6df docs(phase7): mark Phase 7 as completed 2026-06-19 09:49:32 +08:00
Xiaoxia AI 5e047972cd fix(phase7): resolve remaining TODOs - session_id in JWT and repository injection 2026-06-19 09:47:20 +08:00
Xiaoxia AI b1502fec85 merge: CI/CD stability fixes into develop 2026-06-19 09:12:11 +08:00
Xiaoxia AI 9b5a4a35b0 fix(ci): remove runtime dependencies from dev requirements 2026-06-19 08:46:05 +08:00
Xiaoxia AI f529c145d9 docs(ci): establish runner infrastructure governance 2026-06-19 08:39:33 +08:00