修复元数据超时后标题被冻成集 ID - #62
Merged
Merged
Conversation
先锁定 finalize_presentation_metadata 契约及第一次元数据失败后 save_cache 必须写入真标题的 process_transcription 轴测试。 Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: composer-2.5 Agent-Effort: unknown Dispatch-Id: dlg-20260823-024119-f208f4 Task-Id: VideoTranscriptAPI-20260823-01
第一次 get_metadata 失败时不再填 URL basename/Unknown;在 save_cache 前通过 finalize_presentation_metadata 复用同实例补拉并仅填空字段。 Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: composer-2.5 Agent-Effort: unknown Dispatch-Id: dlg-20260823-024119-f208f4 Task-Id: VideoTranscriptAPI-20260823-01
Required Gate v2 — 状态面板当前状态:fail · 要修代码 当前裁决: Gate 历史(v1;来源为持久化
|
| Run | Attempt | Head | 状态 | 收件人动作 |
|---|---|---|---|---|
| 32613972449 | 1 | f1ee994 |
skipped |
无需动作(主审未跑,绿≠过审) |
| 32614628552 | 1 | 39bdfc5 |
skipped |
无需动作(主审未跑,绿≠过审) |
| 32615042335 | 1 | 00ccb80 |
fail |
要修代码 |
| 32615042877 | 1 | 00ccb80 |
skipped |
无需动作(主审未跑,绿≠过审) |
| 32615830980 | 1 | 72bcd57 |
fail |
要修代码 |
| 32616103301 | 1 | 3fae151 |
fail |
要修代码 |
历史行按 run_id + run_attempt 去重并只增不删;删除本评论后可由 gate_terminal 制品重建。
⚙️ Review ledger state(机器状态记录,非评审结论)
机器状态明细
完整数据保存在 |
Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: composer-2.5 Agent-Effort: unknown Dispatch-Id: dlg-20260823-030113-22340c Task-Id: VideoTranscriptAPI-20260823-02
Agent-Executor: kimi Agent-Model: kimi-code/k3-256k Agent-Effort: high Dispatch-Id: dlg-20260823-030951-e75090 Task-Id: VideoTranscriptAPI-20260823-03
zj1123581321
marked this pull request as ready for review
August 23, 2026 03:18
独立 download_url 时优先用平台 metadata_downloader 补拉;缓存部分命中 在组装 handoff_payload 前定稿展示字段。补 separate download_url 流程测试。 Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: composer-2.5 Agent-Effort: unknown Dispatch-Id: dlg-20260823-033133-94f9ed Task-Id: VideoTranscriptAPI-20260823-01
仅接受 strip 后非空的 str 作为 title/author/description;其它类型当空走补拉或 fallback。 Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: composer-2.5 Agent-Effort: unknown Dispatch-Id: dlg-20260823-034136-0bf944 Task-Id: VideoTranscriptAPI-20260823-01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
范围
第一次
get_metadata超时后不再立刻用 URL 最后一段/Unknown 冻死标题。下载成功后在save_cache前再问一次同一 downloader,把真标题写进缓存。对应生产:小宇宙单集
6a89b9b7008ed7314d3acdbe转录成功但结果页标题是集 ID。生产脏数据已单独回填,本 PR 只防再发。配置 / schema
无。不改 config、缓存表结构。
证据
test_flow_metadata_retry_before_save_cache断言失败,标题为6a89b9b7008ed7314d3acdbeuv run pytest tests/unit/test_finalize_presentation_metadata.py tests/features/test_transcription_flow_regression.py tests/unit/test_merge_metadata.py tests/integration/test_failure_status_persistence.py tests/test_metadata_override.py→ 70 passed部署
合并后需部署 n305 才对后续新任务生效。已入库的这条记录不依赖本 PR。
Task-Id: VideoTranscriptAPI-20260823-01