Repository navigation
Conversation
…ng selector changes
…istener-namespace-default # Conflicts: # shenyu-admin-listener/shenyu-admin-listener-api/src/main/java/org/apache/shenyu/admin/listener/AbstractNodeDataChangedListener.java
Aias00
left a comment
There was a problem hiding this comment.
Reviewed at head 6fe4ea0. The current effective diff is a focused regression test for null selector namespace fallback; the production listener already uses SYS_DEFAULT_NAMESPACE_ID for null namespaces on the target branch. Verification passed: git diff --check origin/master...HEAD, 0 diagnostics from the available diagnostics backend for the changed test file, and ./mvnw -pl shenyu-admin-listener/shenyu-admin-listener-api -Dtest=AbstractNodeDataChangedListenerTest test. I am not merging because GitHub checks are still in progress / mergeState is BLOCKED.
Aias00
left a comment
There was a problem hiding this comment.
The net diff is a valid regression test, but this head is stale and cannot pass current CI. A fresh rerun still fails compiling shenyu-plugin-mcp-server because ShenyuStreamableHttpServerTransportProvider calls the old three-argument MessageHandlingResult constructor while the current contract requires McpJsonMapper as a fourth argument. Please rebase onto current master, keep the test-only diff, and rerun the required workflows.
…istener-namespace-default
Related to #6875
Background
Master already defaults a selector's null namespace correctly. This PR retains a regression test for publishing such selectors under the system-default namespace rather than a null namespace prefix.
Changes
Verification
Local:
./mvnw.cmd -pl shenyu-admin-listener/shenyu-admin-listener-api -am clean test -Dtest=AbstractNodeDataChangedListenerTest -Dsurefire.failIfNoSpecifiedTests=false— BUILD SUCCESS; 3 tests, 0 failures, 0 errors, 0 skipped. Checkstyle passed.Local:
git diff --check origin/master...HEADpassed.Local:
./mvnw.cmd -pl shenyu-plugin/shenyu-plugin-mcp-server -am compile -DskipTests— BUILD SUCCESS; the previously reported constructor compilation failure is resolved.GitHub checks verified on
14fe046b1: every triggered check has completed successfully; workflow-skipped jobs remain skipped.