Skip to content

Commit 8ee9ee6

Browse files
authored
ci: fix discovery response parsing (#1016)
1 parent dd11e5b commit 8ee9ee6

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/conformance.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ jobs:
9797
-H "Mcp-Method: server/discover"
9898
)
9999
100-
# The stateless server streams responses as SSE, so unwrap the
101-
# `data:` payload before parsing as JSON.
102100
discover_response="$(
103101
curl --fail-with-body --silent --show-error \
104102
"${common_headers[@]}" \
@@ -118,8 +116,7 @@ jobs:
118116
}
119117
}
120118
}' \
121-
"$endpoint" \
122-
| sed -n 's/^data: //p'
119+
"$endpoint"
123120
)"
124121
jq -e '
125122
.result.resultType == "complete" and

0 commit comments

Comments
 (0)