Migrate Cosmos DB to pagination
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
Read tools/Azure.Mcp.Tools.Cosmos/src/Commands/ItemQueryCommand.cs, tools/Azure.Mcp.Tools.Cosmos/src/Services/CosmosService.cs, and docs/tool-pagination.md; inspect the reverted implementation in commit b3e1b2854 and verify its AOT dependency prerequisite against the current dependencies. Then trace the framework's cursor and nextCursor contract and the existing recorded tests. Done means bounded pages, validated cursors, preserved authorization and query validation, passing pagination and serialization tests, verified AOT compatibility, and updated command docs.
索引モデルが issue の本文から書いたものです。
説明
Paginate Cosmos DB container queries
Context
ItemQueryCommand calls CosmosService.QueryItems, which reads the query iterator until completion with MaxItemCount = -1. Large result sets can make a single tool call expensive. An earlier pagination implementation was reverted in commit b3e1b2854 because its AOT library needed updating.
Work
- Investigate the prior implementation and resolve or verify the AOT dependency prerequisite before adopting it; do not assume it works with the current dependency set.
- Use the framework's
cursorandnextCursorcontract to expose a Cosmos query continuation. Preserve the existing result shape unless a deliberate compatibility decision says otherwise. - Bind the cursor to account, database, container, effective query, subscription, authentication method, tenant, and other fixed query inputs.
- Decide how existing all-results behavior changes and document the page-size and continuation semantics.
Acceptance criteria
- One request returns a bounded page rather than draining the iterator; first, continued, empty-with-continuation, and terminal pages are covered.
- Reject invalid cursors and changed fixed arguments before dispatch. Preserve query validation and authorization.
- Cover option binding and source-generated serialization in unit tests and follow every page in recorded tests; verify AOT compatibility and update command docs.
References
tools/Azure.Mcp.Tools.Cosmos/src/Commands/ItemQueryCommand.cstools/Azure.Mcp.Tools.Cosmos/src/Services/CosmosService.csdocs/tool-pagination.md
- 主要言語
- C#
- スター
- 3.9k
- フォーク
- 689
- 平均マージ
- 2日 11時間
- マージ済み PR(30日)
- 143
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/mcp のほかの issue
-
[BUG] speech tts synthesize rejects valid locales such as fil-PH, yue-CN and sr-Latn-RS in --language対応中かも @Shizoqua が今日担当しました。 オープンAzure.Mcp.Server needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
[BUG] deploy architecture diagram generate never shows Docker settings for container apps対応中かも @Shizoqua が今日担当しました。 オープンAzure.Mcp.Server needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 2 日以内に返信
-
[BUG] Single mode: an unknown tool name fails with "An error occurred invoking 'azure'" instead of listing the available tools対応中かも @Ahmed-Manai が 10 日前に担当しました。 オープンserver-Azure.Mcp
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
[BUG] pricing get drops tierMinimumUnits, so tiered meters return same-meter prices with no threshold対応中かも @msalaman が 29 日前に担当しました。 オープンcustomer-reported needs-team-triage question server-Azure.Mcp tools-Price tools-Pricing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/mcp#4087 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
[Doc Gap] README.md still shows removed "Basic" resilience usage plan tier after GA SDK update再び着手できるかも @anishsinghhh3-bit が 32 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンcopilot documentation server-Azure.Mcp tools-ResilienceManagement
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
microsoft/mcp#4008 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
似ている issue
-
bug documentation queries
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ClickHouse/clickhouse-cs#815 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
XML grammar: only the closing --> of a comment gets the scope comment.block.xml対応中かも @alexeyfala が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
danipen/TextMateSharp#145 · コメント 2 件 ·
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Klyroo/klyroo-dashboard#12 ·
メンテナーはふだん 1 日以内に返信
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates on対応中かも @yadavraj2001 が今日担当しました。 オープンdocumentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
juandresrodca/AdminForge#73 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信