Skip to content

fix(Zendesk) - fix db queries #9764

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

Merged
merged 21 commits into from
Jan 6, 2025
Merged

fix(Zendesk) - fix db queries #9764

merged 21 commits into from
Jan 6, 2025

Conversation

aubin-tchoi
Copy link
Contributor

@aubin-tchoi aubin-tchoi commented Jan 6, 2025

Description

Risk

  • Blast radius: incorrect display of tickets per brand

Deploy Plan

  • Stop all Zendesk workflows
  • Deploy connectors.
  • Resume all Zendesk workflows
  • Run migration_44.sql

@aubin-tchoi aubin-tchoi requested a review from spolu January 6, 2025 09:48
Copy link
Contributor

devloai bot commented Jan 6, 2025

Automatic code review is enabled for this repository. I will perform a review of this PR.

@aubin-tchoi aubin-tchoi removed the request for review from spolu January 6, 2025 09:49
Copy link
Contributor

@devloai devloai bot left a comment

Choose a reason for hiding this comment

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

I've reviewed the changes for the Zendesk DB query fixes. The changes look solid overall, properly implementing brandId-based filtering and adding appropriate indexes. I've noted a few items to address: a potential bug in the delete method parameter, inconsistent index naming patterns, and a suggestion for additional error handling. Please review these comments to ensure robust implementation.

@aubin-tchoi aubin-tchoi force-pushed the zendesk-fix-db-queries branch from d20ba34 to 1f37fb2 Compare January 6, 2025 09:53
Copy link

github-actions bot commented Jan 6, 2025

Warnings
⚠️

Files in **/lib/models/ have been modified and the PR has the migration-ack label. Don't forget to run the migration from prodbox.

Generated by 🚫 dangerJS against a84bce5

@aubin-tchoi aubin-tchoi added the migration-ack 📁 Label to acknowledge that a migration is required. label Jan 6, 2025
@aubin-tchoi aubin-tchoi requested review from spolu and PopDaph January 6, 2025 10:18
Copy link
Contributor

@spolu spolu left a comment

Choose a reason for hiding this comment

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

LGTM

@aubin-tchoi aubin-tchoi merged commit 7c5fcf0 into main Jan 6, 2025
6 checks passed
@aubin-tchoi aubin-tchoi deleted the zendesk-fix-db-queries branch January 6, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migration-ack 📁 Label to acknowledge that a migration is required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants