Commit Graph

6 Commits

Author SHA1 Message Date
CI Bot 8ea3263a12 fix(ci): 集成测试xdist worker数按内存动态计算,防止OOM
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 40s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 46s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 45s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 1m6s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 1m16s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 49s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 2m3s
CI/CD Pipeline / Validate - Code Quality (pull_request) Successful in 3m15s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m29s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 3m55s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 5m8s
CI/CD Pipeline / PR Build API Image (pull_request) Has been cancelled
CI/CD Pipeline / PR Build Worker Image (pull_request) Has been cancelled
AI Code Review / AI Code Review (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 1338h11m10s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 1338h11m18s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1338h11m14s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1338h11m20s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1338h11m22s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 1338h11m39s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 1338h11m40s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 1338h12m26s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1338h11m41s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 1338h12m27s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 1338h44m43s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1338h43m33s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 1338h43m55s
之前 -n auto 用满所有CPU核,CI runner内存不足导致worker crash
和ffmpeg子进程被SIGKILL。改为根据可用内存动态计算worker数,
预留1GB给系统和ffmpeg等子进程,限制2-8个worker。
同时 maxfail 从1调到3,容忍偶发不稳定。
2026-07-22 21:16:16 +08:00
xiaoxia 34e5b18a30 fix(ci): 修复CI rerun时数据库命名冲突问题
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 47s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 55s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 54s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 51s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 46s
CI/CD Pipeline / Validate - Code Quality (pull_request) Successful in 2m34s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Failing after 1m12s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 1m23s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 46s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 2m35s
AI Code Review / AI Code Review (pull_request) Successful in 9m6s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 17m50s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 1m36s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 2m30s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 8s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 1341h36m8s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1341h36m47s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 1341h36m51s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1341h36m53s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1341h36m55s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1341h36m57s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1341h37m9s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 1341h37m13s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 1341h37m15s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 1341h39m49s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 1341h39m51s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 1341h39m53s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 1342h9m27s
在CREATE DATABASE前先执行DROP DATABASE IF EXISTS WITH (FORCE),
防止rerun同一run_id时因数据库已存在而失败。

影响:validate_migration.sh / run_integration_tests.sh / run_validate.sh
2026-07-22 17:43:48 +08:00
xiaoxia cbda1ec4d5 优化:集成测试引入 pytest-xdist 并行执行 (#704)
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
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-07-22 15:32:30 +08:00
xiaoxia d559e6b787 ci: 全面根治CI稳定性问题 (#619) (#620)
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Failing after 1406h29m18s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1406h29m19s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1406h29m19s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1406h29m21s
CI/CD Pipeline / Validate Code Quality And Tests (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 / Frontend Unit Tests (push) Has been skipped
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 / Build Staging Worker Image (push) Has been skipped
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Build Production API Image (push) Failing after 1407h1m27s
CI/CD Pipeline / ACR Image Cleanup (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 1407h1m26s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-07-20 01:00:04 +08:00
xiaoxia df0b3ab452 fix(ci): 增加PG/Redis端口连通性检查,解决容器healthy但映射端口连不上 (#615)
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 6m7s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 2m10s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1409h41m13s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1409h41m15s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1409h41m16s
CI/CD Pipeline / Build Production API Image (push) Failing after 1409h41m16s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1409h41m17s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (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 / Frontend Unit Tests (push) Has been skipped
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 / Build Staging Worker Image (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 / Deploy Production (push) Failing after 1410h13m21s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-07-19 21:48:09 +08:00
xiaoxia 0a8bfc9bcc ci: 架构精简 - 合并4个workflow为2个,抽取公共步骤为脚本 (#605)
CI/CD Pipeline / Build Staging API Image (push) Failing after 24s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 29s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 29s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1412h26m44s
CI/CD Pipeline / ACR Image Cleanup (push) Failing after 1412h26m45s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1412h26m46s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1412h27m12s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1412h27m14s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1412h27m15s
CI/CD Pipeline / Build Production API Image (push) Failing after 1412h27m15s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1412h27m17s
CI/CD Pipeline / Validate Code Quality And Tests (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 / Frontend Unit Tests (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 1412h59m20s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1412h58m51s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-07-19 19:02:09 +08:00