Commit Graph

22 Commits

Author SHA1 Message Date
2569718930@qq.com 2f5e4a40dd ci: avoid buildx setup for image publish 2026-06-06 19:22:46 +08:00
2569718930@qq.com 2fd8027a41 Fix deploy stdin token handling 2026-06-01 14:44:53 +08:00
2569718930@qq.com 6407d0a29d Pass deploy GHCR token over stdin 2026-06-01 14:30:41 +08:00
2569718930@qq.com 383dfe4d0e Harden production deploy stability 2026-05-30 21:21:30 +08:00
2569718930@qq.com 8609376c59 feat: add versioned DEB bias backtesting 2026-05-27 21:40:26 +08:00
2569718930@qq.com 4ad1014108 修复全局 CORS:NEXT_PUBLIC_API_BASE_URL 默认改为空,前端请求走 Next.js 代理 2026-05-26 11:23:12 +08:00
2569718930@qq.com c43f92cdeb CI build-and-push 前后端并行构建,matrix 策略砍半墙钟时间 2026-05-26 11:18:18 +08:00
2569718930@qq.com e2f11d580e CI 修复:添加 setup-buildx 解决 GHA cache 导出报错
默认 docker driver 不支持 cache-to type=gha,需要 buildx driver。
2026-05-26 03:46:01 +08:00
2569718930@qq.com 91eb4307bd 部署加固:去重构建 + SHA tag 部署 + smoke test + 自动回滚
- frontend-quality 移除重复 npm run build
- docker-compose 镜像标签改用 ${IMAGE_TAG:-latest}
- deploy.sh:存旧 tag → SHA 部署 → smoke test → 失败回滚
- CI deploy job 改为 SCP deploy.sh 远程执行
2026-05-26 03:42:48 +08:00
2569718930@qq.com 28ad77c517 部署迁移:VPS 本机构建 → GitHub Actions 构建镜像推送 ghcr.io
CI 新增 build-and-push job,测试通过后构建 backend/frontend 镜像推送 ghcr.io。
VPS 部署改为 docker compose pull + up -d,不再本地编译。
2026-05-26 03:38:09 +08:00
2569718930@qq.com 468e53f959 CI 简化:移除 SCP artifact,Dockerfile 内 npm run build 2026-05-26 03:19:28 +08:00
2569718930@qq.com 2e8349a2c9 CI 修复:简化 SSH 命令为 && 链,确保 mkdir 在 SCP 前执行 2026-05-26 03:11:10 +08:00
2569718930@qq.com e1bad1bcfa CI 部署顺序修复:先 git pull 建目录,再 SCP 上传 .next 2026-05-26 02:57:40 +08:00
2569718930@qq.com d088ff389a CI/CD 优化:前端构建产物上传 artifact,VPS 跳过二次 npm run build 2026-05-26 02:39:02 +08:00
2569718930@qq.com 90f9beb139 CI 部署前先 docker compose down 避免容器名称冲突 2026-05-25 05:59:41 +08:00
2569718930@qq.com 36c27ea243 @
CI 部署步骤改为 force pull:fetch + reset --hard 覆盖本地脏修改
@
2026-05-24 22:40:43 +08:00
2569718930@qq.com 9db37c6d7b 修复 CI 部署:使用原生 ssh 替代 appleboy action 2026-05-19 14:22:43 +08:00
2569718930@qq.com 3c013e300a CI 全流程自动化:测试通过后自动部署到 VPS 2026-05-19 13:24:02 +08:00
2569718930@qq.com b122e7cbae Stabilize the decision workspace data boundaries
The scan terminal had grown into overlapping CSS, request-state, AI-provider, and city-card data responsibilities. This refactor separates those boundaries without changing product behavior: CSS modules are split by surface, city AI prompt/provider/fallback logic is isolated, and scan terminal request state now has reusable RemoteData adapters plus business-state tests.

Constraint: Preserve existing global scan-terminal class names and API responses during the refactor

Constraint: No new dependencies; keep this as a file-boundary cleanup

Rejected: Introduce React Query now | higher migration risk than the requested lightweight query-client path

Rejected: Rewrite AI stream behavior | progressive/fallback states are product-sensitive and were only adapter-split

Confidence: high

Scope-risk: moderate

Reversibility: clean

Directive: Keep AI stream state changes covered by business snapshots before changing fallback/cache wording

Tested: npm run test:business; npx tsc --noEmit; npm run build; python pytest -q; ruff check; py_compile targeted city AI modules

Not-tested: Live DeepSeek provider network replay and browser visual QA
2026-04-28 14:45:34 +08:00
2569718930@qq.com 1c84893bed Add CI and shadow calibration reporting 2026-03-20 20:59:30 +08:00
2569718930@qq.com 77d08e07e2 chore: remove github actions as it is not needed 2026-03-04 01:05:57 +08:00
2569718930@qq.com 0c6beab350 feat: Add Docker support, GitHub Actions CI, and an MIT License, updating READMEs with deployment instructions and badges. 2026-03-03 00:01:57 +08:00