test: a chapter that could not be read is a listed page state (BUG-2138 step 2)
Independent Staging Quality Gate / validate-python (push) Successful in 10m11s
Independent Staging Quality Gate / validate-frontend (push) Successful in 13m42s
Independent Staging Quality Gate / publish (push) Successful in 3m38s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
This commit is contained in:
2026-11-22 02:15:12 +08:00
co-authored by Claude Opus 5.5
parent 1ac7413135
commit dda885189a
@@ -88,6 +88,10 @@ const ALERT_ALLOWED: Readonly<Record<string, { count: number; why: string }>> =
// 原值: 1 处,「套餐没读到」的一行 form-error。新值: 仍是 1 处,改为列表读不到时的整块状态(带「再试一次」)。原因: BUG-2059。
"src/components/billing-panel.tsx": { count: 1, why: "a list (ledger, redeemed codes, packs) could not be read: a standing page state with 再试一次" },
"src/components/personal-report/personal-report-center.tsx": { count: 1, why: "the list could not be read: page state" },
// 原值: personal-report-markdown-view.tsx had no inline alert
// 新值: one alert, the chapter that could not be read (with 重新加载)
// 原因: BUG-2138 step 2 loads chapters on demand; a failed chapter is a persistent page state, not an action result
"src/components/personal-report/personal-report-markdown-view.tsx": { count: 1, why: "a chapter could not be read: page state" },
"src/components/annual/annual-report-page.tsx": {
count: 3,
why: "not-enough-credits line in the start card, the page load error, the failed run with its restart button",