bramp / bramp/ffmpeg-cli-wrapper

Handle failures during progress parsing more gracefully

Offen
#333 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement good first issue
Vorherrschende Sprache
Java
Sterne
1.9k
Forks
424
Ø Merge
5 Std. 35 Min.
Gemergte PRs (30 T.)
2

Beschreibung

I propose an option that allows progress parsing failures to be ignored. This way progress parsing can continue in the event of a one-time error that would have otherwise interrupted the parsing thread.

In #302 the progress parsing fails because of an unexpected input ("N/A" instead of a formatted timestamp) in the first progress event. Although #315 fixes this, there can arise other circumstances where parsing can fail. I propose a general solution, to allow these failures to be ignored altogether. In most scenarios the consumer doesn't care if every once in a while an event gets dropped as long as they get notified of the overall progress.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne damit, den Einstiegspunkt der Fortschrittsanalyse und den Options- oder Konfigurationspfad zu finden, der das Verhalten des Parsers steuert. Überprüfe die in #302 beschriebenen Fehler und die Behebung in #315 und reproduziere anschließend einen unerwarteten Fortschrittswert "N/A". Als erledigt gilt, wenn ein konfigurierbares Verhalten zum Ignorieren von Fehlern definiert und demonstriert ist, ohne die Fortschrittsanalyse zu unterbrechen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
cli, tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.