Skip to content

fix: VideoTranscript v3.0.2 — 修复三轮深度复查确认的 10 项全栈缺陷 - #3

Merged
roclee2692 merged 1 commit into
mainfrom
fix/v3.0.2-deep-audit-fixes
Dec 4, 2026
Merged

roclee2692 merged 1 commit into
mainfrom
fix/v3.0.2-deep-audit-fixes

Conversation

@roclee2692

Copy link
Copy Markdown
Owner

修复清单(v3.0.2)

本次 PR 完整修复了三轮深度代码审计与复现脚本确认的 10 个真实 Bug,并补齐各端回归测试:

  1. Android 左滑删除孤儿缓存与文件泄漏:新增 HistoryRepository.purgeSnapshotArtifacts,在 MainActivity 撤销提示条超时消失或连续删除覆写时清理 durableStore 字幕文件及无引用的评论/分析缓存行(已加回归测试)。
  2. Android 清空全部历史残留内存态:clearAllHistory() 同步清空 currentTranscript、currentVideoContext、currentAnalysis、multiVideoBundlePreview 与 pendingUndoSnapshot。
  3. Android 详情页操作同步刷新 LRU:copyTranscriptText、sendToAi、shareFileToAi、exportChunkedTranscript 均触发 markUsed。
  4. Web & 扩展补齐分组分配闭环:资料库卡片新增单条“分组”分配菜单,多选栏新增“批量移入分组”。
  5. Web & 扩展交互与 LRU 状态修复:解耦标题点击与勾选框 <label>;单删同步清理 selectedIds 与 activeRecord;引入 deriveRecordStatus 同步更新 recordStatus,修复取消收藏后仍受 LRU 保护的问题(已加回归测试)。
  6. Web 轮询死循环 & 扩展内联 JSON 导入:轮询检查 !stResp.ok 避免 404/500 死循环并先清旧定时器;文件选择器重置 value;扩展用内联文件+文本框面板替代 window.prompt();导入记录通过 normalizeImportedRecord 兜底缺失数组字段。
  7. 扩展 B站 412 降级 & Web auth_required 提示:getBiliMixinKey() 防 HTML 响应崩溃;Web 端识别 /api/health 的 auth_required 并清晰引导填写 ACCESS_TOKEN。
  8. 后端中文粘连分享文案与 B站 av 号修复:url_guard.py 收紧为纯 ASCII URL 正则;extract_bilibili 兼容 av 号(已加回归测试)。
  9. 后端并发限流与 CORS_ORIGINS 去空格:增加 MAX_CONCURRENT_TASKS(默认 3,超限返回 HTTP 429)与配置项 .strip()(已加回归测试)。
  10. 自部署文档修正:更新 docs/SELF_HOSTING.md 非 root 容器内 yt-dlp 升级命令。

…/Extension collections/polling/import, and Backend share-copy/av/concurrency
@roclee2692
roclee2692 merged commit 2e59633 into main Dec 4, 2026
4 checks passed
@roclee2692
roclee2692 deleted the fix/v3.0.2-deep-audit-fixes branch December 4, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant