Document the shutdown contract for `POST /proxy/stopProxy`
Maintainer antworten meist innerhalb von 1 Tag
@waldekmastykarz arbeitet bereits daran.
Seit 05.11.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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".
- Vorherrschende Sprache
- C#
- Sterne
- 841
- Forks
- 90
- Ø Merge
- 2 T. 10 Std.
- Gemergte PRs (30 T.)
- 63
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus dotnet/dev-proxy
-
ExecutionSummaryPlugin: internal log messages leak into the report as an "Unknown" categoryEvtl. vergeben @waldekmastykarz hat das vor 2 Tagen übernommen. Offenbug work in progress
dotnet/dev-proxy#2097 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add `devproxy cert export` to write the root certificate to a fileEvtl. vergeben @waldekmastykarz hat das vor 2 Tagen übernommen. Offenwork in progress
dotnet/dev-proxy#2085 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Update "Use Dev Proxy with Node.js" for native `fetch` proxy support and certificate trustEvtl. vergeben @waldekmastykarz hat das vor 2 Tagen übernommen. Offendocumentation work in progress
dotnet/dev-proxy#2084 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Reference the API-inventory preset from the CI/CD and Record docsEvtl. vergeben @waldekmastykarz hat das vor 2 Tagen übernommen. Offendocumentation work in progress
dotnet/dev-proxy#2083 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
`devproxy --detach` blocks callers that capture its outputEvtl. vergeben @waldekmastykarz hat das vor 2 Tagen übernommen. Offenwork in progress
dotnet/dev-proxy#2080 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in dotnet/dev-proxy
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Facepunch/sbox-public#12305 ·
Maintainer antworten meist innerhalb von 5 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
JiaFeiMiao-K-Cat/DiscImageStudio#205 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug keep-fresh
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Flow-Launcher/Flow.Launcher#4744 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
flyingpie/windows-terminal-quake#419 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100