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 Pinterest: migrate to low-code #37698

Merged
merged 25 commits into from
May 28, 2024

Conversation

askarpets
Copy link
Contributor

@askarpets askarpets commented Apr 30, 2024

What

Resolves https://github.com/airbytehq/airbyte-internal-issues/issues/7435

How

Migrated streams to low-code

Review guide

  1. manifest.yaml
  2. source.py

User Impact

Format of state has changed for incremental streams

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

@askarpets askarpets self-assigned this Apr 30, 2024
Copy link

vercel bot commented Apr 30, 2024

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 May 24, 2024 8:46am

askarpets added 9 commits May 7, 2024 15:40
# Conflicts:
#	airbyte-integrations/connectors/source-pinterest/metadata.yaml
#	airbyte-integrations/connectors/source-pinterest/poetry.lock
#	airbyte-integrations/connectors/source-pinterest/pyproject.toml
#	docs/integrations/sources/pinterest.md
@askarpets askarpets marked this pull request as ready for review May 14, 2024 11:37
@askarpets askarpets changed the title 🎉Source Pinterest: migrate to low-code 🚨🚨🎉Source Pinterest: migrate to low-code May 15, 2024
@askarpets askarpets requested a review from brianjlai May 16, 2024 16:23
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.

a few small things and tweaks but overall looks good w/ the adjustments to the error handling.

Have you done any live test run reports to verify that there are no regressions in the behavior? If not, can you can perform at least one or two to verify the changes, I'll ✅ once we have confirmed that

@askarpets
Copy link
Contributor Author

@brianjlai here is one of runs: https://github.com/airbytehq/airbyte/actions/runs/9211964690 - the only failed test is related to discover, however, I don't see any issues when comparing original and new schemas

@brianjlai
Copy link
Contributor

@brianjlai here is one of runs: https://github.com/airbytehq/airbyte/actions/runs/9211964690 - the only failed test is related to discover, however, I don't see any issues when comparing original and new schemas

I know this was a breaking change, but was this expected? When you say you don't see any issues, do you mean that the diffs on the control vs. yours do not differ at all? Or that the deviations don't change the behavior?

I think I want to understand why the catalog changed and we should be sure that was intended. If you run discover() against master and your version, what is the difference between the two catalogs?

@askarpets
Copy link
Contributor Author

@brianjlai here is one of runs: https://github.com/airbytehq/airbyte/actions/runs/9211964690 - the only failed test is related to discover, however, I don't see any issues when comparing original and new schemas

I know this was a breaking change, but was this expected? When you say you don't see any issues, do you mean that the diffs on the control vs. yours do not differ at all? Or that the deviations don't change the behavior?

I think I want to understand why the catalog changed and we should be sure that was intended. If you run discover() against master and your version, what is the difference between the two catalogs?

I double-checked the catalogs manually - the schemas are completely the same except the order of streams in the catalogs. This is because I used different order in the manifest file, however, I don't think this should cause any issues.
Additionally, I've created a connection using our test account since there are more streams with data than I could find in customers' connections and ran the tests with this connection - please see the result.

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.

I double-checked the catalogs manually - the schemas are completely the same except the order of streams in the catalogs. This is because I used different order in the manifest file, however, I don't think this should cause any issues.
Additionally, I've created a connection using our test account since there are more streams with data than I could find in customers' connections and ran the tests with this connection - please see the result.

Very interesting, thank you for verifying and double checking this. If ordering of streams in the catalog is the only issue, then that should not be a problem. Approved.

My one ask is reach out to @alafanechere @clnoll about this. I'm curious if this is the desired behavior of the live test framework? In the end checking for existence is what we really care about

@clnoll
Copy link
Contributor

clnoll commented May 24, 2024

Hey @brianjlai & @askarpets, we definitely don't intend to be checking the stream order. I actually thought we'd fixed this. Will look into it, and sorry for the confusion!

@askarpets
Copy link
Contributor Author

Hey @brianjlai & @askarpets, we definitely don't intend to be checking the stream order. I actually thought we'd fixed this. Will look into it, and sorry for the confusion!

Thank you @clnoll!

@lazebnyi lazebnyi merged commit dd97d10 into master May 28, 2024
33 checks passed
@lazebnyi lazebnyi deleted the source-pinterest-migrate-to-low-code branch May 28, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/pinterest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants