README Dev Note #24's StatsModel invalidation caller list is missing an 8th caller (documentation gap, behavior is correct) #92

Open
opened 2026-09-01 00:08:20 -04:00 by jared · 0 comments
Owner

Severity: Low / docs

README.md Developer Notes #24 lists 7 callers of StatsModel::invalidateCache(). Confirmed via exhaustive trace that api/ticket_status_api.php (the Bearer API's status-change endpoint) also correctly calls invalidateCache(), but isn't in the README's list.

Behavior itself is correct — no actual stats-staleness bug, this is purely a documentation completeness gap. Worth updating the README's caller list so it stays an accurate reference for future maintainers deciding whether a new mutating path needs to add the same call.

Fix: Add api/ticket_status_api.php to the "Callers:" list in README.md Dev Note #24.

**Severity:** Low / docs README.md Developer Notes #24 lists 7 callers of `StatsModel::invalidateCache()`. Confirmed via exhaustive trace that `api/ticket_status_api.php` (the Bearer API's status-change endpoint) also correctly calls `invalidateCache()`, but isn't in the README's list. Behavior itself is correct — no actual stats-staleness bug, this is purely a documentation completeness gap. Worth updating the README's caller list so it stays an accurate reference for future maintainers deciding whether a new mutating path needs to add the same call. **Fix:** Add `api/ticket_status_api.php` to the "Callers:" list in README.md Dev Note #24.
jared added the documentationpriority/low labels 2026-09-08 10:15:49 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/tinker_tickets#92