Commit Graph

5 Commits

Author SHA1 Message Date
xiaoxia f651422582 fix(deploy): 修复生产部署脚本502——worker/web容器启动失败 (#1887)
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 2s
CI/CD Pipeline / Check push changed paths (push) Successful in 11s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 39s
CI/CD Pipeline / Integration Tests (push) Successful in 3m18s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 3m21s
CI/CD Pipeline / Validate - Style (push) Successful in 3m54s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 5m16s
CI/CD Pipeline / Validate - Security (push) Successful in 8m17s
CI/CD Pipeline / Unit Tests (push) Successful in 8m42s
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Build Staging API Image (push) Successful in 14m38s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 18m14s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 5m19s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m26s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 2m58s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 3m1s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 51h35m15s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 51h44m59s
CI/CD Pipeline / PR Build Web Image (push) Failing after 51h53m46s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 51h53m21s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 51h53m20s
CI/CD Pipeline / PR Build API Image (push) Failing after 51h53m20s
CI/CD Pipeline / Deploy Production (push) Failing after 51h44m31s
CI/CD Pipeline / Build Production Web Image (push) Failing after 51h44m33s
CI/CD Pipeline / Build Production API Image (push) Failing after 51h44m33s
CI/CD Pipeline / CI Gate (push) Failing after 51h44m33s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 51h34m50s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 51h34m50s
CI/CD Pipeline / Canary Release to Production (push) Failing after 51h26m28s
CI/CD Pipeline / Frontend Lint (push) Failing after 51h53m16s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-09-14 11:29:58 +08:00
xiaoxia 4ae6394c95 ci: batch2 speedup - merge validate-type-check+migration into validate-python, split validate-code-quality into validate-style+validate-security
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) Failing after 2s
CI/CD Pipeline / Validate - Style (push) Successful in 3m52s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 4m19s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 4m41s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 5m18s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 5m12s
CI/CD Pipeline / Validate - Security (push) Failing after 5m19s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 5m19s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 8m42s
CI/CD Pipeline / Integration Tests (push) Successful in 6m59s
AI Code Review / AI Code Review (pull_request) Successful in 9m14s
CI/CD Pipeline / Unit Tests (push) Successful in 20m36s
CI/CD Pipeline / Production Browser E2E (push) Failing after 380h7m40s
CI/CD Pipeline / Canary Release to Production (push) Failing after 380h7m44s
CI/CD Pipeline / Deploy Production (push) Failing after 380h7m44s
CI/CD Pipeline / CI Gate (push) Failing after 380h7m48s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 380h7m50s
CI/CD Pipeline / Build Production Web Image (push) Failing after 380h7m52s
CI/CD Pipeline / Build Production API Image (push) Failing after 380h7m54s
CI/CD Pipeline / ACR Image Cleanup (push) Failing after 380h17m5s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 380h17m7s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 380h20m5s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 380h25m2s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 380h25m3s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 380h25m5s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 380h27m22s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 380h27m24s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 380h27m26s
CI/CD Pipeline / PR Build Web Image (push) Failing after 380h27m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 380h27m28s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Failing after 380h30m27s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 380h30m31s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 380h51m18s
CI/CD Pipeline / Build Staging API Image (push) Failing after 381h1m37s
CI/CD Pipeline / PR Build API Image (push) Failing after 381h1m41s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 381h28m33s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 2m51s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 51s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 4s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 3s
CI/CD Pipeline / Validate - Style (pull_request) Successful in 6m57s
CI/CD Pipeline / Validate - Security (pull_request) Successful in 9m58s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 5m58s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 17m20s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 7m40s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 381h32m3s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 381h15m34s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 381h28m53s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 381h29m8s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 380h54m22s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 380h54m38s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 380h54m42s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 380h54m55s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 380h54m57s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 381h15m33s
CI/CD Pipeline / CI Gate (pull_request) Successful in 1s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 380h41m19s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 380h41m20s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 380h41m21s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 380h54m16s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 380h54m18s
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 380h55m22s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 380h57m52s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 380h59m58s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 380h41m20s
Change 5: Merge validate-type-check + validate-migration into validate-python
- Single checkout + single pip install → mypy + alembic
- Saves ~2min checkout + ~1min pip install + 1 runner slot
- Preserves DATABASE_URL env for alembic migration validation

