Split recorder and frontend bootstrap steps (#122420)
This commit is contained in:
parent
ee30510b23
commit
3df6b34a03
3 changed files with 4 additions and 6 deletions
|
@ -223,8 +223,10 @@ CRITICAL_INTEGRATIONS = {
|
||||||
SETUP_ORDER = (
|
SETUP_ORDER = (
|
||||||
# Load logging and http deps as soon as possible
|
# Load logging and http deps as soon as possible
|
||||||
("logging, http deps", LOGGING_AND_HTTP_DEPS_INTEGRATIONS),
|
("logging, http deps", LOGGING_AND_HTTP_DEPS_INTEGRATIONS),
|
||||||
# Setup frontend and recorder
|
# Setup frontend
|
||||||
("frontend, recorder", {*FRONTEND_INTEGRATIONS, *RECORDER_INTEGRATIONS}),
|
("frontend", FRONTEND_INTEGRATIONS),
|
||||||
|
# Setup recorder
|
||||||
|
("recorder", RECORDER_INTEGRATIONS),
|
||||||
# Start up debuggers. Start these first in case they want to wait.
|
# Start up debuggers. Start these first in case they want to wait.
|
||||||
("debugger", DEBUGGER_INTEGRATIONS),
|
("debugger", DEBUGGER_INTEGRATIONS),
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
"domain": "recorder",
|
"domain": "recorder",
|
||||||
"name": "Recorder",
|
"name": "Recorder",
|
||||||
"after_dependencies": ["http"],
|
|
||||||
"codeowners": ["@home-assistant/core"],
|
"codeowners": ["@home-assistant/core"],
|
||||||
"documentation": "https://www.home-assistant.io/integrations/recorder",
|
"documentation": "https://www.home-assistant.io/integrations/recorder",
|
||||||
"integration_type": "system",
|
"integration_type": "system",
|
||||||
|
|
|
@ -436,9 +436,6 @@ async def test_setup_frontend_before_recorder(hass: HomeAssistant) -> None:
|
||||||
MockModule(
|
MockModule(
|
||||||
domain="recorder",
|
domain="recorder",
|
||||||
async_setup=gen_domain_setup("recorder"),
|
async_setup=gen_domain_setup("recorder"),
|
||||||
partial_manifest={
|
|
||||||
"after_dependencies": ["http"],
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue