fix(knowledge): video-digest cookie-retry pattern 'extracting cookies' is tested only against stderr
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript
- 領域
- backend
調査の方向性
Start in acquire-yt-dlp-auth.js, where COOKIE_PROFILE_RETRY_HINT_PATTERNS is defined, then read spawnFailureDetail in acquire-with-retry.js, which returns only stderr. First confirm with a live yt-dlp run which stream the 'Extracting cookies' line uses. If it is stderr, remove the pattern; if stdout, include it in the cookie-profile detail. Done when a test using captured output proves each pattern can match its input.
索引モデルが issue の本文から書いたものです。
説明
Summary
COOKIE_PROFILE_RETRY_HINT_PATTERNS includes /extracting cookies/i, but the only text it is ever tested against is the failed spawn's stderr. If yt-dlp reports its "Extracting cookies from " progress line on stdout, the pattern can never match, so the entry is dead and gives a false impression that the case is handled.
Failure scenario
Expected: every pattern in the retry-hint list can match text the caller actually passes in.
Actual: spawnFailureDetail returns result.stderr (trimmed), falling back to result.error, then "spawn failed". stdout is never read. The caller passes that detail to isCookieProfileRetryableError.
Unverified: which stream yt-dlp writes that message to. My recollection is that it is an informational line printed on stdout, but I did not confirm it against yt-dlp source or a live run in this session, so the first step of the fix is to check. If it does go to stderr, this issue reduces to the pattern being redundant with the more specific failure messages in the list.
Evidence
- The pattern: https://github.com/melodic-software/claude-code-plugins/blob/7787be41e98e30cd6e3b82e99494886d77e30895/plugins/knowledge/skills/video-digest/extraction/acquisition/acquire-yt-dlp-auth.js#L32
- Detail is stderr only: https://github.com/melodic-software/claude-code-plugins/blob/7787be41e98e30cd6e3b82e99494886d77e30895/plugins/knowledge/skills/video-digest/extraction/acquisition/acquire-with-retry.js#L21
- The only production call site: https://github.com/melodic-software/claude-code-plugins/blob/7787be41e98e30cd6e3b82e99494886d77e30895/plugins/knowledge/skills/video-digest/extraction/acquisition/spawn-yt-dlp-with-auth-fallback.js#L87-L88
Suggested fix
Confirm the stream with a live yt-dlp run against a browser whose cookie store cannot be read. Then either drop the pattern, or, if the message is on stdout and the retry is wanted, include stdout in the detail for the cookie-profile path. Add a test using the real captured output.
Related
- #6816 (browser-cookie fallback)
🤖 Generated with Claude Code
- 主要言語
- Shell
- スター
- 22
- フォーク
- 2
- 平均マージ
- 6時間 58分
- マージ済み PR(30日)
- 951
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
melodic-software/claude-code-plugins のほかの issue
-
priority: medium status: needs-decision work-class: scoped
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
melodic-software/claude-code-plugins#9339 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
pipeline-canary priority: low status: ready work-class: mechanical
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
melodic-software/claude-code-plugins#9263 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue priority: low
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
melodic-software/claude-code-plugins#9251 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: security needs-triage priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
melodic-software/claude-code-plugins#9211 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
melodic-software/claude-code-plugins#9202 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
melodic-software/claude-code-plugins の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
level/task type/enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
wazuh/wazuh-installation-assistant#1177 ·
メンテナーはふだん 1 日以内に返信
-
package-update
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
ComputeCanada/puppet-magic_castle#634 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
AltimateAI/altimate-code#1590 ·
メンテナーはふだん 1 日以内に返信