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

bugfix: make queryID optional in Algolia insights destination action #1345

Merged

Conversation

wwalser
Copy link
Contributor

@wwalser wwalser commented Jun 20, 2023

Algolia Insights destination was added here: #975 and merged here: #1027.

In those additional, queryID was mistakenly made required which is not the case in the downstream API (Algolia Insights). This PR fixes that problem.

Testing

The snapshot tests seem to test this without a query ID. I've added additional unit tests that ensure the queryID is forwarded as expected when it is present.

I've booted up my local environment and tested this manually as well. 👍

  • Added unit tests for new functionality
  • Tested end-to-end using the local server
  • [Segmenters] Tested in the staging environment

@wwalser wwalser requested a review from a team as a code owner June 20, 2023 02:38
@wwalser wwalser requested a review from a team June 20, 2023 02:38
@joe-ayoub-segment joe-ayoub-segment self-assigned this Jun 20, 2023
Copy link
Contributor

@joe-ayoub-segment joe-ayoub-segment left a comment

Choose a reason for hiding this comment

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

Looks good to me. Just need CI to pass and I'll merge.

@joe-ayoub-segment joe-ayoub-segment merged commit 0474006 into segmentio:main Jun 20, 2023
@wwalser
Copy link
Contributor Author

wwalser commented Jun 21, 2023

Hi @joe-ayoub-segment how often do changes to this codebase get deployed?

@joe-ayoub-segment
Copy link
Contributor

Hi @wwalser - every Tuesday for Cloud Mode Destinations. However we delayed the deploy because the company had a day off Monday.

@joe-ayoub-segment
Copy link
Contributor

Hi @wwalser this PR has been deployed.

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