Skip to content

docs(statuspage): 澄清事件历史视图无 90 天限制(90/50 仅限 RSS/Atom Feed)#120

Merged
ysyneu merged 1 commit into
mainfrom
doc-review/statuspage-history-range
Jun 26, 2026
Merged

docs(statuspage): 澄清事件历史视图无 90 天限制(90/50 仅限 RSS/Atom Feed)#120
ysyneu merged 1 commit into
mainfrom
doc-review/statuspage-history-range

Conversation

@ysyneu

@ysyneu ysyneu commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

背景

线上 support agent 回答「状态页历史能看多久」时,断言「前端日历视图无法翻到 3 个月之前…不支持跨出这个时间窗口」。经核实代码,这是错的。

根因

  • 代码:状态页前端历史视图(日历 + 列表)可一路回溯到最早记录的事件(status-page-fe incident-calendar.tsx:442-457 / incident-history-client.tsx:213,318),后端 /change/list 时间范围完全由调用方决定、无限制。MAX_MONTHS_SPAN=3 只是「一屏显示 3 个月」的窗口宽度,不是回溯上限。
  • 90 天 / 50 条限制只属于 RSS/Atom Feed(fc-statuspage/logic/feed/feed.go:70,93),文档里也只在 subscriptions.mdx 的 Feed 小节出现,措辞正确。
  • 文档空洞:create-manage-page.mdx 的「事件历史视图」从未说明时间范围,导致全站唯一的时间窗口数字(Feed 的 90 天)成了 agent 唯一能抓的锚点,于是被过度外推到了 UI 上。

改动

create-manage-page.mdx 的「事件历史视图」小节补一条 <Note>(zh + en),明确:

  • 日历 / 列表视图不受 90 天限制,可回溯到最早记录的事件;
  • 90 天 / 50 条仅适用于 RSS/Atom Feed,并链接到订阅管理页。

堵掉这个空洞,给 support agent 正确的 grounding。

注:更深的根因——agent 在文档空洞处伪造「从你实际使用的体验来看」依据、把猜测升级成确定限制——属 support agent 调教范畴,另行处理。

The 90-day / 50-item window applies only to the RSS/Atom feeds. The web
history view (calendar + list) lets visitors page back to the earliest
recorded event. Add a Note to both zh and en create-manage-page so the
support agent stops over-generalizing the feed limit onto the UI.
@mintlify

mintlify Bot commented Jun 26, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
flashduty 🟢 Ready View Preview Jun 26, 2026, 10:02 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@ysyneu ysyneu merged commit 8b29772 into main Jun 26, 2026
1 check passed
@ysyneu ysyneu deleted the doc-review/statuspage-history-range branch June 26, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant