bba8beffef6beee8d35fc1a8cd806b29261e01ac
5 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ec45d71d2c |
fix: 上传素材后视频库立即显示(创建 PROCESSING 状态 Asset) (#1644)
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 7s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 8s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 7s
CI/CD Pipeline / Check push changed paths (push) Successful in 19s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 31s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 52s
CI/CD Pipeline / Build Staging API Image (push) Successful in 45s
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 51s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Successful in 29s
CI/CD Pipeline / Integration Tests (push) Successful in 2m47s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 2m47s
CI/CD Pipeline / Validate - Style (push) Successful in 3m1s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 3m12s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 3m25s
CI/CD Pipeline / CI Gate (pull_request) Successful in 2s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m45s
AI Code Review / AI Code Review (pull_request) Failing after 3m50s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m16s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m31s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 6m28s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 3m24s
CI/CD Pipeline / Validate - Security (push) Successful in 8m20s
CI/CD Pipeline / Staging E2E Tests (push) Successful in 4m16s
CI/CD Pipeline / Unit Tests (push) Successful in 8m54s
CI/CD Pipeline / Build Production Worker Image (push) Successful in 20s
CI/CD Pipeline / Build Production API Image (push) Successful in 22s
CI/CD Pipeline / Build Production Web Image (push) Successful in 2m9s
CI/CD Pipeline / Deploy Production (push) Failing after 11m33s
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Canary Release to Production (push) Failing after 312h17m4s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 312h25m56s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 312h25m59s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 312h26m5s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 312h26m21s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 312h26m24s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 312h26m33s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 312h26m34s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 312h26m35s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 312h26m54s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 312h27m22s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 312h28m1s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 312h27m22s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 312h28m1s
CI/CD Pipeline / Validate - Style (pull_request) Failing after 312h28m3s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 312h28m1s
CI/CD Pipeline / Frontend Lint (push) Failing after 312h28m12s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 312h28m2s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Failing after 312h28m14s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Failing after 312h28m2s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 312h28m14s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 312h28m20s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 312h28m14s
CI/CD Pipeline / PR Build Web Image (push) Failing after 312h28m20s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 312h28m21s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 312h28m15s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 312h28m23s
CI/CD Pipeline / PR Build API Image (push) Failing after 312h28m20s
CI/CD Pipeline / CI Gate (push) Failing after 312h53m37s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 313h0m42s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 313h0m53s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 313h1m45s
CI/CD Pipeline / Validate - Security (pull_request) Failing after 313h2m25s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com> Co-committed-by: xiaoxia <dev@xiaoxiajianji.com> |
||
|
|
1a57878f76 |
chore(backend): Phase 3 清理 — 未使用依赖删除 + pyflakes 警告清零 + 测试文件冗余清理
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1m12s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 2m17s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 1m33s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1559h12m3s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1559h12m3s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1559h12m4s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1559h12m4s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1559h12m4s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1559h43m37s
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
1. 未使用依赖清理:
- 从 requirements-base.txt 移除 cryptography 和 pyOpenSSL
2. pyflakes 警告清零 (apps/ + packages/ + tests/):
- 移除 17 处未使用的 import (F401)
- 修复 26 处未使用的局部变量 (F841):
* 有副作用的赋值转为裸调用
* 无副作用的赋值直接删除
- 修复 1 处未使用的异常变量 (F841)
- 修复 1 处空 except 块
3. 测试文件冗余清理:
- 删除 tests/integration/test_project_management.py (模块级 skip,测试不存在的模块)
- 删除 tests/integration/fixtures/duplication_routes_fixed.py (未被引用)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
||
|
|
52ff2f80ad |
style: apply black formatting to pass CI validation (#126)
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
|
||
|
|
b1f27b0ef6 |
test: 扩展表单上传测试到24个用例
根据灵应的规格补充测试覆盖: - 正常路径(5): 视频/音频/图片上传成功、创建导入任务、响应包含URL - 文件名校验(5): 路径遍历防护、反斜杠处理、空文件名、特殊字符、无扩展名 - 异常路径(8): 不支持文件类型、项目/素材库不存在、存储服务错误、缺少参数 - 多格式支持(3): 多种视频(4种)/音频(5种)/图片(6种)格式 - MIME验证(3): 有效类型、空类型(400)、不支持类型(415) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|
|
16b18dc2fd |
test: 补充表单上传端点单元测试
- 新增 tests/unit/test_form_upload_routes.py,覆盖10个测试场景 - 修复 upload.py 表单参数处理:从 Annotated[Model, Form()] 改为独立 Form() 参数 - 测试覆盖:正常上传成功、缺少文件字段、缺少必填参数、项目/素材库不存在、OSS未配置 - 所有测试通过,与现有 upload/chunked_upload 测试风格保持一致 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |