style: auto-format with black + isort + prettier [skip ci-format-check]
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 1m4s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 2m33s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 2m39s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 1m58s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m28s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 4m34s
CI/CD Pipeline / Validate - Code Quality (pull_request) Successful in 5m34s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 3m49s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 3m49s
AI Code Review / AI Code Review (pull_request) Successful in 7m9s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m44s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 6m37s
CI/CD Pipeline / CI Gate (pull_request) Successful in 5s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 57s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 57s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 766h23m26s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 766h23m29s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 766h23m27s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 766h29m33s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 766h23m27s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 766h29m37s
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 766h30m3s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 766h23m28s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 766h30m7s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 766h30m9s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 766h32m40s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 766h32m42s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 766h57m1s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 767h3m7s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 767h3m37s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 767h6m10s

This commit is contained in:
CI Bot
2026-08-15 08:53:56 +00:00
parent 8f1e03ba4c
commit be6bc7dacb
2 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -13,8 +13,8 @@
from __future__ import annotations
import logging
import json
import logging
import os
import tempfile
import time
@@ -1192,8 +1192,7 @@ def _render_video(
title_cfg["text"] = title_text
title_cfg["enabled"] = True
# 合并样式字段(用户指定 > 模板默认)
style_keys = ["font", "font_size", "font_color", "position",
"bold", "stroke", "shadow", "font_preset"]
style_keys = ["font", "font_size", "font_color", "position", "bold", "stroke", "shadow", "font_preset"]
for key in style_keys:
if key in parsed_config and parsed_config[key] is not None:
# 前端字段名映射到 ASS 字段名
+2 -2
View File
@@ -2,6 +2,7 @@
验证预览 API 的 title_config 字段和 Worker 的标题配置解析逻辑。
"""
from __future__ import annotations
import json
@@ -146,8 +147,7 @@ class TestWorkerTitleConfigParsing:
"font_preset": "思源黑体",
}
style_keys = ["font", "font_size", "font_color", "position",
"bold", "stroke", "shadow", "font_preset"]
style_keys = ["font", "font_size", "font_color", "position", "bold", "stroke", "shadow", "font_preset"]
title_cfg = {}
for key in style_keys:
if key in config and config[key] is not None: