fix: fall back to cell effective domain when email service domain not configured
Unit Tests / test (push) Successful in 11m10s

When the email store service is installed but no explicit domain has been
set in its config, _provision_email now falls back to
config_manager.get_effective_domain() so peer account creation works
immediately without requiring a separate config step.

Also threads config_manager into AccountManager.__init__ (optional kwarg,
no existing callers break) so the fallback is available without a global
import.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-05 17:06:51 -04:00
parent 64dd8b8488
commit f3737acfa4
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -80,6 +80,7 @@ service_composer = ServiceComposer(config_manager=config_manager, data_dir=DATA_
account_manager = AccountManager(
service_registry=service_registry,
data_dir=DATA_DIR,
config_manager=config_manager,
email_manager=email_manager,
calendar_manager=calendar_manager,
file_manager=file_manager,