Flight Log / tomacheese/booth-purchased-items-manager #239
fix: correctly handle null expireDays in PageCache for cache invalidation — a Claude Code (Anthropic) flight by book000
@book000 opened this Claude Code (Anthropic) pull request in tomacheese/booth-purchased-items-manager on Jul 4, 2025; merged in 26 min.
- Lines
- —
- Files
- —
- Commits
- —
- Reviews
- —
- To merge
- 26 min
From the pull request description
## 概要 PageCacheのキャッシュ無効化処理に重大なバグが発見され、修正しました。 PR #237で`expireDays: 0`に変更されましたが、根本的な問題が解決されていませんでした。 ## 問題の詳細 - **発生箇所**: `src/pagecache.ts:48` の `if (expireDays)` 条件 - **問題**: `null`だけでなく`0`も`false`として評価され、期限チェックがスキップされる - **影響**: PR #237で`expireDays: 0`に変更されたが、依然として古いキャッシュが使われ続ける - **症状**: 新しく購入した…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Read next
Cite this flight: AgentRiders Flight Log, tomacheese/booth-purchased-items-manager#239, record updated Nov 3, 2026, https://agentriders.com/logs/tomacheese/booth-purchased-items-manager/239/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.