fix(knowledge): drop the dead 'extracting cookies' cookie-retry pattern
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 84/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, shell
- Ambito
- backend, testing-qa
Direzione di ricerca
Inizia con COOKIE_PROFILE_RETRY_HINT_PATTERNS e isCookieProfileRetryableError, poi leggi plugins/knowledge/skills/video-digest/extraction/acquisition/acquire-yt-dlp-auth.test.js per i casi esistenti di retry dei cookie. Esegui scripts/run-test-file.sh plugins/knowledge/skills/video-digest/extraction/acquisition/acquire-yt-dlp-auth.test.js per verificare il comportamento specifico. La modifica è pronta quando il test indicato copre i casi di stderr e stdout e il controllo del frammento del changelog passa.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Refs: #6981
Agent Brief
Type: Bug
Summary: Remove /extracting cookies/i from the cookie-profile retry hints and pin the real yt-dlp failure text in a test.
Current behavior:
COOKIE_PROFILE_RETRY_HINT_PATTERNS includes /extracting cookies/i, but the detail it is matched against is the failed spawn's stderr only. yt-dlp 2026.08.19 prints Extracting cookies from <browser> on stdout, so the pattern never matches. The failure for an unreadable profile arrives on stderr as ERROR: could not find chrome cookies database in "<path>", which /could not find .* cookies/i already matches.
Desired behavior:
- The retry-hint list holds only patterns that can match stderr text;
/extracting cookies/iis gone. - A missing-profile failure still advances to the next browser profile.
- The detail stays stderr-first; stdout is not added to it.
Key interfaces:
COOKIE_PROFILE_RETRY_HINT_PATTERNS(exported list).isCookieProfileRetryableError(detail, errorPatterns): same signature and results for every remaining pattern.
Acceptance criteria:
- The diff removes
/extracting cookies/iand no other pattern. - A test asserts
isCookieProfileRetryableErrorreturns true for the captured stderrERROR: could not find chrome cookies database in "/tmp/noprofile". - A test asserts it returns false for the stdout line
Extracting cookies from chromealone. -
scripts/run-test-file.sh plugins/knowledge/skills/video-digest/extraction/acquisition/acquire-yt-dlp-auth.test.jspasses. - A knowledge changelog fragment is added and
scripts/check-changelog-fragments.shpasses.
Out of scope:
spawnFailureDetail()and the spawn wrapper.- The browser profile order and the bot-challenge patterns.
- Re-verifying against other yt-dlp versions.
This was generated by AI during backlog shaping. Split from #6981; the owner approved filing it in an attended backlog-shaping session on 2026-10-18.
- Lingua principale
- Shell
- Stelle
- 22
- Fork
- 2
- Merge medio
- 8h 41m
- PR unite (30g)
- 892
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di melodic-software/claude-code-plugins
-
good first issue needs-human priority: low work-class: mechanical
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
melodic-software/claude-code-plugins#8023 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-human work-class: mechanical
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
melodic-software/claude-code-plugins#8021 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-human work-class: scoped
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
melodic-software/claude-code-plugins#8018 ·
I maintainer di solito rispondono entro 1 giorno
-
docs(planning): point the interview surface context at the surface README instead of restating itApertaneeds-human work-class: mechanical
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
melodic-software/claude-code-plugins#8015 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-human work-class: mechanical
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
melodic-software/claude-code-plugins#8004 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di melodic-software/claude-code-plugins
Issue simili
-
gdsa opencode: keep-alive cleanup trap fails with 'keepalive_pid: unbound variable'Forse già presa @darribas l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
-
icon request
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100