Change 6: Split validate-code-quality into validate-style + validate-security
- validate-style: compileall + black/isort/ruff + vulture (advisory) + auto-fix (~3min)
- validate-security: detect-secrets + bandit (advisory) + pip-audit (advisory) + CI scripts syntax (~5min)
- Both jobs run in parallel, reducing wall-clock time from ~10min to ~5min

Updated references:
- ci-gate needs: validate-code-quality → validate-style + validate-security
- ci-gate needs: validate-type-check + validate-migration → validate-python
- build-production needs: validate-code-quality → validate-style + validate-security
- Removed obsolete scripts/ci/validate_code_quality.sh
2026-08-31 18:25:00 +08:00
xiaoxia e43737658a fix(ci): #905 #914 code quality full scan unification + 2 ruff fixes (#922)
CI/CD Pipeline / Check if frontend-only change (push) Has been cancelled
CI/CD Pipeline / Validate - Code Quality (push) Has been cancelled
CI/CD Pipeline / Validate - Type Check (mypy) (push) Has been cancelled
CI/CD Pipeline / Validate - Migration (alembic) (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Frontend Unit Tests (push) Has been cancelled
CI/CD Pipeline / PR Build API Image (push) Has been cancelled
CI/CD Pipeline / PR Build Web Image (push) Has been cancelled
CI/CD Pipeline / PR Build Worker Image (push) Has been cancelled
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Build Production API Image (push) Has been cancelled
CI/CD Pipeline / Build Production Web Image (push) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / ACR Image Cleanup (push) Has been cancelled
CI/CD Pipeline / Canary Release to Production (push) Has been cancelled
2026-07-26 13:14:47 +08:00
xiaoxia 614a8e95be ci: CI全链路加固6项 - 从基础设施到门禁策略的完整补漏 (#742)
CI/CD Pipeline / Validate - Migration (alembic) (push) Successful in 40s
CI/CD Pipeline / Validate - Type Check (mypy) (push) Successful in 45s
CI/CD Pipeline / Frontend Lint (push) Successful in 55s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 57s
CI/CD Pipeline / Frontend Unit Tests (push) Failing after 16s
CI/CD Pipeline / Integration Tests (push) Successful in 59s
CI/CD Pipeline / Unit Tests (push) Successful in 2m42s
CI/CD Pipeline / Validate - Code Quality (push) Successful in 3m25s
CI/CD Pipeline / Build Staging API Image (push) Successful in 5m22s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 5m22s
CI/CD Pipeline / ACR Image Cleanup (push) Failing after 1337h43m28s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1337h43m29s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1337h48m47s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1337h43m29s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1337h48m49s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1337h48m51s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 1337h48m53s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1337h48m53s
CI/CD Pipeline / PR Build API Image (push) Failing after 1337h48m54s
CI/CD Pipeline / PR Build Web Image (push) Failing after 1338h21m10s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1338h15m46s
CI/CD Pipeline / Deploy Production (push) Failing after 1338h21m6s
CI/CD Pipeline / Build Production API Image (push) Failing after 1338h21m8s
2026-07-22 21:40:10 +08:00
xiaoxia 6bde806462 ci: Validate并行化,拆分为代码质量/类型检查/迁移验证三个并行job
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 55s
CI/CD Pipeline / ACR Image Cleanup (push) Failing after 1349h52m31s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1349h52m35s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1349h55m17s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1349h52m33s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1350h5m22s
CI/CD Pipeline / Deploy Production (push) Failing after 1350h6m9s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1350h6m11s
CI/CD Pipeline / Build Production API Image (push) Failing after 1350h6m15s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 1350h6m17s
CI/CD Pipeline / PR Build API Image (push) Failing after 1350h6m17s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1350h6m13s
CI/CD Pipeline / Frontend Unit Tests (push) Has been skipped
CI/CD Pipeline / PR Build Web Image (push) Failing after 1350h38m30s
CI/CD Pipeline / Build Staging API Image (push) Has been skipped
CI/CD Pipeline / Build Staging Web Image (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Validate - Code Quality (push) Has been skipped
CI/CD Pipeline / Validate - Type Check (mypy) (push) Has been skipped
CI/CD Pipeline / Validate - Migration (alembic) (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Failing after 1350h38m20s
2026-07-22 09:22:53 +08:00