-
Notifications
You must be signed in to change notification settings - Fork 10
Add sep-835 limit retry scenario, add suite options to server command and update pending scenarios #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
and negative test
…atting 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
commit: |
felixweinberger
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there might be some changes unrelated to the PR description in this PR?
| * Scenario 5: Client implements retry limits for scope escalation | ||
| * | ||
| * Tests that clients SHOULD implement retry limits to avoid infinite | ||
| * authorization loops when receiving repeated 403 insufficient_scope errors. | ||
| * The server always returns 403 with the same scope requirement, and clients | ||
| * should stop retrying after a reasonable number of attempts (3 or fewer). | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this here intentionally? Seems unrelated to adding the CLI option, looks like an entirely new scenario
| /** | ||
| * Broken client that retries auth infinitely without any retry limit. | ||
| * BUG: Does not implement retry limits, causing infinite auth loops. | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file intentionally included?
felixweinberger
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually never mind looks like the description does call out some additional changes unrelated to suite options
|
thanks, the description was not very good, just fixed it and the title |
Summary
This PR adds several improvements to the conformance test suite:
Retry limit test & negative test - Added test scenario for infinite retry behavior and a broken client implementation for negative testing
Suite options for server command - Added
--suiteflag with options:active(default): Runs only active scenarios, excluding pending onesall: Runs all scenarios including pendingpending: Runs only pending scenarios to check if they've been fixedUpdated pending scenarios list - Moved elicitation scenarios to pending while waiting for the schema fix in Make mode in elicitation backwards compatible modelcontextprotocol#1863
Auth scope test improvements - Fixed WWW-Authenticate header handling in scope scenarios
Lefthook configuration - Made dependency installs optional in local lefthook hooks
Usage
Test plan
🤖 Generated with Claude Code