You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "terrymanu (via GitHub)" <gi...@apache.org> on 2026/07/01 04:44:52 UTC

[PR] Refactor MCP workflow support duplication [shardingsphere]

terrymanu opened a new pull request, #38974:
URL: https://github.com/apache/shardingsphere/pull/38974

   Centralize repeated workflow validation, identifier checks, DistSQL rule query fallback, and MCP error/recovery mapping while preserving existing behavior. Reuse shared helpers across MCP feature planning/validation services and simplify duplicated MCP E2E test setup helpers.
   
   For #35294


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Refactor MCP workflow support duplication [shardingsphere]

Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu merged PR #38974:
URL: https://github.com/apache/shardingsphere/pull/38974


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Refactor MCP workflow support duplication [shardingsphere]

Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu commented on PR #38974:
URL: https://github.com/apache/shardingsphere/pull/38974#issuecomment-4854411102

   ### Summary
   
   **Review Result: Mergeable**
   
   Reviewed only the latest commit: `43fd6caf66b026ab537a7bec3bb7eb693dc4d27f`.
   
   The commit centralizes duplicated MCP workflow validation, identifier checks, DistSQL rule-query fallback, MCP error/recovery mapping, and MCP E2E helper setup. I did not find any behavior-changing blocker.
   
   CI not reviewed by request.
   
   ### Evidence
   
   - Scope: latest commit only, compared with parent `262f148ff537be30dc12ba44bf778f8ea3eb1ecc`.
   - Changed files: 27 files, limited to `mcp` and `test/e2e/mcp`.
   - Reviewed MCP error/recovery mapping order and found it behavior-preserving.
   - Reviewed mandatory vs optional identifier validation and found the previous semantics preserved.
   - Reviewed validation finalization flow and confirmed validation reports are still created only after preconditions pass.
   - Reviewed DistSQL unsupported-query fallback reuse and found it equivalent to the duplicated prior implementations.
   - Reviewed MCP E2E helper extraction and found it test-only and behavior-preserving.
   
   ### Verification
   
   - MCP core/support/features focused unit tests: exit 0, `BUILD SUCCESS`
   - `test/e2e/mcp` test-compile: exit 0, `BUILD SUCCESS`
   - Scoped Checkstyle: exit 0, `BUILD SUCCESS`
   - Scoped Spotless check: exit 0, `BUILD SUCCESS`
   
   ### Review Details
   
   - Review focus: Code Correctness Review.
   - Reviewed scope: latest commit only.
   - Not reviewed: full PR history, GitHub CI/check-runs, Docker-backed E2E runtime execution.
   - CI not reviewed by request.
   - No change requests.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org