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

update dotcomUrl #730

Merged
merged 5 commits into from
Aug 18, 2023
Merged

update dotcomUrl #730

merged 5 commits into from
Aug 18, 2023

Conversation

akalia25
Copy link
Contributor

@akalia25 akalia25 commented Aug 17, 2023

This PR does two things:

  • update the if statement that sends events to dotcom to do a match on hostname (avoids issue with serverEndpoint and dotcomUrl not matching because "sourcegraph.com" != "sourcegraph.com/"
  • sends to sendEventLogRequestToAPI to have proper user_ids.

Test plan

tested locally

update the url to match the serverEndpoint; this avoids double logging
@akalia25 akalia25 marked this pull request as ready for review August 17, 2023 22:00
dotcom events are associated with user_id and configuration information.
Copy link
Contributor

@nathan-downs nathan-downs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@akalia25
Copy link
Contributor Author

As @nathan-downs mentioned sending to sendEventLogRequestToAPI will now have proper user_ids. Verified below with local testing:

image

@akalia25 akalia25 requested a review from a team August 17, 2023 22:37
@dominiccooney dominiccooney merged commit 9316241 into main Aug 18, 2023
10 checks passed
@dominiccooney dominiccooney deleted the akalia25-patch-1 branch August 18, 2023 02:16
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.

None yet

3 participants