feat: Add outbound egress metadata (IP + country)#5886
Conversation
Show egress IP and country information for outbound HTTP tests. The probe reuses the temporary SOCKS route from the existing HTTP test and fetches Cloudflare trace metadata after the reachability check succeeds. The outbound list now adds separate Egress and Country columns, hides egress IPs until the user reveals them, and marks Cloudflare WARP results with an orange cloud pill. Mobile cards keep the same data compact by placing the country and IPv4/IPv6 values on separate lines. Validation: npm run typecheck; npm run lint; npm run build; go test ./internal/web/service/outbound
|
Reviewed the diff and the base-repo source touched by this PR ( 1. High / High confidence / Testing-Reliability 2. High / High confidence / Correctness (undisclosed regression) 3. Medium / High confidence / Correctness-UX 4. Medium / High confidence / Performance 5. Low / High confidence / Accessibility 6. Low / Medium confidence / Correctness Positive observations: Verdict: Request changes — @MHSanaei please take a look. Findings 1 and 2 (a live-network dependency newly introduced into existing unit tests, and an undisclosed removal of the "Real Delay" mode with inconsistent leftovers) should be resolved or at least explained before merge; findings 3-6 are smaller UX/performance/accessibility issues worth addressing alongside. This review was generated automatically. A maintainer may follow up. |
Restore the Real Delay selector and TCP default so the egress metadata change does not remove an existing test mode. Keep HTTP probe tests hermetic by stubbing egress trace lookups, run IPv4 and IPv6 trace fetches concurrently with a shorter diagnostic timeout, scope mobile IP reveal state per row, support keyboard activation for reveal toggles, and treat WARP+ trace values as WARP-like.
|
Good points, thanks. Fixed in the latest push:
Validation run locally:
|

Show egress IP and country information for outbound HTTP tests. The probe reuses the temporary SOCKS route from the existing HTTP test and fetches Cloudflare trace metadata after the reachability check succeeds.
The outbound list now adds separate Egress and Country columns, hides egress IPs until the user reveals them, and marks Cloudflare WARP results with an orange cloud pill. Mobile cards keep the same data compact by placing the country and IPv4/IPv6 values on separate lines.
Validation: npm run typecheck; npm run lint; npm run build; go test ./internal/web/service/outbound