线上热修 round10:视频倍速 4x(movi 钳制补丁+缓存破环)+ 字幕功能上线上 #40

Merged
zhanghongming merged 1 commits from release/fanyu into dev 2026-10-12 16:08:02 +08:00
Collaborator

内容(commit b64fbe6a,9 文件 +49/−8)

① 三角色视频倍速修复(根因:vendored movi-player 0.4.1 host 元素 getMaxAllowedRate() 硬编码 2,工作台 4/6/8x 档位被静默钳回 2x)

  • dist 本地补丁 2→4(vendor README 记录补丁与新 SHA-256)
  • MOVI_ELEMENT_JS_URL 加 ?v=rate-cap-4-20261012:/vendor/ 一年 immutable 缓存,不加则老浏览器永远拿不到补丁(本次差点漏掉,构建后复查发现)
  • 档位表裁至 [0.5, 1, 1.5, 2, 4](6/8 为死档位,移除)

② 字幕功能上线上(PR #37 已评审内容):无效字幕红底高亮 + 审核页字幕列表 flex 滚动

验证

  • tsc 0 错;前端 631/645 = round9 基线(无新增失败)
  • Edge headless 实测补丁后 dist:6→4 / 4→4 / 2→2 / 0.1→0.25 ALL_PASS
  • 发布记录 playback-rate-round10-20261012(deployed_pending_acceptance);线上容器内复核:dist 含 4x 补丁、chunk 含破环标记、字幕 CSS 在位;0 panic/5xx/slow

Go 零改动(与 round9 digest 3cbdce26 的 Go 层完全一致)。回滚:patch 回 3cbdce26。

## 内容(commit b64fbe6a,9 文件 +49/−8) **① 三角色视频倍速修复(根因:vendored movi-player 0.4.1 host 元素 `getMaxAllowedRate()` 硬编码 2,工作台 4/6/8x 档位被静默钳回 2x)** - dist 本地补丁 2→4(vendor README 记录补丁与新 SHA-256) - `MOVI_ELEMENT_JS_URL` 加 `?v=rate-cap-4-20261012`:/vendor/ 一年 immutable 缓存,不加则老浏览器永远拿不到补丁(本次差点漏掉,构建后复查发现) - 档位表裁至 [0.5, 1, 1.5, 2, 4](6/8 为死档位,移除) **② 字幕功能上线上(PR #37 已评审内容)**:无效字幕红底高亮 + 审核页字幕列表 flex 滚动 ## 验证 - tsc 0 错;前端 631/645 = round9 基线(无新增失败) - Edge headless 实测补丁后 dist:6→4 / 4→4 / 2→2 / 0.1→0.25 ALL_PASS - 发布记录 playback-rate-round10-20261012(deployed_pending_acceptance);线上容器内复核:dist 含 4x 补丁、chunk 含破环标记、字幕 CSS 在位;0 panic/5xx/slow Go 零改动(与 round9 digest 3cbdce26 的 Go 层完全一致)。回滚:patch 回 3cbdce26。
zhanghongming added 1 commit 2026-10-12 16:07:51 +08:00
- movi-player 0.4.1 vendored dist: getMaxAllowedRate() 2 -> 4 (documented in
  vendor README with refreshed SHA-256); the host setter silently clamped the
  workbench speed selector to 2x in the movi branch.
- CAPTURE_PLAYBACK_RATES trimmed to [0.5, 1, 1.5, 2, 4]: 6x/8x options were
  dead (clamped) and are removed instead of shipping fake speeds.
- ReviewCaptions invalid-kind highlight + caption list flex scroll (from dev,
  PR #37) so review/acceptance users get the subtitle readability fixes.
- Test updated to the 5-rate contract; suite back at the 631/645 baseline.
zhanghongming merged commit 68bc5eff8a into dev 2026-10-12 16:08:02 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: longtao.wu/droboticflow#40
No description provided.