xiaoxia
|
bfe8bfe2da
|
feat(feature-flag): Redis Feature Flag 灰度发布基础设施
CI/CD Pipeline / Staging E2E Tests (push) Failing after 2m35s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1574h14m12s
CI/CD Pipeline / Build Production Runtime Images (push) Failing after 1574h14m16s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 1574h45m48s
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 API Integration Tests (push) Has been skipped
Redis Feature Flag 灰度发布基础设施:白名单+百分比切流+全局开关,热更新,内部管理API
|
2026-07-13 01:11:46 +08:00 |
|
xiaoxia
|
8427bb6852
|
feat(unified-render): Phase 2 - Feature Flag + RenderAdapter 适配层 (#231)
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 27s
CI/CD Pipeline / Build Production Runtime Images (push) Failing after 1579h39m58s
CI/CD Pipeline / Deploy Production (push) Failing after 1579h39m54s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 1579h39m58s
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Failing after 1580h11m26s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1580h11m30s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1580h11m30s
## 统一渲染引擎 Phase 2 - Feature Flag 开关 + 适配层
### 变更内容
1. **Feature Flag 开关**
- API 端 `Settings.RENDER_ENGINE`(默认 `legacy`)
- Worker 端 `WorkerSettings.render_engine`(默认 `legacy`)
- 支持环境变量 `RENDER_ENGINE=unified` 一键切换
2. **RenderAdapter 适配层** (`apps/worker/video_processing/render_adapter.py`)
- EditPlan + EditPlanClips → UnifiedRenderService 输入的完整适配
- 素材自动下载(OSS → 本地路径映射)
- 进度回调对接(ProgressCallback)
- 结果自动上传 OSS
- `validate_plan()` 兼容旧接口,便于灰度切换
3. **compose_video 任务改造**
- 根据 `RENDER_ENGINE` 配置分流到 legacy / unified 路径
- 新引擎结果回写字段对齐(engine/width/height/file_size)
- 错误处理与重试逻辑保持一致
### 测试
- 新增 16 个单元测试:validate_plan(7) + render_plan(6) + download_assets(3)
- 原有 52 个 unified_render_service 测试全部通过
- 合计 **68 个测试全绿**
### 灰度策略
- 默认 `legacy`,不影响现有功能
- 灰度时设置环境变量 `RENDER_ENGINE=unified` 即可切换
- 后续可支持按 plan_id / user_id 灰度(Phase 3)
---------
Co-authored-by: 灵应 <lingying@coze.email>
Reviewed-on: #231
|
2026-07-12 19:43:08 +08:00 |
|
灵应
|
3dcba4c44c
|
fix: 修复Bandit安全扫描硬编码临时目录问题
Deploy / Deploy Staging (push) Failing after 137h5m41s
CI/CD Pipeline / Frontend Lint (push) Failing after 137h5m49s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 137h5m53s
Deploy / Staging E2E Tests (push) Failing after 1795h41m12s
Deploy / Deploy Production (push) Failing after 1795h41m15s
Deploy / Build Production Runtime Images (push) Failing after 1795h41m17s
Deploy / Production Browser E2E (push) Failing after 1796h12m37s
|
2026-07-03 19:48:11 +08:00 |
|
灵应
|
e25fd86171
|
style: 后端代码isort import排序
Deploy / Deploy Staging (push) Failing after 137h58m6s
CI/CD Pipeline / Frontend Lint (push) Failing after 137h58m12s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 137h58m12s
Deploy / Staging E2E Tests (push) Failing after 1796h33m35s
Deploy / Production Browser E2E (push) Failing after 1796h33m37s
Deploy / Deploy Production (push) Failing after 1796h33m40s
Deploy / Build Production Runtime Images (push) Failing after 1796h33m42s
|
2026-07-03 18:56:16 +08:00 |
|
CI Test
|
d6b11ea1cd
|
fix: 清理全局 except:pass(22处)改为 logger.warning 记录异常
Tests / lint (pull_request) Failing after 147h14m3s
Tests / test (pull_request) Failing after 147h14m3s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 147h14m28s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 147h14m34s
Deploy / Deploy Staging (push) Failing after 147h14m58s
CI/CD Pipeline / Frontend Lint (push) Failing after 147h15m21s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 147h15m27s
Deploy / Production Browser E2E (push) Failing after 1805h50m9s
Deploy / Build Production Runtime Images (push) Failing after 1805h50m42s
Deploy / Deploy Production (push) Failing after 1806h21m35s
|
2026-07-03 09:38:57 +08:00 |
|
CI Test
|
43366f290c
|
feat: 实现任务2.10 JobService — 异步任务管理
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 181h43m15s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 181h43m19s
Deploy / Deploy Staging (push) Failing after 181h59m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 181h59m53s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 182h0m0s
Deploy / Production Browser E2E (push) Failing after 1840h35m5s
Deploy / Deploy Production (push) Failing after 1840h35m7s
Deploy / Build Production Runtime Images (push) Failing after 1840h35m9s
- 新增 Job 领域模型(状态机、JobType/JobStatus 枚举)
- 新增 JobRepository 端口 + SQLAlchemy 实现
- 新增 10 个 Use Cases(CreateJob/Submit/Progress/Complete/Fail/Retry/Cancel/Get/List/Statistics)
- 新增 JobService 服务层,集成 VideoComposeService
- 新增 Pydantic schemas + RESTful API 路由
- 新增 Celery compose_video 任务(含进度追踪)
- 新增数据库迁移 018(jobs 表)
- 新增 44 个单元测试,全部通过
- 修复状态转换:允许 pending→success(快速完成场景)
|
2026-07-01 22:54:21 +08:00 |
|