fix(ci): 将Validate/Frontend等job从ci-check迁移到ci-l2 runner,解决ci-check环境Docker端口映射失效问题
CI/CD Pipeline / Build Staging API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Build Production API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Web Image (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / ACR Image Cleanup (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 16s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Has been skipped
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m10s
AI Code Review / AI Code Review (pull_request) Successful in 1m30s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 3m26s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 4m5s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 4m54s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 4m56s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m59s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 6m45s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 10s

ci-check runner的Docker-in-Docker端口映射存在问题,容器内部pg_isready显示healthy
但宿主侧TCP连接始终失败(60秒超时),导致Validate Code Quality的Alembic迁移验证
以及所有需要独立PG/Redis容器的检查失败。

将所有ci-check runner的job统一迁移到ci-l2(与Integration Tests同环境),
ci-l2的Docker网络端口映射工作正常,确保所有需要容器的检查能稳定运行。

影响的job:
- check-frontend-only
- Validate Code Quality And Tests
- Frontend Lint
- Frontend Unit Tests
This commit is contained in:
CI Bot
2026-07-19 22:13:56 +08:00
parent df0b3ab452
commit 0d54876999
+4 -4
View File
@@ -24,7 +24,7 @@ concurrency:
jobs:
check-frontend-only:
name: Check if frontend-only change
runs-on: ci-check
runs-on: ci-l2
if: github.event_name == 'pull_request'
outputs:
skip_backend: ${{ steps.check.outputs.skip_backend }}
@@ -68,7 +68,7 @@ jobs:
needs: check-frontend-only
if: always() && needs.check-frontend-only.outputs.skip_backend != 'true'
name: Validate Code Quality And Tests
runs-on: ci-check
runs-on: ci-l2
timeout-minutes: 10
permissions:
contents: write
@@ -232,7 +232,7 @@ jobs:
frontend-lint:
name: Frontend Lint
runs-on: ci-check
runs-on: ci-l2
timeout-minutes: 10
steps:
- name: Checkout code
@@ -275,7 +275,7 @@ jobs:
frontend-unit-test:
name: Frontend Unit Tests
runs-on: ci-check
runs-on: ci-l2
timeout-minutes: 15
needs: check-frontend-only
if: always() && needs.check-frontend-only.outputs.skip_frontend != 'true'