miroir/crates/miroir-core
jedarden e6cdd05f30 P6.2: Fix peer discovery DNS SRV service name and add test
- Fix SRV lookup to use `_http._tcp` instead of `_miroir._tcp` (matches headless Service port name)
- Add filter to skip empty strings when extracting pod names from SRV targets
- Add test coverage for SRV target pod name extraction
- Add verification script for P6.2 peer discovery metrics

The peer discovery implementation was already complete with:
- Headless Service template (miroir-headless.yaml)
- Downward API env vars (POD_NAME, POD_NAMESPACE, POD_IP) in Deployment
- Background refresh loop in main.rs
- miroir_peer_pod_count metric in middleware.rs

This commit fixes the SRV service name and adds robustness.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 02:29:28 -04:00
..
benches P3: Phase 3 Task Registry + Persistence — COMPLETE 2026-05-02 16:50:42 -04:00
migrations P3.3: Fix Redis migrate to always update schema version 2026-05-20 07:18:57 -04:00
proptest-regressions/task_store P12: close Phase 12 epic — all 6 open problems triaged and documented 2026-04-24 19:14:23 -04:00
src P6.2: Fix peer discovery DNS SRV service name and add test 2026-05-23 02:29:28 -04:00
tests P5.7 §13.7: Complete alias acceptance tests 2026-05-23 01:54:05 -04:00
Cargo.toml P5.7 §13.7: Complete atomic index alias implementation 2026-05-23 02:12:50 -04:00