Refresh emulator inactivity timeout on SDK-retried responses (blocked on SDK enhancement)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read the shell's OperationProgressHandler implementation and how it is registered with the Cosmos SDK; the issue does not name file paths. First check whether the SDK enhancement Azure/azure-cosmos-dotnet-v3#6178 is available, since this work is explicitly blocked on it. Once available, implement per-attempt timeout refresh while excluding synthesized timeouts, then add a test with repeated 429 responses exceeding the timeout and verify the command completes.
索引モデルが issue の本文から書いたものです。
説明
Summary
OperationProgressHandler (added in #264) restarts the local-emulator inactivity timeout whenever the emulator returns a response. It is registered as a Cosmos SDK custom handler, and the SDK places custom handlers before its RetryHandler, so the handler sees only the final response of an operation, not the intermediate responses the SDK retries (for example 429).
Impact
A throttled operation against the local emulator can stay inside the SDK retry loop for longer than the 10-second inactivity limit. With the SDK's default rate-limit policy (up to 9 retries, up to 30 seconds of waiting), the shell can cancel the command and disconnect even though the emulator answered every attempt. Earlier writes remain committed. This only affects local-emulator connections; Azure accounts have no inactivity timeout.
Plan
- Request a supported per-attempt response notification from the SDK (Gateway and Direct, without changing custom-handler semantics): Azure/azure-cosmos-dotnet-v3#6178.
- Once it ships, use it in the shell to restart the inactivity timeout on each real response, still excluding SDK-synthesized timeouts, so stalled requests keep timing out.
- Add a test that simulates repeated 429 responses longer than the timeout and verifies the command completes.
This does not block current releases; integrate it in the first shell release after the SDK change is available.
- 主要言語
- C#
- スター
- 4
- フォーク
- 7
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 23
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/CosmosDBShell のほかの issue
-
[bug-bash] print maps a missing item's HTTP 404 to exit 1 instead of documented not-found exit 5対応中かも @mkrueger が 1 日前に担当しました。 オープンbug bug-bash
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure/CosmosDBShell#279 ·
メンテナーはふだん 1 日以内に返信
-
[bug-bash] Sequential script commands leak their result into rm as implicit pipe input対応中かも @mkrueger が今日担当しました。 オープンbug bug-bash
難易度 3/5 1〜2日 初心者へのやさしさ 75/100
Azure/CosmosDBShell#281 ·
メンテナーはふだん 1 日以内に返信
-
[bug-bash] Invalid command arguments return general-failure exit 1 instead of documented usage exit 2対応中かも @mkrueger が 1 日前に担当しました。 オープンbug bug-bash
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
Azure/CosmosDBShell#280 ·
メンテナーはふだん 1 日以内に返信
-
[bug-bash] edit and theme failures silently return exit 1 without a machine-readable stderr error対応中かも @mkrueger が 1 日前に担当しました。 オープンbug bug-bash
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
Azure/CosmosDBShell#278 ·
メンテナーはふだん 1 日以内に返信
-
[bug-bash] Multi-statement -c and piped stdin silently drop intermediate output and file redirections対応中かも @mkrueger が 1 日前に担当しました。 オープンbug bug-bash
難易度 3/5 1〜2日 初心者へのやさしさ 75/100
Azure/CosmosDBShell#277 ·
メンテナーはふだん 1 日以内に返信
Azure/CosmosDBShell の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
Unity-Technologies/unity-agent-plugin#118 ·
メンテナーはふだん 1 日以内に返信
-
The Recommended preset turns on Import Uno DSP, which only works with the Material theme対応中かも @agneszitte が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
unoplatform/uno.templates#2388 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
eyalgolan/statecraft-israel#2732 ·
メンテナーはふだん 1 日以内に返信
-
要トリアージ
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
kind/chore status/draft
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Altinn/altinn-events#1158 ·
メンテナーはふだん 1 日以内に返信