feat(ci): P2债务清理 + Production部署门禁(PyJWT升级/死代码清理/生产健康检查) #324

Merged
xiaoxia merged 1 commits from feat/ci-p2-debt-and-prod-gate into develop 2026-07-14 16:57:58 +08:00

1 Commits

Author SHA1 Message Date
CI Bot 6999130237 feat(ci): P2债务清理 + Production部署门禁
CI/CD Pipeline / Unit Tests (pull_request) Successful in 1m27s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 1m56s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 2m26s
CI/CD Pipeline / Build Staging API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Web Image (pull_request) Has been skipped
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m30s
- 升级PyJWT 2.9.0 -> 2.13.0,修复pip-audit扫出的4个CVE
- 清理vulture扫出的5处死代码:
  * templates.py: 移除未使用的GetTemplateUsageUseCase import
  * unified_render_service.py: 移除未使用的apply_chroma_key_if_needed import
  * unified_render_service.py: 移除未使用的parse_stickers_from_config import
  * asset_analyzer.py: 移除extract_frames未使用的max_frames参数
  * generation.py: 移除_download_library_assets未使用的video_extensions参数
- Production部署门禁:
  * deploy-production阶段加checkout(修复通知脚本找不到的问题)
  * 新增Production smoke test健康检查:部署后从外部验证API健康、登录接口、Web前端
  * 健康检查不通过则部署失败,预留回滚接入位置
2026-07-14 16:53:28 +08:00