zmuxuny opened a new pull request, #7382:
URL: https://github.com/apache/rocketmq-dashboard/pull/7382

   ### Which Issue(s) This PR Fixes
   
   Fixes #6749. Replaces stale-closed #6753, retaining its original 
implementation and authorship on the current rocketmq-studio baseline.
   
   ### Brief Description
   
   Bind explicit relative --command paths when generating an MCP client 
snippet, so a client launched from another working directory selects the same 
executable. Bare names retain client PATH lookup and absolute paths retain 
their spelling. On POSIX, prefix the generation directory without cleaning 
symlink/.. components; on Windows use native filepath.Abs resolution. No 
credential/configuration contents are read and no executable is launched.
   
   Regressions cover explicit relative paths (including spaces and parent 
components), bare and absolute controls, and symlink-parent semantics. This is 
separate from #6206 MCP command-contract tests and #7372 numeric request IDs.
   
   ### How Did You Test This Change?
   
   Fresh validation on 2026-11-04 at head 
4831f345c4e07786d3b7e1be01b9d91d3d635f9c using official Go 1.27.1 as required 
by go.mod:
   
   - cd rmqctl && go test ./...: PASS, including cmd, internal packages and 
scripts.
   - go test -race ./...: PASS.
   - go vet ./...: PASS.
   - gofmt -l on changed Go files: no output; git diff --check: PASS.
   - Negative control with unchanged trunk production: all three 
explicit-relative cases and the symlink-parent regression fail as expected. 
Restore this exact head: focused regressions/controls PASS.
   - GOOS=windows GOARCH=amd64 go test ./cmd -c: cross-compilation PASS. This 
is compilation only, not execution on Windows.
   
   These are new local results, not the old PR CI. Hosted CI will run for this 
replacement head. No live-cluster or unrelated frontend/backend testing claimed.
   
   ### Checklist
   
   - [x] One coherent change with regression coverage
   - [x] Original implementation and commit authorship retained
   - [x] Changed Go files formatted and ASF header present
   - [x] No API, dependency or workflow changes
   
   AI assistance was used for review and validation; the diff and results were 
checked before submission.


-- 
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]

Reply via email to