Skip to content

修复元数据超时后标题被冻成集 ID - #62

Merged
zj1123581321 merged 6 commits into
mainfrom
card/title-finalize
Aug 23, 2026
Merged

修复元数据超时后标题被冻成集 ID#62
zj1123581321 merged 6 commits into
mainfrom
card/title-finalize

Conversation

@zj1123581321

Copy link
Copy Markdown
Collaborator

范围

第一次 get_metadata 超时后不再立刻用 URL 最后一段/Unknown 冻死标题。下载成功后在 save_cache 前再问一次同一 downloader,把真标题写进缓存。

对应生产:小宇宙单集 6a89b9b7008ed7314d3acdbe 转录成功但结果页标题是集 ID。生产脏数据已单独回填,本 PR 只防再发。

配置 / schema

无。不改 config、缓存表结构。

证据

  • 红验:base 上 test_flow_metadata_retry_before_save_cache 断言失败,标题为 6a89b9b7008ed7314d3acdbe
  • 绿验:uv 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

zj1123581321 and others added 2 commits August 23, 2026 10:48
先锁定 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
@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

Required Gate v2 — 状态面板

当前状态:fail · 要修代码

当前裁决:code_fail / primary_findings

Gate 历史(v1;来源为持久化 gate_terminal 制品)

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 制品重建。

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

⚙️ Review ledger state(机器状态记录,非评审结论)

这是 review ledger 的机器状态记录,不代表评审结论,通常无需任何操作。

机器状态明细
  • Commit: 3fae1512d6c2da4db5f037a2ae1dd3e884ad92e3
  • Round: 6
  • Status / findings: fail / 1
  • Reviewer: codex-sub
  • Comparison: new_head; persistent/resolved/new = 0/1/1

完整数据保存在 codex-review-ledger-v2 artifact;此 sticky comment 仅保存 v2 epoch 的跨 rerun 连续游标。

zj1123581321 and others added 2 commits August 23, 2026 11:08
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
zj1123581321 marked this pull request as ready for review August 23, 2026 03:18
zj1123581321 and others added 2 commits August 23, 2026 11:33
独立 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
@zj1123581321
zj1123581321 merged commit 16b722b into main Aug 23, 2026
7 of 11 checks passed
@zj1123581321
zj1123581321 deleted the card/title-finalize branch August 23, 2026 03:54
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