Recurring review comments: 2 proposed changes

Aperta
#893 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

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.

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.

Lingua principale
Python
Stelle
33
Fork
83
Merge medio
5g 16h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di learningequality/ricecooker

Tutte le issue di learningequality/ricecooker

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.