Ensures cache stays synchronized with dependency and status changes by calling invalidateBlockedCache() at all mutation points (bd-5qim). Cache invalidation points: - AddDependency: when type is 'blocks' or 'parent-child' - RemoveDependency: when removed dep was 'blocks' or 'parent-child' - UpdateIssue: when status field changes - CloseIssue: always (closed issues don't block) The invalidation strategy is full cache rebuild on any change, which is fast enough (<1ms for 10K issues) and keeps the logic simple. Only 'blocks' and 'parent-child' dependency types affect blocking, so 'relates-to' and other types skip invalidation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
25 KiB
25 KiB