Commit Graph

7 Commits

Author SHA1 Message Date
saas-backend-agent 605a3eb841 revert(ci): 回滚 ACR 默认域名切换(公共域名凭据无效,等待自定义域名恢复)
CI/CD Pipeline / Check if frontend-only change (push) Has been skipped
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 1s
CI/CD Pipeline / Check push changed paths (push) Successful in 1s
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / PR Build API Image (push) Has been skipped
CI/CD Pipeline / PR Build Web Image (push) Has been skipped
CI/CD Pipeline / PR Build Worker Image (push) Has been skipped
CI/CD Pipeline / Build Staging Web Image (push) Successful in 34s
CI/CD Pipeline / Build Staging API Image (push) Successful in 57s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 2m29s
CI/CD Pipeline / Retag skipped Staging API Image (push) Has been skipped
CI/CD Pipeline / Retag skipped Staging Web Image (push) Has been skipped
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Has been skipped
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 2m59s
CI/CD Pipeline / Validate - Style (push) Successful in 3m12s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 52s
CI/CD Pipeline / Integration Tests (push) Successful in 4m19s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m57s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 5m54s
CI/CD Pipeline / Validate - Security (push) Successful in 6m32s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 4m15s
CI/CD Pipeline / Staging E2E Tests (push) Successful in 4m24s
CI/CD Pipeline / Unit Tests (push) Successful in 10m23s
CI/CD Pipeline / Build Production API Image (push) Has been skipped
CI/CD Pipeline / Build Production Web Image (push) Has been skipped
CI/CD Pipeline / Build Production Worker Image (push) Has been skipped
CI/CD Pipeline / CI Gate (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Canary Release to Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
公共域名 registry.cn-hangzhou.aliyuncs.com 使用独立凭据,
现有 ACR_USERNAME/ACR_PASSWORD 绑定自定义域名企业版实例,
docker login 报 unauthorized 无法拉/推镜像。

等 ACR 自定义域名 xiaoxia-registry 公网接入恢复后,
基于原有配置即可正常构建。
2026-09-17 07:45:05 +08:00
saas-backend-agent 30bf66b307 fix(ci): ACR 临时切回默认域名 registry.cn-hangzhou.aliyuncs.com(自定义域名 114.55.99.108:443 拒绝连接)
CI/CD Pipeline / Check if frontend-only change (push) Has been skipped
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 1s
CI/CD Pipeline / Check push changed paths (push) Successful in 2s
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / PR Build API Image (push) Has been skipped
CI/CD Pipeline / PR Build Web Image (push) Has been skipped
CI/CD Pipeline / PR Build Worker Image (push) Has been skipped
CI/CD Pipeline / Build Staging API Image (push) Failing after 1m11s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 3m23s
CI/CD Pipeline / Integration Tests (push) Successful in 3m27s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 3m31s
CI/CD Pipeline / Validate - Style (push) Successful in 4m5s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 5m17s
CI/CD Pipeline / Validate - Security (push) Successful in 7m6s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 9m22s
CI/CD Pipeline / Retag skipped Staging API Image (push) Has been skipped
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Has been skipped
CI/CD Pipeline / Retag skipped Staging Web Image (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Successful in 10m10s
CI/CD Pipeline / Build Production API Image (push) Has been skipped
CI/CD Pipeline / Build Production Web Image (push) Has been skipped
CI/CD Pipeline / CI Gate (push) Has been skipped
CI/CD Pipeline / Build Production Worker Image (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 3m49s
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Has been skipped
CI/CD Pipeline / ACR Image Cleanup (push) Has been skipped
CI/CD Pipeline / Canary Release to Production (push) Has been skipped
- .gitea/workflows/*.yml: docker login/REGISTRY/ACR_IMAGE/ACR_REGISTRY
- scripts/ci/*.sh, scripts/ci/*.py: ACR_REGISTRY/GRAY_REGISTRY/REGISTRY 默认值
- 共 12 个文件 31 处替换
- 待 ACR 自定义域名恢复后可切回
2026-09-17 07:16:08 +08:00
xiaoxia c7662f0515 fix(ci): fix worker HEALTHCHECK quoting bug (#1966)
CI/CD Pipeline / Check if frontend-only change (push) Has been skipped
CI/CD Pipeline / PR Build API Image (push) Has been skipped
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 1s
CI/CD Pipeline / PR Build Web Image (push) Has been skipped
CI/CD Pipeline / PR Build Worker Image (push) Has been skipped
CI/CD Pipeline / Check push changed paths (push) Successful in 1s
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 1m17s
CI/CD Pipeline / Build Staging API Image (push) Successful in 2m4s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 2m39s
CI/CD Pipeline / Retag skipped Staging API Image (push) Has been skipped
CI/CD Pipeline / Retag skipped Staging Web Image (push) Has been skipped
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Has been skipped
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 4m51s
CI/CD Pipeline / Integration Tests (push) Successful in 4m55s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m27s
CI/CD Pipeline / Validate - Style (push) Successful in 5m41s
CI/CD Pipeline / Frontend Unit Tests (push) Failing after 6m35s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m53s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 3m22s
CI/CD Pipeline / Validate - Security (push) Successful in 12m13s
CI/CD Pipeline / Unit Tests (push) Successful in 13m14s
CI/CD Pipeline / Build Production API Image (push) Has been skipped
CI/CD Pipeline / Build Production Web Image (push) Has been skipped
CI/CD Pipeline / CI Gate (push) Has been skipped
CI/CD Pipeline / Build Production Worker Image (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Canary Release to Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 9m22s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-09-16 17:31:15 +08:00
CI Bot e4ac398397 fix: Worker 健康检查彻底修复 - 移除不可用的 pgrep 和 PID1 检查
根因:#1714 队列隔离后 entrypoint 启动两个 celery worker 子进程,
PID 1 变为 bash。旧健康检查依赖 pgrep(容器内不存在)或
/proc/1/cmdline(PID 1 是 bash 不是 celery),永远返回失败。
此前靠 cron 脚本 fix-worker-healthcheck.sh 每 30 分钟擦屁股。

修复:统一改为扫描 /proc/[0-9]*/cmdline 查找 celery 进程,
覆盖所有部署/回滚/CI 脚本(10 处替换)。已移除 cron 补丁。
2026-09-08 19:07:37 +08:00
xiaoxia 5cdaa29511 fix(healthcheck): 生产健康检查 /docs 接受 404,修复 develop push 生产部署回滚 (#1646)
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 5s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 3s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 4s
CI/CD Pipeline / Check push changed paths (push) Successful in 10s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 29s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 12s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 14s
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / CI Gate (pull_request) Successful in 4s
CI/CD Pipeline / Build Staging API Image (push) Successful in 37s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 36s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Successful in 18s
AI Code Review / AI Code Review (pull_request) Failing after 1m57s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m59s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 2m6s
CI/CD Pipeline / Integration Tests (push) Successful in 2m12s
CI/CD Pipeline / Validate - Style (push) Successful in 2m41s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m19s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m13s
CI/CD Pipeline / Validate - Security (push) Successful in 6m58s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m42s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 7m37s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 3m32s
CI/CD Pipeline / Staging E2E Tests (push) Successful in 4m23s
CI/CD Pipeline / Unit Tests (push) Successful in 10m51s
CI/CD Pipeline / Build Production API Image (push) Successful in 32s
CI/CD Pipeline / Build Production Worker Image (push) Successful in 33s
CI/CD Pipeline / Build Production Web Image (push) Successful in 33s
CI/CD Pipeline / Deploy Production (push) Successful in 1m2s
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Canary Release to Production (push) Failing after 311h34m25s
CI/CD Pipeline / CI Gate (push) Failing after 311h35m1s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 311h44m35s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 311h44m57s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 311h45m2s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 311h44m35s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 311h45m3s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 311h44m57s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 311h45m11s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 311h45m12s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 311h45m15s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 311h45m13s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 311h45m17s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 311h45m47s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 311h45m49s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 311h45m49s
CI/CD Pipeline / Validate - Security (pull_request) Failing after 311h45m50s
CI/CD Pipeline / Validate - Style (pull_request) Failing after 311h45m50s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 311h45m51s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 311h45m51s
CI/CD Pipeline / Frontend Lint (push) Failing after 311h45m52s
CI/CD Pipeline / PR Build Web Image (push) Failing after 311h45m59s
CI/CD Pipeline / PR Build API Image (push) Failing after 311h46m0s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Failing after 311h46m1s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 311h46m1s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 311h46m3s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 312h19m23s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 312h19m31s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 312h19m36s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 312h20m10s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Failing after 312h20m11s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 312h20m12s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 312h20m20s
2026-09-03 15:38:50 +08:00
xiaoxia b1eabdc847 fix: increase healthcheck timeout to 300s + fix rollback registry to ACR
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 2s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 2s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 3s
CI/CD Pipeline / Check push changed paths (push) Successful in 7s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 19s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 23s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 25s
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Build Staging API Image (push) Successful in 19s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 20s
CI/CD Pipeline / CI Gate (pull_request) Successful in 11s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Successful in 19s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 1m58s
CI/CD Pipeline / Integration Tests (push) Successful in 2m17s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 2m25s
AI Code Review / AI Code Review (pull_request) Successful in 2m26s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m16s
CI/CD Pipeline / Validate - Style (push) Successful in 2m49s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m7s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m38s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 5m25s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 3m12s
CI/CD Pipeline / Validate - Security (push) Successful in 6m21s
CI/CD Pipeline / Staging E2E Tests (push) Successful in 5m16s
CI/CD Pipeline / Unit Tests (push) Successful in 8m22s
CI/CD Pipeline / Build Production Web Image (push) Successful in 11s
CI/CD Pipeline / Build Production API Image (push) Successful in 11s
CI/CD Pipeline / Build Production Worker Image (push) Successful in 11s
CI/CD Pipeline / Deploy Production (push) Failing after 11m15s
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Canary Release to Production (push) Failing after 312h59m40s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 313h7m27s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 313h7m27s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 313h7m32s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 313h7m35s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 313h7m36s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 313h7m50s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 313h7m50s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 313h7m50s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 313h7m50s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 313h7m51s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 313h7m54s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 313h7m56s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 313h7m56s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 313h8m17s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 313h8m17s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 313h8m18s
CI/CD Pipeline / Validate - Security (pull_request) Failing after 313h8m18s
CI/CD Pipeline / Validate - Style (pull_request) Failing after 313h8m19s
CI/CD Pipeline / Frontend Lint (push) Failing after 313h8m19s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Failing after 313h8m25s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 313h8m24s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 313h8m25s
CI/CD Pipeline / PR Build Web Image (push) Failing after 313h8m25s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 313h8m27s
CI/CD Pipeline / PR Build API Image (push) Failing after 313h8m25s
CI/CD Pipeline / CI Gate (push) Failing after 313h34m16s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 313h41m54s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 313h42m6s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 313h42m11s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 313h42m17s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 313h42m38s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Failing after 313h42m39s
2026-09-03 14:16:32 +08:00
xiaoxia df016b18fb feat(ci): 新增Production健康检查+自动回滚脚本 2026-07-15 00:31:08 +08:00