Mark startup runtime configuration task complete and update startup resource resolution
This commit is contained in:
@@ -116,5 +116,6 @@ Reference: `Docs/Refactoring.md` for full analysis of each issue.
|
||||
- Issue: `startup_shared_resources` creates shared resources like `aiohttp.ClientSession` and geo cache initialization from the initial environment-loaded settings, then later applies persisted runtime overrides to `app.state.settings`, producing a fragile startup ordering.
|
||||
- Propose: Split startup into phases that first resolve bootstrap and runtime persisted configuration, then construct shared resources and register scheduled jobs using those effective settings.
|
||||
- Test: Add startup tests asserting that when persisted runtime settings differ from bootstrap settings, the final initialized resources are built from the resolved effective settings, not the original bootstrap values.
|
||||
- Status: completed
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user