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

source-zendesk-support: update ticket_skips schema #1988

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

Alex-Bair
Copy link
Contributor

@Alex-Bair Alex-Bair commented Sep 27, 2024

Description:

We have encountered schema violations for ticket_skips where a custom field's value is an array of strings. The ticket_skips.json schema has been updated to allow this.

I missed updating posts.schema.yaml and ticket_metrics.schema.yaml in previous PRs, so I've updated them now. Those previous PRs are:

The capture snapshot test has also been flaky because Zendesk Support seems to delete & re-add the default tag I assumed would always be present. I added an organization tag in our Zendesk Support testing account to ensure a tag will always be present, and I redacted the tag fields in the capture snapshot so the test is more reliable.

Discover snapshot changes are expected due to making the ticket_skips schema more permissive. Capture snapshot changes are expected due to adding an organization tag in our Zendesk Support testing account & redacting tag fields in the snapshot.

Workflow steps:

(How does one use this feature, and how has it changed)

Documentation links affected:

(list any documentation links that you created, or existing ones that you've identified as needing updates, along with a brief description)

Notes for reviewers:

Tested on a local stack. Confirmed the connector no longer crashes when ticket_skips encounters a document with a custom field value that's an array of strings.


This change is Reviewable

Zendesk seems to add & remove a default tag occassionally, causing our capture snapshot test to
be flaky. I added a custom tag to our Zendesk account to ensure a tag is always present,
and I redacted the tag fields in the capture snapshot so the test is more reliable.
The `ticket_skips` schema was made more permissive due to schema violations we've encountered.

posts.schema.yaml and ticket_metrics.schema.yaml were also updated. I missed updating these in previous commits (listed below):
posts - b8164e7
ticket_metrics - 29d2d5e
@Alex-Bair Alex-Bair added the change:unplanned Unplanned change, useful for things like doc updates label Sep 27, 2024
@Alex-Bair Alex-Bair requested a review from a team September 27, 2024 15:38
Copy link
Member

@jgraettinger jgraettinger left a comment

Choose a reason for hiding this comment

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

LGTM

@Alex-Bair Alex-Bair merged commit 16a401d into main Sep 30, 2024
68 of 76 checks passed
@Alex-Bair Alex-Bair deleted the bair/source-zendesk-support-ticket-skips-schema branch September 30, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:unplanned Unplanned change, useful for things like doc updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants