修复 Windows MCP 连接拒绝分类并补充 CI 回归 (#805)

This commit is contained in:
tsuixl
2026-10-05 07:44:11 +08:00
committed by GitHub
parent 189a4b95ac
commit 066ecaae7d
5 changed files with 66 additions and 2 deletions
+6
View File
@@ -81,6 +81,12 @@ jobs:
if: runner.os == 'Windows'
run: go test -run '^$' ./...
# These checks use in-memory errors and loopback test servers. Run
# the native Winsock refusal case rather than only compiling it.
- name: Windows MCP health
if: runner.os == 'Windows'
run: go test -v -count=1 -timeout 2m ./internal/library -run '^(TestNetHealth|TestCheckHTTP)$'
# Usage isolates USERPROFILE and the agent homes; execute its native
# ChangeTime checks rather than only cross-compiling the Windows API.
- name: Windows usage cache