fix: flake8 F811 unused reimport + F541 f-string without placeholders
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1573h53m44s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1573h53m46s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1573h53m46s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1573h53m48s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1573h53m48s
CI/CD Pipeline / Validate Code Quality And 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 / Staging API Integration Tests (pull_request) Failing after 1574h25m21s

This commit is contained in:
CI Bot
2026-07-13 01:32:10 +08:00
parent 7cfaeae4de
commit c522e8e7fe
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -255,7 +255,6 @@ def _probe_audio_info(file_path: str) -> dict[str, int]:
text=True,
timeout=10,
)
import json
info = json.loads(result.stdout)
stream = info.get("streams", [{}])[0]
+2 -2
View File
@@ -245,7 +245,7 @@ class CompareRunner:
if not (result.legacy_success and result.unified_success):
result.error = f"Legacy success={result.legacy_success}, Unified success={result.unified_success}"
print(f" ⚠️ 任务未全部成功,跳过对比")
print(" ⚠️ 任务未全部成功,跳过对比")
return result
# 3. 下载视频
@@ -348,7 +348,7 @@ class CompareRunner:
percentage=orig.get("percentage", 0),
whitelist=orig.get("whitelist"),
)
print(f"\n[flag_mode] ✅ 已恢复原始 Feature Flag 配置")
print("\n[flag_mode] ✅ 已恢复原始 Feature Flag 配置")
except Exception as e:
print(f"\n[flag_mode] ❌ 恢复 Feature Flag 失败: {e}")
print(" 请手动检查并恢复 render_engine flag 配置!")