c64dc9c95a
fix: correct .env.production path for Docker container
...
Deploy API Server / build-and-deploy (push) Failing after 59s
/opt/zhixi/env/.env.production, not /etc/zhixi/.env.production
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 17:20:54 +08:00
b00c320496
fix: target prod runner (runs-on: prod) instead of ubuntu-latest
...
Deploy API Server / build-and-deploy (push) Failing after 3m44s
Root cause: deploy.yml used runs-on: ubuntu-latest, which matched
the 4C4G web runner instead of the 8C32G prod runner. The web runner
doesn't have access to /opt/zhixi/, systemd, or Docker.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 17:11:02 +08:00
2d6c02609e
fix CI: correct Gitea URL (10.2.0.7:3000) + sudo for systemctl
...
Deploy API Server / build-and-deploy (push) Failing after 7s
Root cause: git clone http://localhost:3000 failed because port 3000
is NestJS, not Gitea. Use internal network URL instead.
Also add sudo to privileged commands and set -e to fail fast.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 16:57:16 +08:00
7f70d0c78f
fix: remove ExecStartPre, use systemd-run for optional self-test
...
Deploy API Server / build-and-deploy (push) Failing after 8s
Service file is now minimal (no startup script dependency).
CI step verifies reranker importability via systemd-run on host.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 16:38:23 +08:00
e0110fd8f8
fix CI: move Python deps + reranker test to systemd ExecStartPre
...
Deploy API Server / build-and-deploy (push) Failing after 8s
Runner container lacks Python 3.11, so pip install and self-test
now run as ExecStartPre in zhixi-worker.service on the host.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 16:25:52 +08:00
9c8bd59620
add RAG Worker deploy + reranker test to CI/CD
...
Deploy API Server / build-and-deploy (push) Failing after 7s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 16:07:15 +08:00
4b11010c65
fix: use double quotes for MYSQL_PASS variable expansion in mysql exec
...
Deploy API Server / build-and-deploy (push) Successful in 15s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-18 15:26:03 +08:00
90b07179a3
fix: remove Dockerfile auto-resolve to prevent restart loop; deploy script handles cleanup
...
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
6488049923
fix: resolve failed Prisma migration — cleanup partial state before re-deploy
...
Deploy API Server / build-and-deploy (push) Failing after 15s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-18 15:00:59 +08:00
9e5fb7cb40
fix: add backend health check + HTTPS nginx config with SSL support
Deploy API Server / build-and-deploy (push) Failing after 12s
2026-05-18 14:44:39 +08:00
08f31dd5b6
feat: P0 后端补全 — BullMQ Workers 注册 + 用户 Profile API + 角色权限
...
- AppModule 注册 3 个 BullMQ Workers (AiAnalysis/DocumentImport/Notification)
- Users 模块新增 GET/PATCH /users/me/profile 端点:
- GET 读取 UserProfile (learningIdentity, learningDirection, bio, currentGoal)
- PATCH upsert UserProfile
- GET /users/me 返回 profile + preferences (include join)
- 新增 RolesGuard + @Roles() 装饰器 (UserRole enum)
- QueueModule/QueueService 改进
- 各模块 controller/repository/service 完善
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 19:08:07 +08:00
387785bd1e
ci: deploy workflow 加 Apple 登录环境变量
Deploy API Server / build-and-deploy (push) Successful in 19s
2026-05-13 15:54:59 +08:00
8ba754daad
ci: 改用 host 模式 runner + 纯 shell workflow
Deploy API Server / build-and-deploy (push) Successful in 2m1s
2026-05-09 21:05:03 +08:00
07d6b889ef
feat: Dockerfile + CI/CD deploy workflow + @prisma/client 移入 production deps
Deploy API Server / build-and-deploy (push) Failing after 10m2s
2026-05-09 19:05:48 +08:00