miroir/crates
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
..
miroir-core P6.2: Fix peer discovery DNS SRV service name and add test 2026-05-23 02:29:28 -04:00
miroir-ctl P3: Phase 3 Task Registry + Persistence — COMPLETE 2026-05-02 16:50:42 -04:00
miroir-proxy P7.1: Core metrics families acceptance tests 2026-05-23 02:29:28 -04:00