You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reliability: bad cache.schedule terminates the process; a failed refresh takes a populated cache offline; errors leak via /health; rate-limit bypasses #193
From the crew review (caching + pipeline), reported not yet reproduced:
shouldRunScheduledRefresh() runs outside the try in src/heartbeat_worker.cpp ~94; a schedule like 5x throws on the second pass and std::terminate()s. parseInterval accepts 0s and overflows int (src/cache_manager.cpp ~1125).
A failed scheduled refresh marks a populated cache Failed -> 503 for every request though the last snapshot is readable (src/cache_manager.cpp ~109). The raw DuckDB exception is stored and returned by readiness JSON and /health.
Schema/catalog/audit SQL is built without identifier quoting/escaping (cache_manager.cpp ~1059, ~1093; database_manager.cpp ~171).
rollback-window and delete-handling are parsed but never used; compaction schedule is ignored.
Rate limit: user key hashes the raw Authorization header before auth (fresh bucket per invalid token); endpoint lookup is by path only, not method; bucket key includes the literal path (/items/:id).
REST create/update/delete are in-memory only while MCP create/delete persist/remove the YAML; EndpointRepository maps look unsynchronised (src/config_manager.cpp ~2225); debug logging dumps the template context (src/sql_template_processor.cpp ~244); remote --config s3:// cannot boot (VFS provider needs an initialised DatabaseManager).
Activity
Merge pull request #197 from DataZooDE/fix/gh-193-reliability
jrosskopf commentedon Oct 4, 2026
Addressed by #197 (schedule validation, stale-snapshot serving, error-leak removal). The remaining items moved to a new issue.