5c864d8971
Preview Deploy / Deploy Preview Environment (pull_request) Failing after 16s
AI Code Review / AI Code Review (pull_request) Failing after 28s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 7m19s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 10m4s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 17s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 1394h3m2s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1394h7m31s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 1394h7m33s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1394h7m33s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1394h7m33s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 1394h7m35s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 1394h7m35s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 1394h7m37s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 1394h7m38s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 1394h7m38s
CI/CD Pipeline / Check if frontend-only change (pull_request) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been skipped
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 1394h39m43s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1394h39m41s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1394h39m43s
- EditTemplateService 新增模板草稿方法: get/create/get_or_create/publish
- 新增 /templates/{template_id}/editor/ 路由前缀,7个核心端点
- 内部复用 EditPlanService,不复制业务逻辑
- 草稿通过 config.is_template_draft=True 标记,不新增表
- 发布使用事务保证 config + clips 同步一致
- 新增8个单元测试覆盖草稿/发布核心逻辑
xiaoxia-saas API
结构
app/core/:配置与基础能力app/api/:路由组织app/schemas/:请求响应模型app/dependencies.py:依赖注入入口main.py:FastAPI 启动入口
当前可用接口
GET /api/healthGET /api/projects?workspace_id=...POST /api/projects