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

Đang mở
#3,276 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
C#
Star
569
Fork
107
Merge trung bình
2 giờ 49 phút
Pull request đã merge (30 ngày)
397

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fluentcms/FluentCMS

Tất cả issue của fluentcms/FluentCMS

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.