The CI health check (curl -sf) and Docker Compose health check (wget) both hit /actuator/health unauthenticated. With anyRequest().authenticated() the endpoint returned 401, curl -f treated it as failure, and the health check loop never exited successfully. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>