Skip to content

fix: conformance tests for tools_call and auth/scope-step-up - #1022

Merged
alexhancock merged 1 commit into
mainfrom
alexhancock/issue-1002
Jul 22, 2026
Merged

fix: conformance tests for tools_call and auth/scope-step-up#1022
alexhancock merged 1 commit into
mainfrom
alexhancock/issue-1002

Conversation

@alexhancock

@alexhancockalexhancock commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@alexhancock
alexhancock requested a review from a team as a code ownerJuly 21, 2026 17:54
@github-actionsgithub-actionsBot added T-CI Changes to CI/CD workflows and configuration T-config Configuration file changes labels Jul 21, 2026
.ok()
.and_then(|version| serde_json::from_value(Value::String(version)).ok())
.unwrap_or(ProtocolVersion::V_2026_07_28)
.unwrap_or(ProtocolVersion::V_2025_11_25)

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The node module defaults to this in its code for this ENV var

https://github.com/modelcontextprotocol/conformance/blob/da56f6631c83bec2b3b7e40a82f392ae360b790c/src/types.ts#L43

https://github.com/modelcontextprotocol/conformance/blob/da56f6631c83bec2b3b7e40a82f392ae360b790c/src/runner/client.ts#L45

It is set to the new version when the command is run with --spec-version 2026-07-28 so we still have coverage of the new way

DaleSeo
DaleSeo previously approved these changes Jul 21, 2026

@DaleSeoDaleSeo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have minor suggestions.

Comment threadconformance/src/bin/client.rs Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we delete this file and remove the following lines?

--expected-failures conformance/expected-failures-2026-07-28.yaml \

--expected-failures conformance/expected-failures-2026-07-28.yaml \

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Comment threadconformance/src/bin/client.rs Outdated

fn uses_discover_lifecycle() -> bool {
conformance_protocol_version().as_str() >= ProtocolVersion::V_2026_07_28.as_str()
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I guess this isn't really worth having its own function?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call - done

@alexhancock
alexhancockforce-pushed the alexhancock/issue-1002 branch from 99057ba to 3b8bdccCompareJuly 22, 2026 16:43
@alexhancock

Copy link
Copy Markdown
ContributorAuthor

@DaleSeo All feedback addressed

@alexhancock
alexhancock requested a review from DaleSeoJuly 22, 2026 16:44
@alexhancock
alexhancock merged commit ac9c637 into mainJul 22, 2026
21 checks passed
@alexhancock
alexhancock deleted the alexhancock/issue-1002 branch July 22, 2026 18:15
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2026-07-28T-CIChanges to CI/CD workflows and configurationT-configConfiguration file changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conformance client: legacy-lifecycle scenarios fail with -32020 missing MCP-Protocol-Version header at 2026-07-28

3 participants

@alexhancock@jamadeo@DaleSeo