Skip to content

Add cache fields to list and resource results - #290

Open
EhsanAzish80 wants to merge 4 commits into
modelcontextprotocol:mainfrom
EhsanAzish80:feat/cacheable-results
Open

EhsanAzish80 wants to merge 4 commits into
modelcontextprotocol:mainfrom
EhsanAzish80:feat/cacheable-results

Conversation

@EhsanAzish80

@EhsanAzish80 EhsanAzish80 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Adds ttlMs and cacheScope to the five results covered by #243. Older results still decode without either field, and negative TTL values are treated as immediately stale. This is a wire-model step toward the July protocol.

The branch is updated to current main and includes the Ubuntu CI setup and client-test timing fixes shared with #307.

Tests: result JSON, legacy decoding, invalid scope, and negative TTL cases passed locally before this update. All six CI jobs passed on 2b4cbfa, including Ubuntu tests. AI helped write the tests; I ran them.

@EhsanAzish80
EhsanAzish80 force-pushed the feat/cacheable-results branch from 80cbc0e to 8210172 Compare October 22, 2026 18:15
@EhsanAzish80
EhsanAzish80 requested a review from a team as a code owner November 2, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant