🌱 Deduplicate metrics service lookup and port-forward in e2e steps (#2710)
SendMetricsRequest and withMetricsPortForward duplicated service endpoint discovery and port-forward lifecycle code. Extract shared helpers (getMetricsService, metricsPort, portForward) and rewrite both callers to use them. Port-forward cleanup is deferred to avoid process leaks if waitFor panics. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
P
Predrag Knezevic committed
4988d38df42fac3570e1d6bebc4ad3d6a303a8d6
Parent: ef1a6b1
Committed by GitHub <noreply@github.com>
on 5/19/2026, 11:33:40 AM