acoustic-carpenter-78188
06/12/2026, 4:08 PMclient_id or client_credentials_secret is missing, ClientCredentialsAuthenticator.__init__ raised a bare ValueError("both client_id and client_credentials_secret are required."). On the SelectCluster path this is wrapped as RuntimeError("SelectCluster failed...") ā RuntimeSystemError and leaks to Sentry as an SDK crash with no actionable signal (FLYTE-SDK-55).
Missing credentials is a user-config mistake. Raise a typed InitializationError (already in the flyte/_sentry.py user-error allowlist) so it is filtered ā matching the invalid-auth-mode fix in #1194.
Change
⢠ClientCredentialsAuthenticator.__init__ raises InitializationError("InvalidClientCredentials", "user", ...) instead of ValueError.
⢠Added a constructor test (parametrized over missing/empty creds) and a Sentry-filter test covering the wrapped chain.
fixes FLYTE-SDK-55
š¤ Generated with Claude Code
flyteorg/flyte-sdk