Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auth telemetry events #1863

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Conversation

pkukielka
Copy link
Contributor

@pkukielka pkukielka commented Jul 2, 2024

Closes https://linear.app/sourcegraph/issue/CODY-988/p1-authorization-and-log-in-log-out

Test plan

Repeat for dotcom and enterprise user account:

Scenario 1

  1. Remove all existing accounts
  2. Make sure you are redirected to the login panel
  3. Login using one of the available providers
  4. Make sure that both cody.auth.login/clicked and cody.auth.signin.token/clicked telemetry events were fired

Scenario 2

  1. Click on Cody status bar and choose Manage Accounts
  2. Click to add new account
  3. Make sure that cody.auth.login/clicked was fired
  4. Fill the account details (server and token) and confirm
  5. Make sure that cody.auth.signin.token/clicked was fired

@pkukielka pkukielka merged commit 95316c2 into main Jul 3, 2024
10 checks passed
@pkukielka pkukielka deleted the pkukielka/telemetry-usage-limits branch July 3, 2024 07:50
steveyegge pushed a commit that referenced this pull request Jul 9, 2024
Closes
https://linear.app/sourcegraph/issue/CODY-988/p1-authorization-and-log-in-log-out

## Test plan

Repeat for dotcom and enterprise user account:

**Scenario 1** 

1. Remove all existing accounts
2. Make sure you are redirected to the login panel
3. Login using one of the available providers
4. Make sure that both `cody.auth.login/clicked` and
`cody.auth.signin.token/clicked` telemetry events were fired

**Scenario 2** 

1. Click on Cody status bar and choose `Manage Accounts`
2. Click to add new account
3. Make sure that  `cody.auth.login/clicked` was fired
4. Fill the account details (server and token) and confirm 
5.  Make sure that  `cody.auth.signin.token/clicked` was fired
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants