5e1ed9ecc5
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 2m15s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 6m39s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
- createGenerationTask 返回 BatchGenerationTaskResponse {items, total},
之前错误地直接用 res.id(undefined),改为 res.items[0].id
- 后端返回裸 UUID,任务中心 getTask 需要 generation: 前缀,
创建后补前缀再查询;轮询/重试直接用 genTask.id(已带前缀)
- 新增空数组保护,无任务时抛出明确错误