Recurring jobs of an unregistered type keep firing and dead-lettering

Aperta
#3,276 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp

Direzione di ricerca

Start with src/FluentCMS.Core/Jobs/RecurringJobs.cs, especially RecurringJobs.FireDueAsync at the lines cited in the issue, and trace how recurring jobs are registered, scheduled, and retried. The proposal leaves choices open for handling unregistered types and malformed payloads, so confirm the intended behavior with maintainers before implementing. Done means unregistered types create no new jobs and do not consume attempts on instances that do not know them.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:jobs type:bug

Problem

RecurringJobs.FireDueAsync (src/FluentCMS.Core/Jobs/RecurringJobs.cs:54,92) never checks the job registry, and no code removes a recurring row. After a plugin is removed, its per-minute job makes about 1,440 dead-lettered jobs a day, each with activity and outbox rows; an unknown type also burns attempts on an old instance during a rolling deploy.

Proposal

Skip (and log once) or disable recurring rows whose type is unregistered; release unknown types without using an attempt and dead-letter them only after an orphan age; treat bad payloads as non-retryable.

Acceptance

  • A recurring job of an unregistered type makes no new jobs
  • An unknown type does not use attempts on an instance that does not know it

Found in the code review of 17 Nov 2026 (B5).

Lingua principale
C#
Stelle
569
Fork
107
Merge medio
2h 49m
PR unite (30g)
397

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 fluentcms/FluentCMS

Tutte le issue di fluentcms/FluentCMS

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.