[BUG] Team summary cache not refreshed after PTO approval #30
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem: Calendar shows PTO-adjusted capacity for a member, but Summary tab still shows stale pre-approval totals.\n\nRoot cause:\n- PTO approval only invalidated team-member cache keys\n- Team and revenue monthly aggregate cache keys remained stale\n\nFix:\n- Invalidate month-level capacity and revenue caches for all affected months during PTO approval\n- Added feature regression test: 4.1.19 PTO approval invalidates team and revenue caches