Commit Graph

5 Commits

Author SHA1 Message Date
CI Bot 19edd9aa85 feat(ci): 代码质量深度加固 - mypy/ruff/vulture 接入
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 35s
CI/CD Pipeline / Integration Tests (pull_request) Has been cancelled
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1533h49m24s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1533h49m25s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1533h49m25s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 1533h49m27s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1533h49m26s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 1533h49m27s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 1533h49m27s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 1533h49m27s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 1533h49m27s
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1534h21m3s
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 1534h21m5s
- ruff 替换 flake8:增加 bugbear/pyupgrade/simplify/return 等规则集
  * 自动修复34个问题(未使用import/格式等)
  * 手动修复10个F841未使用变量 + 2个E722裸except
- mypy 类型检查:告警模式接入Validate,不阻断CI
  * 检查范围:apps/api/app + packages核心业务代码
  * 配置:ignore-missing-imports + explicit-package-bases
- vulture 死代码扫描升级:
  * 置信度阈值从80%降到70%,输出更多参考
  * 按size排序,便于人工审查高价值条目
  * 告警模式不阻断CI
- 新增 pyproject.toml:ruff 集中配置
- 修复F841未使用变量(10处)+ E722裸except(2处)
2026-07-14 17:38:13 +08:00
xiaoxia ad671d94c5 fix(voice-clone): source_audio_url 不做预签名转换,原样返回用户输入
CI/CD Pipeline / Production Browser E2E (push) Failing after 1603h36m49s
CI/CD Pipeline / Deploy Production (push) Failing after 1603h36m52s
CI/CD Pipeline / Build Production Runtime Images (push) Failing after 1603h36m54s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Has been skipped
fix(voice-clone): source_audio_url 不做预签名转换,原样返回用户输入
2026-07-11 19:50:30 +08:00
xiaoxia 759c23c418 feat(ci): 覆盖率门禁+CI失败通知
feat(ci): 覆盖率门禁加固 + CI失败通知
- unit test 覆盖率门禁 60%
- integration test 覆盖率门禁 65%
- 覆盖率汇总输出(行/分支覆盖率)
- CI失败飞书卡片通知(CI_NOTIFY_WEBHOOK)
- Build summary 输出总覆盖率
2026-07-11 15:05:50 +08:00
xiaoxia 1e840057cb fix(ci): 修复 Validate job
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 1m20s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1608h44m54s
CI/CD Pipeline / Build Production Runtime Images (push) Failing after 1608h44m58s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 1608h44m58s
CI/CD Pipeline / Deploy Production (push) Failing after 1608h44m56s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1608h44m56s
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1609h16m30s
fix(ci): 修复 Validate job — black 格式化 + isort 排序 + .cache 排除 + celery mock 路径修复
2026-07-11 14:42:53 +08:00
Xiaoxia AI bfbaddbd9a style: normalize python formatting gates 2026-06-21 06:52:19 +08:00