Recurring review comments: 2 proposed changes
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- developer-experience, tooling
Research direction
This is a meta issue: the header states it is not open for contribution and the work is assigned to the review bot. Each checklist item becomes an AGENTS.md/CLAUDE.md rule or a lint rule, justified by the linked review threads on ricecooker/chefs.py, ricecooker/utils/pipeline/convert.py, ricecooker/utils/videos.py and ricecooker/utils/youtube.py. Start by reading those threads and the current AGENTS.md to see which rules already exist; done means each proposed rule is either landing as a documented or linted check, or is declined with a comment here.
Written by the indexing model from the issue text.
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.
- https://github.com/learningequality/ricecooker/pull/795#discussion_r4116387394 (#795,
ricecooker/chefs.py) - https://github.com/learningequality/ricecooker/pull/795#discussion_r4126813667 (#795,
ricecooker/utils/pipeline/convert.py) - https://github.com/learningequality/ricecooker/pull/795#discussion_r4116387402 (#795,
ricecooker/utils/pipeline/__init__.py) - https://github.com/learningequality/ricecooker/pull/795#discussion_r4116387389 (#795,
ricecooker/chefs.py) - https://github.com/learningequality/ricecooker/pull/795#discussion_r4116387423 (#795,
ricecooker/utils/zip.py) - https://github.com/learningequality/ricecooker/pull/789#discussion_r4116416766 (#789,
ricecooker/classes/files.py) - https://github.com/learningequality/ricecooker/pull/721#discussion_r4089245062 (#721,
ricecooker/utils/pipeline/convert.py) - https://github.com/learningequality/ricecooker/pull/721#discussion_r4089718450 (#721,
ricecooker/classes/nodes.py) - https://github.com/learningequality/ricecooker/pull/772#discussion_r4116385457 (#772,
ricecooker/utils/qti/exercises.py) - https://github.com/learningequality/ricecooker/pull/864#discussion_r4296605828 (#864,
tests/test_pdfutils.py) - https://github.com/learningequality/ricecooker/pull/864#discussion_r4298930451 (#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.
- https://github.com/learningequality/ricecooker/pull/799#discussion_r4126811842 (#799,
ricecooker/utils/videos.py) - https://github.com/learningequality/ricecooker/pull/799#discussion_r4126811835 (#799,
ricecooker/utils/videos.py) - https://github.com/learningequality/ricecooker/pull/865#discussion_r4288135215 (#865,
ricecooker/utils/youtube.py) - https://github.com/learningequality/ricecooker/pull/795#discussion_r4126813675 (#795,
ricecooker/utils/videos.py)
- Dominant language
- Python
- Stars
- 33
- Forks
- 83
- Avg merge
- 5d 16h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from learningequality/ricecooker
-
bug TAG: unit tests
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
learningequality/ricecooker#898 ·
-
dependencies python TAG: tech update / debt
Difficulty 4/5 3-5 days Newbie friendliness 55/100
learningequality/ricecooker#899 ·
-
TAG: tech update / debt
Difficulty 3/5 1-2 days Newbie friendliness 1/100
learningequality/ricecooker#891 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
learningequality/ricecooker#890 · 4 comments ·
-
P0 - critical TAG: tech update / debt
Difficulty 4/5 3-5 days Newbie friendliness 25/100
learningequality/ricecooker#745 ·
All issues in learningequality/ricecooker
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
jxxghp/MoviePilot#7699 ·
Maintainers usually reply within 1 day
-
next
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
j3ko/agent-plugins#80 ·
Maintainers usually reply within 1 day
-
bug:unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Heroic-Games-Launcher/HeroicGamesLauncher#6187 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
BCStudentSoftwareDevTeam/cas#491 ·
Maintainers usually reply within 8 days
-
task
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1285 ·
Maintainers usually reply within 2 days