Skip to content

✨ Source Zendesk Support: tickets to low-code #55711

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

Open
wants to merge 8 commits into
base: issue-11894/user-identities-to-low-code
Choose a base branch
from

Conversation

maxi297
Copy link
Contributor

@maxi297 maxi297 commented Mar 12, 2025

What

Partially addresses https://github.com/airbytehq/airbyte-internal-issues/issues/11894

Migrating tickets to low-code.

How

Adding tests, implementing stream in the manifest.yaml and removing the code in the python code.

Review guide

User Impact

This change is mostly to ease maintenance for devs and there shouldn't be any change in behavior.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

The state will change from {"generated_timestamp": 1728174882} to {"generated_timestamp": "1728174882"} and this method does not support the state to be a string. We could do a forward compatible change before releasing the migration if needed.

Copy link

vercel bot commented Mar 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2025 7:30pm

@maxi297
Copy link
Contributor Author

maxi297 commented Mar 12, 2025

Regression testing: https://github.com/airbytehq/airbyte/actions/runs/13812823369

EDIT: The tests timed out and I can't debug why...

EDIT2: regression testing part 2 https://github.com/airbytehq/airbyte/actions/runs/13820445417

EDIT3: It also times out. I'll try to pin a specific connection that might be smaller

EDIT4: I've run this locally with connection 7c52d9b2-2b99-4005-b1a5-287f5a78a3c6 and a start time that is higher

Without state
image

With state
image
Note: I'm unclear why the full refresh (aka READ) ran for the target version and not the control version especially since all the tests without state are marked as Skipped: Test is marked with without_state marker...

EDIT5: The timeout also affected our sandbox account is kind of worrying. I'll try to find a way to scope the issue regarding that. I would like to do a dev version but I would need to revert the state manually (which might be fine so I might do that but I would need to do a release with just the tickets stream changed (this PR is stacked on posts streams and user_identities)

@@ -243,20 +243,6 @@ def test_check_start_time_param():
assert output == expected


@pytest.mark.parametrize(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some cleanup here but I didn't remove the import because we still have TicketMetrics which uses the Python implementation of Tickets. My guess is that this whole file will just be deleted soon anyway

@maxi297
Copy link
Contributor Author

maxi297 commented Mar 17, 2025

The CI is red only because of code coverage. I'll confirm if this is still an issue once the stacked PRs are merged

Copy link
Contributor

@brianjlai brianjlai left a comment

Choose a reason for hiding this comment

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

the new low-code seems fine, but you mention the timeout that came about during testing as a concern. is this still something you want to investigate? otherwise i'm good to ✅

@maxi297
Copy link
Contributor Author

maxi297 commented Mar 21, 2025

The timeout was probably caused by this issue. Locally, things work fine some I'm not too worried about it

Copy link
Contributor

@brianjlai brianjlai left a comment

Choose a reason for hiding this comment

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

🚀

@maxi297
Copy link
Contributor Author

maxi297 commented Mar 21, 2025

For reference, this issue was the proxy. I don't know why locally this doesn't fail but eh!

Here is an example without the proxy: https://github.com/airbytehq/airbyte/actions/runs/13997346842/job/39195655493

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants