Storage, jobs, events and settings: follow-ups from reviews

未关闭
#3,611 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
18/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp

调研方向

This is an umbrella list, not one task: start by choosing a single unchecked bullet, for example the plugin-hold timeout from #3586. Read HoldSiteAsync and the hold path that begins with BeginTransactionAsync, then compare it with the FCMS2411 handling and the missing test for ambient TransactionScope/EnlistTransaction. For the #3451 bullet, FluentCmsSurfaceExtensions holds the hard-coded core surface names; check it against the endpoint groups. Done means the chosen bullet has a test or a recorded decision.

由索引模型根据 Issue 内容生成。

描述

area:events area:jobs area:settings area:storage type:chore

Findings of reviews in this area that do not block a merge: a race that needs requests in parallel on one row, a decision the specification still owes, a text, a test. They are kept here as one list and worked off together at the end of a milestone, instead of each as a bug of its own.

A finding becomes a type:bug issue only when it is a security hole, a loss or corruption of data, a wrong answer on an ordinary path, or shown by a failing test or a reproduction. Anything else from a review is added here, as a line or as a link to its issue.

Sorted from the open bugs on 23 Nov 2026.

  • #3562
  • #3553
  • #3560
  • #3558
  • #3588

From the review of #3586 (plugin site hold), 24 Nov 2026:

  • The plugin hold has no lock timeout: each held write begins with a plain BeginTransactionAsync, so behind a queued site deletion it waits to the command timeout and answers 500, not FCMS2411. From reading.
  • HoldSiteAsync documents ascending order over several sites but does not enforce it.
  • SearchStore.SaveAsync holds only for rows it adds: a row whose site changes from none to a site is saved without a hold.
  • ContentTableReaches exempts whole types (MediaService, McpInstructionService, McpPromptService, SiteHostService, PluginDbContext); exempt only the transaction calls, or route them through one helper.
  • WebhookDeliveryJob.ClaimAsync checks the webhook row, not the site: queued attempts of a deleted site's webhooks can still send until DeletedSiteWebhooks runs. Older than #3586.
  • No test for HoldSiteAsync under an ambient TransactionScope or EnlistTransaction.

From the review of #3451 (public hosting seam), 24 Nov 2026:

  • The list of core surface names in FluentCmsSurfaceExtensions is hard-coded and can drift from the endpoint groups.
  • Plain and directly requested .br/.gz admin files, the EndpointBuilder overloads and the refusal of the names members, connect and account are tested only through the admin or not at all.
主要语言
C#
星标
567
派生
107
平均合并
2 小时 35 分钟
30 天内合并 PR
425

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fluentcms/FluentCMS 的其他 Issue

查看 fluentcms/FluentCMS 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。