fix: pass client conformance suite (#960)

* fix(auth): support oauth metadata fallbacks

* ci: run client conformance scenarios

* fix: pass full client conformance suite

* ci: run full client conformance suite

* fix: update SSE stream constructor
This commit is contained in:
Dale Seo 2026-07-08 11:25:12 -04:00 • committed by GitHub
commit a03793530d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,8 +29,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
# Build the whole package (server + client bins): the conformance crate is
# excluded from the workspace default-members, so this is the only CI job
# that catches compile breakage in it.
# excluded from the workspace default-members.
- name: Build conformance binaries
run: cargo build -p mcp-conformance
@ -75,3 +74,33 @@ jobs:
with:
name: conformance-server-results
path: conformance-results
client:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build conformance binaries
run: cargo build -p mcp-conformance
- name: Run full client conformance suite
run: |
npx -y "@modelcontextprotocol/conformance@${CONFORMANCE_VERSION}" client \
--command "$(pwd)/target/debug/conformance-client" \
--suite all \
--spec-version 2025-11-25 \
-o conformance-client-results/full
- name: Upload results
if: always()
uses: actions/upload-artifact@v7
with:
name: conformance-client-results
path: conformance-client-results