Nightly management command to identify and resolve stuck pending documents

Offen
#459 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
python
Bereich
backend

Rechercherichtung

Start by reading the existing management commands and the document-processing lifecycle to see how pending status, retries, cancellation, and eventual error states are handled. The issue names no files or tests, so locate relevant entry points and tests before making changes. Done means a nightly command retries documents pending for over a day once, then cancels processing if they remain unresolved.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

processing

There are documents that have been in pending status for a long time. We should add a nightly management command that finds any that have been pending for longer than a day. It should try to re-process them once, if that fails to resolve the issue, then cancels processing on them so that they reach their eventual error state.

Vorherrschende Sprache
Python
Sterne
55
Forks
10
Ø Merge
1 T. 13 Std.
Gemergte PRs (30 T.)
22

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus MuckRock/documentcloud

Alle Issues in MuckRock/documentcloud

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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