xiaoxia
|
a5f1d9685d
|
refactor(phase3): Docker 网络隔离 staging/production 环境
Deploy / Staging E2E Tests (push) Has been skipped
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 141h44m9s
CI/CD Pipeline / Frontend Lint (push) Failing after 141h44m18s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 141h44m18s
- compose.yml: 网络名根据 ENV 变量区分 (xiaoxia-net-staging/xiaoxia-net-production)
- infra-production.yml: 使用 xiaoxia-net-production 网络
- infra.yml: 使用 xiaoxia-net-staging 网络
- 新增 nginx-staging.conf (proxy_pass -> xiaoxia-api-staging:8000)
- 新增 nginx-production.conf (proxy_pass -> xiaoxia-api-production:8000)
- nginx.conf 更新为 production 默认配置
- web-artifact.Dockerfile: 添加 ARG NGINX_CONF 支持构建时选择 nginx 配置
- deploy-staging.sh: 添加 ENV=staging、网络创建、nginx 配置选择
- deploy-production.sh: 添加 ENV=production、网络创建
- deploy.yml: CI 构建传入 NGINX_CONF 参数、远程部署脚本添加网络创建
- deploy.yml: 冒烟测试添加网络隔离验证
|
2026-07-03 15:09:54 +08:00 |
|
部署Agent
|
ae20d5137a
|
fix(infra): 修复 worker healthcheck YAML 语法 & APP_VERSION 添加默认值
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Tests / lint (pull_request) Failing after 145h39m28s
Tests / test (pull_request) Failing after 145h39m28s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 145h39m53s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 145h39m59s
Deploy / Deploy Staging (push) Failing after 145h40m35s
CI/CD Pipeline / Frontend Lint (push) Failing after 145h41m1s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 145h41m9s
- Worker healthcheck: 原 python3 单引号嵌套导致 YAML 解析错误,改用 grep -q celery /proc/1/cmdline
- APP_VERSION: 添加 :-unknown 默认值,防止变量缺失时健康检查端点崩溃
|
2026-07-03 11:13:21 +08:00 |
|
xiaoxia
|
7fc72f5888
|
fix(worker): 修复 healthcheck,容器无 pgrep 改用 Python 检查进程
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 156h46m23s
CI/CD Pipeline / Frontend Lint (push) Failing after 156h47m53s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 156h48m0s
|
2026-07-03 00:06:32 +08:00 |
|
灵应
|
f243a723c4
|
fix(worker): 修复 healthcheck 配置,改用进程检查替代 celery inspect ping
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Tests / lint (pull_request) Failing after 157h17m12s
Tests / test (pull_request) Failing after 157h17m12s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 157h17m56s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 157h18m1s
Deploy / Deploy Staging (push) Failing after 157h31m33s
CI/CD Pipeline / Frontend Lint (push) Failing after 157h32m13s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 157h32m20s
- 修正 celery app 路径错误(app.celery_app → worker_app.celery_app)
- celery inspect ping 依赖 broker 连接,容器内不可靠
- 改用 pgrep -f 'celery.*worker' 进程检查,更稳定
- 调整 start_period 为 30s(与 API 容器保持一致风格)
|
2026-07-02 23:22:09 +08:00 |
|
灵应
|
e9b6fbcf2c
|
Merge remote-tracking branch 'origin/main' into develop
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 161h20m13s
Tests / lint (pull_request) Failing after 161h20m13s
Tests / test (pull_request) Failing after 161h20m13s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 161h20m48s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 161h20m53s
CI/CD Pipeline / Frontend Lint (push) Failing after 161h21m27s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 161h21m34s
# Conflicts:
# infra/docker/api.Dockerfile
|
2026-07-02 19:27:52 +08:00 |
|
xiaoxia
|
c9f95ed5a6
|
fix: 添加容器日志轮转配置和 Worker 健康检查
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
|
2026-07-02 17:20:13 +08:00 |
|
CI Test
|
7d1d086c94
|
Merge develop → main: 端口绑定安全修复 + CI workflow同步
Auto Merge PRs / auto-merge (push) Failing after 31s
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 205h21m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 205h24m40s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 205h24m48s
|
2026-06-30 23:00:42 +08:00 |
|
CI Test
|
4b8605c679
|
security: 端口绑定限制为 127.0.0.1 (API/Web)
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 205h32m24s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 205h32m34s
|
2026-06-30 22:59:32 +08:00 |
|
xiaoxia
|
18873e9db9
|
fix: 修复 APP_VERSION 环境变量读取 - 从 env_file 中读取而非使用默认值
Auto Merge PRs / auto-merge (push) Failing after 35s
|
2026-06-29 07:22:26 +08:00 |
|
xiaoxia
|
d3fce20921
|
fix(compose): remove conflicting mem_limit, consolidate to deploy.resources.limits
Deploy / Deploy Staging (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Production (push) Failing after 245h20m33s
Deploy / Build Production Runtime Images (push) Failing after 245h36m44s
|
2026-06-29 04:18:41 +08:00 |
|
CI Test
|
3292a5d655
|
fix: 持久化 api/worker 容器内存限制,改用 mem_limit: 2g 替代 deploy.resources.limits.memory
|
2026-06-28 11:19:50 +08:00 |
|
CI Test
|
ec96feee22
|
fix(deploy): Worker 容器内存限制从 4G 降至 2G
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- Worker 实际内存使用仅 ~156MiB,4G 限制远超需求
- 业务服务器总内存仅 1.7Gi,过高限制影响其他容器
- 2G 限制已足够应对视频处理峰值需求
|
2026-06-28 10:30:09 +08:00 |
|
xiaoxia
|
a5c5da50c6
|
fix: 修复 jwt_service.py 错误的 settings 导入路径导致登录 401
- packages.config.settings 模块不存在,改为 from app.config import settings
- 此 bug 导致 JWT token 生成时 ModuleNotFoundError,被 except 捕获后返回通用 401
|
2026-06-27 17:17:38 +08:00 |
|
Deploy Agent
|
78e1af1054
|
feat: 标准化部署流程和文档化
- 添加 docs/deployment.md 完整部署文档,包含:
- 环境要求
- 首次部署流程
- 版本更新流程
- 回滚流程
- 常见问题排查
- 环境变量说明
- 添加标准化部署脚本:
- scripts/deploy_production.sh: 生产环境部署脚本
- scripts/deploy_staging.sh: 预发布环境部署脚本
- scripts/rollback.sh: 回滚脚本(支持交互式和命令行模式)
- 完善 infra/docker/compose.yml:
- 添加详细注释说明
- 添加资源限制建议(注释)
- 记录 web volume 挂载的注意事项(避免 403 问题)
- 添加 .github/workflows/release.yml:
- 完整的发布流程
- 构建所有三个镜像(api、worker、web)
- 自动部署到生产环境
- E2E 测试和 GitHub Release 创建
|
2026-06-27 00:09:46 +08:00 |
|
Xiaoxia AI
|
816d98175a
|
fix(ops): expose release version and limit worker concurrency
|
2026-06-23 07:52:19 +08:00 |
|
Xiaoxia AI
|
1cf43fa6a0
|
fix(deploy): isolate production web api proxy
|
2026-06-22 10:02:03 +08:00 |
|
Xiaoxia AI
|
1939878dec
|
fix(deploy): require prebuilt web artifact for production
|
2026-06-22 09:34:27 +08:00 |
|
Xiaoxia AI
|
6d68c28860
|
chore(release): validate production env readiness
|
2026-06-21 12:34:51 +08:00 |
|
Xiaoxia AI
|
e61dfc27f6
|
refactor(deploy): freeze canonical docker entrypoint
|
2026-06-21 05:09:21 +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
|
d31c62d4e2
|
fix(deploy): align deployment with split infrastructure
|
2026-06-20 19:02:48 +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
|
9fe0614d43
|
feat: add deployment configs, systemd service, and tracker init scripts
|
2026-06-16 22:01:24 +08:00 |
|
Xiaoxia AI
|
f69e649c7f
|
chore: wire real host-based gitea deploy
|
2026-06-15 19:58:11 +08:00 |
|
Xiaoxia AI
|
4475677763
|
chore: wire deployment to environment-based configuration
|
2026-06-15 18:40:56 +08:00 |
|
Xiaoxia AI
|
b5a62ee9a3
|
feat: initial SaaS scaffold
- domain: User, Workspace, Project, AssetLibrary, Asset, IngestJob
- ports: repository interfaces
- application: use cases
- adapters: in-memory
- API: FastAPI 5 routes
- worker: Celery ingest_asset
- tests: 4 passing
|
2026-06-15 15:17:40 +08:00 |
|