fix(telemetry): record onboarding end for cached credentials success

This commit is contained in:
Srinath Padmanabhan
2026-02-26 07:04:05 -08:00
parent f246cd0754
commit 410df6b404

View File

@@ -167,6 +167,7 @@ async function initOauthClient(
access_token: process.env['GOOGLE_CLOUD_ACCESS_TOKEN'],
});
await fetchAndCacheUserInfo(client);
recordOnboardingEndIfApplicable();
return client;
}
@@ -203,6 +204,7 @@ async function initOauthClient(
debugLogger.log('Loaded cached credentials.');
await triggerPostAuthCallbacks(credentials as Credentials);
recordOnboardingEndIfApplicable();
return client;
}
} catch (error) {