Datasets:
Download instances/backend-grpc-java-12644/problem_statement.md from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/backend-grpc-java-12644/problem_statement.md
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/instances/backend-grpc-java-12644/problem_statement.md
-
curl -L -o problem_statement.md https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/instances/backend-grpc-java-12644/problem_statement.md
Fix the cross-repository xDS hostname compatibility failure between Istio and grpc-java.
After upgrading an Istio-based proxyless service mesh, grpc-java can fail while processing route configuration for an otherwise valid Kubernetes service hostname. The failure is reported as java.lang.IllegalArgumentException: Invalid pattern/domain name. It occurs when Istio represents a virtual-host domain as an absolute fully qualified domain name, while the equivalent non-absolute form is used as the request hostname.
Reproduction: use Istio to generate the virtual-host domains for a Kubernetes service such as echo.default.svc.cluster.local, pass the generated absolute domain to grpc-java as an xDS virtual-host pattern, and attempt to select that virtual host for the equivalent hostname.
Expected behavior: Istio should be able to emit standards-compliant absolute DNS names, and grpc-java should accept and match the equivalent absolute and non-absolute forms without throwing. Existing exact and wildcard hostname matching, as well as unrelated Istio routing behavior, must not regress. Inspect both repositories and ensure their relevant tests pass.