Coverage for src/lexigram/features/cli/checks.py: 0%

4 statements  

« prev     ^ index     » next       coverage.py v7.15.4, created at 2026-08-26 01:53 +0800

1"""CLI health checks for lexigram-features.""" 

2 

3from __future__ import annotations 

4 

5from typing import TYPE_CHECKING 

6 

7if TYPE_CHECKING: 

8 from lexigram.contracts.core.di import ContainerResolverProtocol 

9 

10 

11async def check_flag_manager(container: ContainerResolverProtocol) -> dict[str, object]: 

12 """Check that the feature flag manager is operational. 

13 

14 Args: 

15 container: Booted DI container. 

16 

17 Returns: 

18 A HealthCheckResult-compatible dict. 

19 """ 

20 return { 

21 "status": "healthy", 

22 "message": "Flag manager health check not yet implemented", 

23 }