MemoryStorage.GetStatistics() was returning 0 for blocked_issues and ready_issues in no-db mode. The SQLite implementation correctly calculated these based on dependencies, but the memory store only counted explicit status values. Changes: - Reuse getOpenBlockers() helper for dependency-based blocked count - Calculate ready_issues as open issues with no open blockers - Add tombstone handling (exclude from TotalIssues) - Add AverageLeadTime calculation for parity with SQLite - Add EpicsEligibleForClosure calculation - Add tests for blocked/ready counts, epics, and tombstones 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
37 KiB
37 KiB