ci: fix discovery response parsing (#1016)
This commit is contained in:
parent
dd11e5be99
commit
8ee9ee68f1
1 changed files with 1 additions and 4 deletions
5
.github/workflows/conformance.yml
vendored
5
.github/workflows/conformance.yml
vendored
|
|
@ -97,8 +97,6 @@ jobs:
|
|||
-H "Mcp-Method: server/discover"
|
||||
)
|
||||
|
||||
# The stateless server streams responses as SSE, so unwrap the
|
||||
# `data:` payload before parsing as JSON.
|
||||
discover_response="$(
|
||||
curl --fail-with-body --silent --show-error \
|
||||
"${common_headers[@]}" \
|
||||
|
|
@ -118,8 +116,7 @@ jobs:
|
|||
}
|
||||
}
|
||||
}' \
|
||||
"$endpoint" \
|
||||
| sed -n 's/^data: //p'
|
||||
"$endpoint"
|
||||
)"
|
||||
jq -e '
|
||||
.result.resultType == "complete" and
|
||||
|
|
|
|||
Loading…
Reference in a new issue