fix(mana-core-auth): complete production readiness with test fixes

- Fix LoggerService mock in better-auth.service.spec.ts
- Fix name assertion in auth.controller.spec.ts (empty string fallback)
- Fix createRemoteJWKSet mock in jwt-auth.guard.spec.ts
- Add Grafana dashboard for Auth Service monitoring
- Add 10 auth-specific Prometheus alert rules
- Update production readiness plan to 100% complete

All 199 unit tests passing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-02-01 14:18:58 +01:00
parent e3774ca08b
commit fe33f4b355
14 changed files with 1282 additions and 25 deletions

View file

@ -139,7 +139,8 @@ describe('AuthController', () => {
expect(betterAuthService.registerB2C).toHaveBeenCalledWith({
email: registerDto.email,
password: registerDto.password,
name: undefined, // Controller passes undefined when name is not provided
name: '', // Controller passes empty string as fallback when name is not provided
sourceAppUrl: undefined,
});
});