Recurring review comments: 2 proposed changes
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- developer-experience, tooling
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
❌ 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)
- Lingua principale
- Python
- Stelle
- 33
- Fork
- 83
- Merge medio
- 5g 16h
- PR unite (30g)
- 5
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 learningequality/ricecooker
-
test_real_pandoc_failure_is_one_path_free_line fails on macOS CI with current Homebrew pandocApertabug TAG: unit tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
learningequality/ricecooker#898 ·
-
dependencies python TAG: tech update / debt
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
learningequality/ricecooker#899 ·
-
TAG: tech update / debt
Difficoltà 3/5 1-2 giorni Idoneità per principianti 1/100
learningequality/ricecooker#891 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
learningequality/ricecooker#890 · 4 commenti ·
-
P0 - critical TAG: tech update / debt
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
learningequality/ricecooker#745 ·
Tutte le issue di learningequality/ricecooker
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
jxxghp/MoviePilot#7699 ·
I maintainer di solito rispondono entro 1 giorno
-
next
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
j3ko/agent-plugins#80 ·
I maintainer di solito rispondono entro 1 giorno
-
bug:unconfirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Heroic-Games-Launcher/HeroicGamesLauncher#6187 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
BCStudentSoftwareDevTeam/cas#491 ·
I maintainer di solito rispondono entro 8 giorni
-
task
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
freelawproject/litigant-portal#1285 ·
I maintainer di solito rispondono entro 2 giorni