Scan the shared MFA repositories

FixEmailService
Shipped
August 3, 2026 at 4:52 AM UTC
Author
Kamo
Commit
83f1fb1

MfaEnrollmentService is a @Service in kamo-shared-library, so the wildcard @ComponentScan("com.kamo") in this application constructs it whether or not this service has anything to do with MFA — and its constructor needs UserMfaEnrollmentRepository. That package was not in the @EnableJpaRepositories list, so the repository bean did not exist and the context failed to start: Parameter 0 of constructor in **************** required a bean of type ...UserMfaEnrollmentRepository that could not be found Identical shape to the mlos.notification case already documented in SecurityService, which is the only service that had been updated. Every other service with a wildcard component scan and an explicit repository list was going to crash on its next deploy for the same reason. EmailService was already down on this — CrashLoopBackOff, the old replicaset still serving so nothing looked wrong from outside.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing