chore(ai-avatar): generateSmartCover timeout 60s → 120s(下载+抽帧+加标题+上传)
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 2s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 1m8s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m15s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 1m10s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 1m30s
CI/CD Pipeline / Validate - Style (pull_request) Successful in 1m41s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 1m45s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 2m9s
AI Code Review / AI Code Review (pull_request) Successful in 6m25s
CI/CD Pipeline / Validate - Security (pull_request) Successful in 8m52s
CI/CD Pipeline / CI Gate (pull_request) Successful in 5s
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 8m2s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 11s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 36s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 119h26m12s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 119h34m58s
CI/CD Pipeline / PR Build API Image (pull_request) Failing after 119h35m8s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 119h35m3s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 119h34m54s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 119h34m48s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 119h34m48s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 119h34m52s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 119h34m53s
CI/CD Pipeline / PR Build Worker Image (pull_request) Failing after 119h34m53s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 119h26m1s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 119h34m42s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 119h34m59s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 119h25m57s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 119h26m1s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 119h26m1s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 119h34m42s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 119h34m46s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 119h34m53s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 120h10m1s

This commit is contained in:
saas-frontend-agent
2026-09-11 15:48:25 +08:00
parent 3cd8910f73
commit bb3191f854
+3 -3
View File
@@ -66,7 +66,8 @@ export const generateSmartCover = async (
const response = await apiClient.post<{ cover_url: string; status: string; message: string }>(
"/ai-avatar/render/smart-cover",
{ video_url, max_frames },
{ timeout: 60000 },
// smart-cover 链路:下载视频+抽帧+drawtext 加标题+上传 OSS,需要较长时间,120s 超时
{ timeout: 120000 },
)
return response.data
}
@@ -85,8 +86,7 @@ export const submitRender = async (data: {
}
export const getRenderJob = async (jobId: string): Promise<RenderJob> => {
// 渲染任务走多步 ffmpeg 合成,可能耗时较久,轮询超时设 60s
const response = await apiClient.get<RenderJob>(`/ai-avatar/render/${jobId}`, { timeout: 60000 })
const response = await apiClient.get<RenderJob>(`/ai-avatar/render/${jobId}`)
return response.data
}