Document the shutdown contract for `POST /proxy/stopProxy`
メンテナーはふだん 1 日以内に返信
@waldekmastykarz がすでに取り組んでいます。
2026年11月5日 から。
評価
この issue はまだ評価されていません。
説明
Problem
The Proxy API page says only "Gracefully shuts down Dev Proxy" and returns 202 Accepted. It doesn't say:
- whether recording is stopped and reports are written before exit,
- that system proxy and certificate changes are reverted,
- how long shutdown typically takes and what exit code to expect,
- how a script knows Dev Proxy has exited. The CI/CD overview suggests grepping the log for
DONE, but that's not linked from here.
Without this, every agent-written script added a 15–30 s wait and a kill fallback. Killing the process skips cleanup.
Proposal
Under POST /proxy/stopproxy, document what happens on shutdown and in what order, plus the recommended way to wait for exit. Examples: wait on the PID returned by --detach, poll devproxy status --pid <pid>, or check the log for DONE. Note that the API is no longer reachable once shutdown starts.
Found while evaluating how coding agents use Dev Proxy: VS Code + GitHub Copilot Chat with Claude Sonnet 5.5, Dev Proxy 4.0.0 on Windows, 5 runs of the task "add a CI script that starts Dev Proxy in the background, starts and stops recording through the API around npm start, and shuts Dev Proxy down through the API".
- 主要言語
- C#
- スター
- 841
- フォーク
- 90
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 63
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/dev-proxy のほかの issue
-
ExecutionSummaryPlugin: internal log messages leak into the report as an "Unknown" category対応中かも @waldekmastykarz が 1 日前に担当しました。 オープンbug work in progress
dotnet/dev-proxy#2097 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Add `devproxy cert export` to write the root certificate to a file対応中かも @waldekmastykarz が 1 日前に担当しました。 オープンwork in progress
dotnet/dev-proxy#2085 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Update "Use Dev Proxy with Node.js" for native `fetch` proxy support and certificate trust対応中かも @waldekmastykarz が 1 日前に担当しました。 オープンdocumentation work in progress
dotnet/dev-proxy#2084 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Reference the API-inventory preset from the CI/CD and Record docs対応中かも @waldekmastykarz が 1 日前に担当しました。 オープンdocumentation work in progress
dotnet/dev-proxy#2083 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
`devproxy --detach` blocks callers that capture its output対応中かも @waldekmastykarz が 1 日前に担当しました。 オープンwork in progress
dotnet/dev-proxy#2080 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
dotnet/dev-proxy の issue をすべて見る
似ている issue
-
Playground selection bar: comes back after Apply or scrolling while focus is in the Markdown paneオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
sillsdev/SIL.TextEditing#175 ·
メンテナーはふだん 1 日以内に返信
-
needs attention untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#3666 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
MicrosoftLearning/eShopOnWeb#466 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
stryker-mutator/stryker-net#3974 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信