One slow handler stalls the outbox, and each delivery queries the default locale
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with src/FluentCMS.Core/Events/OutboxDrainer.cs and the worker registration in DependencyInjection/FluentCmsServiceCollectionExtensions.cs; the issue also names EventOperation.cs, JobExecutor.cs, OutboxKick.cs, and OutboxDrainJob.cs. Review the related job store behavior and coordinate with #3282, which changes the same drain. Done means meeting all five acceptance criteria and adding tests for each.
索引モデルが issue の本文から書いたものです。
説明
Problem
- One slow handler stalls every handler. The
outboxqueue has one worker (DependencyInjection/FluentCmsServiceCollectionExtensions.cs:285) and a drain delivers rows one at a time (Events/OutboxDrainer.cs:59-71), so a handler that takes the 60 sDeliveryTimeoutholds back all the others. - Each delivery and each job run queries the default locale.
Events/EventOperation.cs:19-22andJobs/JobExecutor.cs:248-251readSite.DefaultLocaleuncached. - A failed drain suppresses kicks.
Events/OutboxKick.cs:24treats any pending drain job as already queued without looking atRunAt. After a failure the retry is pending in the future (Jobs/JobStore.cs:153-154), so delivery falls back to the every-minute drain for about 7 minutes. - The idle recurring drain writes rows every minute.
Events/OutboxDrainJob.cs:103inserts a job and an attempt row per minute, kept 7 days: about 10,000 of each on an idle instance.
Paths are under src/FluentCMS.Core/.
Proposal
- Deliver in parallel per handler name, keeping order within a handler.
- Read the default locale through the site cache.
- Count only a drain job that is due as already queued.
- Skip the bookkeeping of the recurring drain when nothing is due, or shorten its retention.
Done together with #3282, which changes the same drain.
Acceptance
- A handler that blocks does not delay deliveries to other handlers
- Order within one handler is unchanged
- Delivering a batch reads the default locale once per site
- A kick after a failed drain is delivered without waiting for the recurring drain
- An idle instance does not accumulate drain rows
- Tests for each
Found in the code review of 17 Nov 2026.
- 主要言語
- C#
- スター
- 569
- フォーク
- 107
- 平均マージ
- 2時間 49分
- マージ済み PR(30日)
- 397
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fluentcms/FluentCMS のほかの issue
-
area:host area:operations type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area:build security type:chore
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area:sdk security type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area:content security type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
area:build type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
fluentcms/FluentCMS の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
microsoft/microsoft-ui-reactor#1567 ·
メンテナーはふだん 1 日以内に返信
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
openclaw/openclaw-windows-node#2287 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
kind:ux needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
elsa-workflows/elsa-foundation#4742 ·
メンテナーはふだん 1 日以内に返信
-
priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100