Repository navigation
Description
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Reviewers keep making these points on PRs to this repo, each on 3+ PRs by 2+ authors, or by the bot alone, in the last 90 days, people and not only the review bot on 2+ of them. Each proposes an AGENTS.md or CLAUDE.md rule, a lint rule, or both, that would have prevented them. Assigned to the bot, each rule ships only once agents are measured to make the mistake without it and stop with it.
Acceptance criteria
Each change is made, or declined in a comment here.
- Don't silently change what a chef asked for
- Bound every subprocess and clean it up
Proposed changes
Don't silently change what a chef asked for (5 PRs, 1 authors)
Rule: Chef-facing behaviour changes must be opt-in or listed under Chef-facing changes: --no-compress disables all re-encoding, already-compliant media passes through unchanged, explicit chef fields (title, entry, kind) win over inferred ones, and dropped resources are warned about.
- Compress media by default and give legacy File classes pipeline behaviour #795 (comment) (Compress media by default and give legacy File classes pipeline behaviour #795,
ricecooker/chefs.py) - Compress media by default and give legacy File classes pipeline behaviour #795 (comment) (Compress media by default and give legacy File classes pipeline behaviour #795,
ricecooker/utils/pipeline/convert.py) - Compress media by default and give legacy File classes pipeline behaviour #795 (comment) (Compress media by default and give legacy File classes pipeline behaviour #795,
ricecooker/utils/pipeline/__init__.py) - Compress media by default and give legacy File classes pipeline behaviour #795 (comment) (Compress media by default and give legacy File classes pipeline behaviour #795,
ricecooker/chefs.py) - Compress media by default and give legacy File classes pipeline behaviour #795 (comment) (Compress media by default and give legacy File classes pipeline behaviour #795,
ricecooker/utils/zip.py) - Convert subtitles to their declared format and validate PDFs with poppler #789 (comment) (Convert subtitles to their declared format and validate PDFs with poppler #789,
ricecooker/classes/files.py) - Decompose IMS Content Packages (incl. SCORM) into a native node subtree (#332) #721 (comment) (Decompose IMS Content Packages (incl. SCORM) into a native node subtree (#332) #721,
ricecooker/utils/pipeline/convert.py) - Decompose IMS Content Packages (incl. SCORM) into a native node subtree (#332) #721 (comment) (Decompose IMS Content Packages (incl. SCORM) into a native node subtree (#332) #721,
ricecooker/classes/nodes.py) - Convert QTI 2.1 and 2.2 packages to QTI 3.0 on ingest #772 (comment) (Convert QTI 2.1 and 2.2 packages to QTI 3.0 on ingest #772,
ricecooker/utils/qti/exercises.py) - Make the Python test matrix reliable #864 (comment) (Make the Python test matrix reliable #864,
tests/test_pdfutils.py) - Make the Python test matrix reliable #864 (comment) (Make the Python test matrix reliable #864,
ricecooker/utils/pdf.py)
Bound every subprocess and clean it up (3 PRs, 1 authors)
Rule: Every ffmpeg/ffprobe call, including ones yt-dlp spawns, needs a timeout, stdin=subprocess.DEVNULL, and a kill on any exception with bounded post-kill waits.
- Kill hung ffmpeg, ffprobe and pandoc calls and fail only that file #799 (comment) (Kill hung ffmpeg, ffprobe and pandoc calls and fail only that file #799,
ricecooker/utils/videos.py) - Kill hung ffmpeg, ffprobe and pandoc calls and fail only that file #799 (comment) (Kill hung ffmpeg, ffprobe and pandoc calls and fail only that file #799,
ricecooker/utils/videos.py) - Bound yt-dlp's ffmpeg runs with the stall watchdog #865 (comment) (Bound yt-dlp's ffmpeg runs with the stall watchdog #865,
ricecooker/utils/youtube.py) - Compress media by default and give legacy File classes pipeline behaviour #795 (comment) (Compress media by default and give legacy File classes pipeline behaviour #795,
ricecooker/utils/videos.py)

Activity