Loyal-Young opened a new pull request, #7060: URL: https://github.com/apache/rocketmq-dashboard/pull/7060
## Summary - Restore the caller's working directory and process-level Go target, CGO flag, and `Path` after the native Windows build, including when build or tests fail. - Extend the existing Windows integration test so it invokes the script within one PowerShell session and checks shell state afterward. Fixes #7059. ## Verification - A local PowerShell probe with a mock `go` command passed both the successful build/test path and a simulated `go build` exit 9. It checked exit behavior, shell state, a Chinese output path, and UTF-8 content. - `git diff --check` passed. - A real Go toolchain is unavailable locally, so the Go integration test was not run here; CI will be checked. ## AI assistance I used AI assistance to inspect the script's shell side effects and draft the restoration and test changes. I reviewed the diff and ran the local PowerShell probe. -- 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]
