AlinsRan opened a new pull request, #2905: URL: https://github.com/apache/apisix-ingress-controller/pull/2905
Deleting a Gateway currently clears the entire cached snapshot of its GatewayProxy and immediately pushes an empty configuration. When several Gateways share a GatewayProxy, this deletes unrelated routes, certificates, and proxy plugins. In the conformance suite, cleanup from HTTPRouteHostnameIntersection can remove the newly created invalid-backend route, causing HTTPRouteInvalidBackendRefUnknownKind to return 404 even though its translation and sync succeeded. Restrict Gateway deletion to its own SSL resources and immediately sync the remaining snapshot under the existing per-config sync lock. Retract stale route configuration when the parent Gateway is missing, while preserving configuration if GatewayClass ownership cannot be resolved. Restore the three invalid-backend Core conformance tests and document the remaining listener and data plane isolation exclusions. Validation: - Regression test fails on the original provider implementation and passes with the fix. - `go test -race ./internal/controller ./internal/provider/apisix ./internal/adc/cache ./internal/adc/translator` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
