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

4 statements  

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

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

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_auth_service(container: ContainerResolverProtocol) -> dict[str, object]: 

12 """Verify auth service and JWT manager are operational. 

13 

14 Args: 

15 container: Booted DI container. 

16 

17 Returns: 

18 A HealthCheckResult-compatible dict. 

19 """ 

20 return {"status": "ok", "message": "Auth service health check not yet implemented"}