| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-01-10 | Implement relay naughty list feature | DanConwayDev | |
| Add naughty list tracking for relays with persistent infrastructure issues (DNS failures, TLS certificate errors, protocol violations) to reduce log noise and provide better visibility via metrics. Key features: - Classify errors into naughty (persistent) vs transient (temporary) - Track naughty relays with category, reason, and occurrence count - Log WARN on first naughty occurrence, DEBUG on repeats - Automatic expiration after 12 hours (configurable) - Prometheus metrics for monitoring naughty relays by category - Periodic cleanup task integrated with health checker Components added: - src/sync/naughty_list.rs: Core naughty list tracker with error classification - NaughtyListTracker integration in RelayHealthTracker - Connection error handling updates in sync manager - Naughty list metrics (total by category, detailed info per relay) - Config option for naughty_list_expiration_hours (default: 12) Closes DNS lookup failures and TLS certificate errors tracking issues. | |||
| 2025-12-22 | chore: cargo fmt and clippy | DanConwayDev | |
| 2025-12-22 | sync: add req rate-limit detection and cooldown | DanConwayDev | |
| 2025-12-18 | sync: new connection logic | DanConwayDev | |
| 2025-12-11 | fix: resolve all fmt and clippy warnings | DanConwayDev | |
| Main lib (src/): - Add #[allow(dead_code)] for build_info field (stored to prevent Prometheus unregistration) - Add #[allow(dead_code)] for first_seen field (reserved for future rate limiting) - Replace .or_insert_with(RelaySyncNeeds::default) with .or_default() - Replace manual div_ceil implementations with .div_ceil(100) Test code (tests/): - Replace .expect(&format!(...)) with .unwrap_or_else(|_| panic!(...)) - Remove needless borrows in fetch_metrics() calls - Add #[allow(dead_code)] and #[allow(unused_imports)] to test helpers module grasp-audit: - Apply cargo fmt to fix formatting | |||
| 2025-12-11 | sync: add sync_base_backoff_secs config for better testing | DanConwayDev | |
| 2025-12-10 | sync: integrate health tracking and connection storage | DanConwayDev | |
| 2025-12-10 | stub of sync v4 | DanConwayDev | |
| 2025-12-04 | feat(sync): Phase 3 - resilience and health tracking | DanConwayDev | |
| - Add RelayHealthTracker with DashMap - Implement exponential backoff (5s -> 1h max) - Handle dead relays (24h failures -> daily retry) - Add startup jitter to prevent thundering herd - Add NGIT_SYNC_MAX_BACKOFF_SECS config | |||