Document the shutdown contract for `POST /proxy/stopProxy`
I maintainer di solito rispondono entro 1 giorno
@waldekmastykarz ci sta già lavorando.
Dal 5/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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".
- Lingua principale
- C#
- Stelle
- 841
- Fork
- 90
- Merge medio
- 2g 10h
- PR unite (30g)
- 63
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di dotnet/dev-proxy
-
ExecutionSummaryPlugin: internal log messages leak into the report as an "Unknown" categoryForse già presa @waldekmastykarz l’ha presa 1 giorno fa. Apertabug work in progress
dotnet/dev-proxy#2097 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Add `devproxy cert export` to write the root certificate to a fileForse già presa @waldekmastykarz l’ha presa 1 giorno fa. Apertawork in progress
dotnet/dev-proxy#2085 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Update "Use Dev Proxy with Node.js" for native `fetch` proxy support and certificate trustForse già presa @waldekmastykarz l’ha presa 1 giorno fa. Apertadocumentation work in progress
dotnet/dev-proxy#2084 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Reference the API-inventory preset from the CI/CD and Record docsForse già presa @waldekmastykarz l’ha presa 1 giorno fa. Apertadocumentation work in progress
dotnet/dev-proxy#2083 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
`devproxy --detach` blocks callers that capture its outputForse già presa @waldekmastykarz l’ha presa 1 giorno fa. Apertawork in progress
dotnet/dev-proxy#2080 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di dotnet/dev-proxy
Issue simili
-
needs attention untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#3666 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
MicrosoftLearning/eShopOnWeb#466 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
stryker-mutator/stryker-net#3974 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
JiaFeiMiao-K-Cat/DiscImageStudio#171 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno