v8.13.0: HTTP Integration Tests + Analytics Optimizations
This release significantly improves test coverage and analytics performance, preventing future production bugs and optimizing dashboard queries.
๐งช HTTP Server Integration Tests (#190)
Zero โ 32 Comprehensive Tests
Created complete test coverage for HTTP server functionality:
- tests/integration/test_http_server_startup.py (8 tests)
- tests/unit/test_fastapi_dependencies.py (11 tests)
- tests/unit/test_storage_interface_compatibility.py (13 tests)
- tests/integration/test_api_with_memory_service.py (+11 tests)
Impact: Would have caught all 3 v8.12.0 production bugs
๐ Analytics Dashboard Optimizations (#186)
High Priority Fixes:
1. Efficient Largest Memories Query
- Added
get_largest_memories(n)method to all storage backends - Uses SQL
ORDER BY LENGTH(content) DESC LIMIT 10 - Queries entire dataset, not just recent 1000
2. Frontend Timezone Bug Fix
- Fixed heatmap calendar showing wrong day-of-week near timezone boundaries
- Parse date components in local timezone instead of UTC
3. Performance Improvements
- Reduced memory sample from 1000โ100 for average size calculation
๐ Documentation (#173)
- Closed MCP Schema Caching issue with comprehensive documentation
- Workaround:
/mcpcommand reconnects server with fresh schema
๐ฏ What's New
- โ 32 new tests covering HTTP server, dependencies, and storage interfaces
- โ
get_largest_memories()storage method (SQLite, Cloudflare, Hybrid) - โ Fixed timezone-aware date parsing in heatmap calendar
- โ Optimized analytics queries for better performance
Full Changelog: CHANGELOG.md