Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Defer LXMF client setup to gateway startup#205

Merged
brothercorvo merged 1 commit intomainfrom
corvo/fix-test-failing-due-to-client-initialization
Nov 11, 2025
Merged

Defer LXMF client setup to gateway startup#205
brothercorvo merged 1 commit intomainfrom
corvo/fix-test-failing-due-to-client-initialization

Conversation

@brothercorvo
Copy link
Copy Markdown
Contributor

Summary

  • lazily create the Emergency Management gateway LXMF client through a shared accessor that supports test overrides
  • expose helper functions for resolving the server identity and reuse them when starting the link manager and reporting status
  • attach/detach notification listeners during FastAPI startup and shutdown while resetting cached client state

Testing

  • pytest tests/test_integration_webui_persistence.py

Codex Task

@brothercorvo brothercorvo merged commit 74f99f3 into main Nov 11, 2025
2 checks passed
@brothercorvo brothercorvo deleted the corvo/fix-test-failing-due-to-client-initialization branch November 11, 2025 19:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant