refactor: extract optional runtime shutdown boundary (#3632)

This commit is contained in:
安正超
2026-06-19 22:53:42 +08:00
committed by GitHub
parent e6391598f0
commit 74fcfddd7f
7 changed files with 236 additions and 82 deletions
+8
View File
@@ -31,6 +31,14 @@ Disallowed responsibilities:
- Hide globals behind a service-locator API.
- Change startup side effects while moving code.
## Optional Runtime Boundary
`startup_optional_runtimes` owns shutdown for optional runtime services that are
not readiness or fatal startup boundaries. The current owner set is protocol
servers only. Future optional sidecars must enter this boundary with explicit
shutdown handles and status snapshots instead of adding ad hoc shutdown work to
`startup_services`.
## AppContext Foundation
Early AppContext work should split resolver files and add compatibility tests before