Repository navigation
分享页有卡片时输出 X 大图 Open Graph 标签 - #257
Merged
Merged
Conversation
无卡时 head 与现状一致,不输出 twitter:card / og:image。 Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: cursor-grok-4.6-high Agent-Effort: unknown Dispatch-Id: dlg-20261016-050109-9e5512 Task-Id: VideoTranscriptAPI-20261016-06
Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: cursor-grok-4.6-high Agent-Effort: unknown Dispatch-Id: dlg-20261016-050109-9e5512 Task-Id: VideoTranscriptAPI-20261016-06
zj1123581321
marked this pull request as ready for review
October 16, 2026 05:27
Required Gate v2 — 状态面板当前状态:pass · 可合并 当前裁决: PR 累计主审轮(影子):
Gate 历史(v1;来源为持久化
|
| Run | Attempt | Head | 状态 | PR 累计主审轮(影子) | 收件人动作 |
|---|---|---|---|---|---|
| 38855066327 | 1 | 210d6ba |
skipped |
— |
无需动作(主审未跑,绿≠过审) |
| 38855883963 | 1 | 210d6ba |
pass |
1/5 · collecting |
可合并 |
历史行按 run_id + run_attempt 去重并只增不删;删除本评论后可由 gate_terminal 制品重建。
Merged
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.
Summary
/view/{view_token}在任务缓存有合规llm_share_card.json时输出twitter:card=summary_large_image、og:image(带?v=<mtime_ns>)、宽高与twitter:image:alt,并把og:description换成第一条要点。og:description保持原文案;base.html新 block 默认为空,processing / error / cleaned /?page=导出页不受影响。tests/og_card/test_view_meta.py(TestClient + BeautifulSoup)覆盖有卡、无卡、转义、mtime 与导出页。Test plan
uv run --frozen pytest -q tests/og_card(58 passed)TMPDIR=/tmp/vta-og-meta-suite make test(全量绿)|safe拆属性,均为 AssertionError 后已还原Made with Cursor