Skip to content

Commit 278d725

Browse files
test(conformance): pin the conformance suite to 0.2.0-alpha.2 and reconcile the expected-failures baseline (#2279)
1 parent 0657c3b commit 278d725

3 files changed

Lines changed: 27 additions & 26 deletions

File tree

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/conformance/expected-failures.yaml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
# Conformance scenarios not yet implemented in the v2 TypeScript SDK.
22
# CI exits 0 if only these fail, exits 1 on unexpected failures or stale entries.
33
#
4-
# Baseline established against @modelcontextprotocol/conformance 0.2.0-alpha.1,
5-
# which adds the draft-spec scenario suite (SEP-2575, SEP-2322, SEP-2243, SEP-2549,
6-
# SEP-2468, ...) plus new checks on existing scenarios (SEP-837 application_type
7-
# during DCR).
4+
# Baseline established against the published @modelcontextprotocol/conformance
5+
# release pinned in package.json (0.2.0-alpha.2). Relative to 0.2.0-alpha.1,
6+
# that release re-scoped the SEP-837 application_type check to draft-version
7+
# runs only, so the dated-version auth scenarios that failed only on that
8+
# check were removed from this baseline. Newer conformance releases are
9+
# adopted by deliberately bumping the package.json pin and reconciling this
10+
# file in the same change. (The auth/iss-* scenarios are not present in
11+
# 0.2.0-alpha.2; the runner reports them as unknown/failed, covered by their
12+
# entries below until a release ships them.)
13+
#
14+
# NOTE: the draft error-code assignments exercised by the SEP-2243 server
15+
# scenarios (-32001 HeaderMismatch) and their neighbours (-32602, -32004) are
16+
# still under discussion upstream (pending conformance #336). Those cells are
17+
# treated as parameterized, not settled: the entries below record today's
18+
# referee behavior and are re-derived when a #336-containing referee is pinned.
819
#
920
# Entries are grouped by SEP. As each SEP/milestone is implemented in the SDK the
1021
# corresponding scenarios start passing and MUST be removed from this list (the
@@ -34,26 +45,15 @@ client:
3445
# SEP-2352 (authorization server migration): client does not re-register when
3546
# PRM authorization_servers changes.
3647
- auth/authorization-server-migration
37-
# SEP-2207 (offline_access scope) scenario, currently failing only on the new
38-
# SEP-837 application_type check (see the SEP-837 group below).
48+
# SEP-837 (application_type during DCR): the check only fires on draft-version
49+
# runs; this draft scenario is the one place the client still hits it.
3950
- auth/offline-access-not-supported
4051

4152
# --- Pre-existing scenarios that fail on checks added after conformance 0.1.15 ---
42-
# SEP-837: client MUST send application_type during Dynamic Client Registration.
43-
# Single new check; everything else in these scenarios passes.
44-
- auth/metadata-default
45-
- auth/metadata-var1
46-
- auth/metadata-var2
47-
- auth/metadata-var3
48-
- auth/scope-from-www-authenticate
49-
- auth/scope-from-scopes-supported
50-
- auth/scope-omitted-when-undefined
53+
# SEP-2350 (scope step-up): WARNING-only — client does not compute the union of
54+
# previously requested and newly challenged scopes on re-authorization; the
55+
# expected-failures evaluator counts WARNINGs as failures.
5156
- auth/scope-step-up
52-
- auth/scope-retry-limit
53-
- auth/token-endpoint-auth-basic
54-
- auth/token-endpoint-auth-post
55-
- auth/token-endpoint-auth-none
56-
- auth/2025-03-26-oauth-metadata-backcompat
5757
# SEP-990 (enterprise-managed authorization extension): no fixture handler /
5858
# client support for the token-exchange + JWT bearer flow.
5959
- auth/enterprise-managed-authorization
@@ -81,6 +81,7 @@ server:
8181
- caching
8282
# SEP-2243 (HTTP header standardization): -32001 HeaderMismatch handling and
8383
# case-insensitive/whitespace-trimmed header validation not implemented.
84+
# (Error-code cells parameterized pending conformance #336 — see header note.)
8485
- http-header-validation
8586
- http-custom-header-server-validation
8687
# WARNING-only entries: these scenarios emit no FAILURE checks, only SHOULD-level

test/conformance/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"test:conformance:all": "pnpm run test:conformance:client:all && pnpm run test:conformance:server:all"
3939
},
4040
"devDependencies": {
41-
"@modelcontextprotocol/conformance": "0.2.0-alpha.1",
41+
"@modelcontextprotocol/conformance": "0.2.0-alpha.2",
4242
"@modelcontextprotocol/client": "workspace:^",
4343
"@modelcontextprotocol/server": "workspace:^",
4444
"@modelcontextprotocol/core": "workspace:^",

0 commit comments

Comments
 (0)