Skip to content

Commit fc9f612

Browse files
committed
Repin conformance harness to the published 0.2.0-alpha.10
The pkg.pr.new pin of conformance main@da56f663 was a stopgap until a release carrying #403 (sep-2575 checks aligned with spec #3002) and #406 (per-check expected-failures) shipped. 0.2.0-alpha.10 is now on npm with both, so point CONFORMANCE_PKG at the published spec and drop the sha256 fetch-and-verify steps that only the tarball URL needed. No-Verification-Needed: CI-config-only conformance pin bump
1 parent dcd9c1e commit fc9f612

2 files changed

Lines changed: 5 additions & 46 deletions

File tree

.github/actions/conformance/expected-failures.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
client:
1414
# SEP-1932 (DPoP): the SDK's OAuth client does not implement DPoP proofs.
15-
# These scenarios are new in the da56f663 referee pin. The entries are
16-
# per-check (conformance #406) because both scenarios pass their
17-
# non-DPoP checks (discovery, token acquisition, request flow) live.
15+
# The entries are per-check (conformance #406) because both scenarios
16+
# pass their non-DPoP checks (discovery, token acquisition, request
17+
# flow) live.
1818
- auth/dpop:sep-1932-client-token-request-proof
1919
- auth/dpop:sep-1932-client-dpop-auth-scheme
2020
- auth/dpop:sep-1932-client-fresh-proof
@@ -25,8 +25,7 @@ client:
2525
- auth/dpop-nonce:sep-1932-client-rs-nonce
2626
# Workload identity federation: the OAuth client does not implement the
2727
# urn:ietf:params:oauth:grant-type:jwt-bearer grant (it answers with
28-
# authorization_code). Also new in the da56f663 referee pin; per-check for
29-
# the same reason.
28+
# authorization_code). Per-check for the same reason.
3029
- auth/wif-jwt-bearer:wif-grant-type
3130

3231
server:

.github/workflows/conformance.yml

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,9 @@ permissions:
1515

1616
env:
1717
# Pinned conformance harness package spec (passed verbatim to `npx --yes`).
18-
# Use a published version, e.g. @modelcontextprotocol/conformance@0.2.0-alpha.7.
1918
# Bump deliberately and reconcile both
2019
# .github/actions/conformance/expected-failures*.yml files in the same change.
21-
#
22-
# Temporarily pinned to the pkg.pr.new build of conformance main@da56f663,
23-
# which includes #403 (sep-2575 checks flipped to the post-spec-#3002 shape:
24-
# clientInfo optional on requests, serverInfo in result _meta instead of the
25-
# discover body) and #406 (per-check expected-failures granularity) — the
26-
# last published npm release (0.2.0-alpha.9) still enforces the pre-#3002
27-
# shape. Pinned by commit SHA so the tarball cannot move under us;
28-
# CONFORMANCE_PKG_SHA256 pins the bytes and the fetch-and-verify step below
29-
# downloads, checks the digest, and repoints CONFORMANCE_PKG at the
30-
# verified local copy. Repin to the next published @modelcontextprotocol/
31-
# conformance release (>=0.2.0-alpha.10) once it ships, then drop
32-
# CONFORMANCE_PKG_SHA256 and the fetch-and-verify steps.
33-
CONFORMANCE_PKG: "https://pkg.pr.new/@modelcontextprotocol/conformance@da56f663"
34-
CONFORMANCE_PKG_SHA256: "bbc94678033071df4bc9851ce2054f9dff918f4501661d1d60e2d09d8c515e6d"
20+
CONFORMANCE_PKG: "@modelcontextprotocol/conformance@0.2.0-alpha.10"
3521

3622
jobs:
3723
server-conformance:
@@ -47,19 +33,6 @@ jobs:
4733
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4834
with:
4935
node-version: 24
50-
- name: Fetch and verify conformance harness
51-
# Only when CONFORMANCE_PKG is a URL: download, check the recorded
52-
# sha256, and re-point CONFORMANCE_PKG at the verified local tarball.
53-
# When CONFORMANCE_PKG is a registry spec, this step is a no-op (npm's
54-
# own integrity check applies).
55-
run: |
56-
case "$CONFORMANCE_PKG" in
57-
https://*)
58-
curl -fsSL "$CONFORMANCE_PKG" -o /tmp/conformance.tgz
59-
echo "$CONFORMANCE_PKG_SHA256 /tmp/conformance.tgz" | sha256sum -c -
60-
echo "CONFORMANCE_PKG=file:/tmp/conformance.tgz" >> "$GITHUB_ENV"
61-
;;
62-
esac
6336
- run: uv sync --frozen --all-extras --package mcp-everything-server
6437
- name: Run server conformance (active suite)
6538
run: >-
@@ -119,19 +92,6 @@ jobs:
11992
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
12093
with:
12194
node-version: 24
122-
- name: Fetch and verify conformance harness
123-
# Only when CONFORMANCE_PKG is a URL: download, check the recorded
124-
# sha256, and re-point CONFORMANCE_PKG at the verified local tarball.
125-
# When CONFORMANCE_PKG is a registry spec, this step is a no-op (npm's
126-
# own integrity check applies).
127-
run: |
128-
case "$CONFORMANCE_PKG" in
129-
https://*)
130-
curl -fsSL "$CONFORMANCE_PKG" -o /tmp/conformance.tgz
131-
echo "$CONFORMANCE_PKG_SHA256 /tmp/conformance.tgz" | sha256sum -c -
132-
echo "CONFORMANCE_PKG=file:/tmp/conformance.tgz" >> "$GITHUB_ENV"
133-
;;
134-
esac
13595
# --compile-bytecode: without it, ~40 concurrently spawned interpreters
13696
# race to byte-compile site-packages during the timing-sensitive window.
13797
- run: uv sync --frozen --all-extras --package mcp --compile-bytecode

0 commit comments

Comments
 (0)