fix(knowledge): drop the dead 'extracting cookies' cookie-retry pattern
Maintainer thường phản hồi trong vòng 1 ngày
Một pull request liên quan đã được merge.
- #8151 của @melodic-automation-lanes — đã merge
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 84/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, shell
- Lĩnh vực
- backend, testing-qa
Hướng nghiên cứu
Bắt đầu với COOKIE_PROFILE_RETRY_HINT_PATTERNS và isCookieProfileRetryableError, sau đó đọc plugins/knowledge/skills/video-digest/extraction/acquisition/acquire-yt-dlp-auth.test.js để xem các trường hợp thử lại cookie hiện có. Chạy scripts/run-test-file.sh plugins/knowledge/skills/video-digest/extraction/acquisition/acquire-yt-dlp-auth.test.js để xác minh hành vi được nhắm mục tiêu. Thay đổi sẵn sàng khi bài kiểm thử được chỉ định bao phủ các trường hợp stderr và stdout và bước kiểm tra mảnh changelog hoàn tất thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Shell
- Star
- 22
- Fork
- 2
- Merge trung bình
- 7 giờ 57 phút
- Pull request đã merge (30 ngày)
- 938
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của melodic-software/claude-code-plugins
-
priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
melodic-software/claude-code-plugins#8831 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: medium status: confirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#8801 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: low status: confirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#8799 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#8730 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
melodic-software/claude-code-plugins#8709 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của melodic-software/claude-code-plugins
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug github_actions security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
DewaldOosthuizen/tech-cheat-sheets-and-notes#388 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Transparent bar text colour falls back to theme colour on animated GIFs and very dark backgroundsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 2 ngày
-
alignment
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
btclib-org/portanode#710 ·
Maintainer thường phản hồi trong vòng 1 ngày