Compare commits

..

1 Commits

Author SHA1 Message Date
xiaoxia 99c5777514 debug: AI数字人克隆音色试听加 Network/Console 调试日志
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 1s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 1s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 43s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 1m44s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 1m48s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 1m50s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 2m0s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 2m0s
CI/CD Pipeline / Validate - Style (pull_request) Successful in 2m21s
CI/CD Pipeline / Validate - Security (pull_request) Successful in 4m42s
CI/CD Pipeline / CI Gate (pull_request) Successful in 4s
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 3m27s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 25s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 53s
AI Code Review / AI Code Review (pull_request) Successful in 6m30s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 170h44m19s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 170h44m23s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 170h44m23s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 170h44m20s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 170h48m57s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 170h48m57s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 170h49m2s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 170h49m5s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 170h49m6s
CI/CD Pipeline / PR Build API Image (pull_request) Failing after 170h49m6s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 170h49m7s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 170h49m7s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 170h49m7s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 170h49m7s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 170h49m9s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 171h19m8s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 171h23m43s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 171h23m51s
CI/CD Pipeline / PR Build Worker Image (pull_request) Failing after 171h23m52s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 171h23m53s
- 请求前打印 voice_id/voice_name/voice_clone_profile_id
- 响应后打印 audio_url 前80字符 + duration
- catch 打印 HTTP status + response data + message
- 帮助定位 /tts/preview 400/422/500/502 具体原因
2026-09-09 12:34:40 +08:00
2 changed files with 3 additions and 28 deletions
+2 -16
View File
@@ -20,7 +20,6 @@ on:
default: "手动触发 - CI漏触发补跑"
permissions:
contents: read
pull-requests: read
concurrency:
group: ci-pipeline-${{ gitea.ref }}
cancel-in-progress: true
@@ -89,22 +88,9 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
run: |
set -eu
# 优先用 git diff 判断 PR 改动范围(比 API 稳定)
PR_NUMBER=$(echo "$GITHUB_REF" | sed 's|refs/pull/||; s|/.*||')
if command -v git >/dev/null 2>&1 && [ -d .git ]; then
FILES=$(git diff --name-only origin/develop...HEAD 2>/dev/null || true)
fi
if [ -z "${FILES:-}" ]; then
# fallback 到 API
API_URL="${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/pulls/${PR_NUMBER}/files?limit=300"
FILES=$(curl -sf -H "Authorization: token ${GITHUB_TOKEN}" "$API_URL" | python3 -c "import sys,json; [print(f['filename']) for f in json.load(sys.stdin)]" 2>/dev/null || true)
fi
if [ -z "${FILES:-}" ]; then
echo "⚠️ 无法获取变更文件列表,保守运行完整 CI"
echo "skip_backend=false" >> $GITHUB_OUTPUT
echo "skip_frontend=false" >> $GITHUB_OUTPUT
exit 0
fi
API_URL="${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/pulls/${PR_NUMBER}/files?limit=300"
FILES=$(curl -s -H "Authorization: token ${GITHUB_TOKEN}" "$API_URL" | python3 -c "import sys,json; [print(f['filename']) for f in json.load(sys.stdin)]")
FRONTEND_COUNT=$(echo "$FILES" | grep -c '^apps/web/' || true)
BACKEND_COUNT=$(echo "$FILES" | grep -cv '^apps/web/' || true)
TOTAL=$(echo "$FILES" | grep -cv '^$' || true)
+1 -12
View File
@@ -548,21 +548,10 @@ const GeneratePage: React.FC = () => {
<div
style={{
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
marginTop: 16,
}}
>
<h2
style={{
textAlign: "center",
marginBottom: 12,
fontSize: "1.5rem",
fontWeight: 600,
}}
>
🎬
</h2>
<div
style={{
display: "flex",