Skip to content

[bug] SW history-aggregate cache maxEntries:1 造成台銀/MoneyBox 30 天資料互相驅逐 #628

Description

@s123104

摘要

PR 評論盤點 v2 核實(#520 thread):sw.ts L402 的 history-aggregate-cache maxEntries=1,但 route 同時匹配台銀與 MoneyBox 兩個 provider 的 30 天 aggregate——離線切換趨勢圖 provider 時後者必無快取。

修法

maxEntries 調至 ≥2 或依 provider 拆 cache(挑最小方案);補離線雙 provider 切換測試。

驗收標準

離線下兩 provider 趨勢皆可用(e2e 或手動證據);既有 SW 測試綠。

來源

PR #520 review thread(盤點 v2 保留項)。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingseverity:p2Medium-priority work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions