|
18 | 18 | # Use a published version, e.g. @modelcontextprotocol/conformance@0.2.0-alpha.7. |
19 | 19 | # Bump deliberately and reconcile both |
20 | 20 | # .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" |
| 21 | + CONFORMANCE_PKG: "@modelcontextprotocol/conformance@0.2.0-alpha.10" |
35 | 22 |
|
36 | 23 | jobs: |
37 | 24 | server-conformance: |
|
47 | 34 | - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 |
48 | 35 | with: |
49 | 36 | 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 |
63 | 37 | - run: uv sync --frozen --all-extras --package mcp-everything-server |
64 | 38 | - name: Run server conformance (active suite) |
65 | 39 | run: >- |
@@ -119,21 +93,6 @@ jobs: |
119 | 93 | - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 |
120 | 94 | with: |
121 | 95 | 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 |
135 | | - # --compile-bytecode: without it, ~40 concurrently spawned interpreters |
136 | | - # race to byte-compile site-packages during the timing-sensitive window. |
137 | 96 | - run: uv sync --frozen --all-extras --package mcp --compile-bytecode |
138 | 97 | - name: Pre-compile bytecode (editable sources) |
139 | 98 | run: uv run --frozen python -m compileall -q src .github/actions/conformance |
|
0 commit comments