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 Hubspot (refactor): Remove deprecated state method calls #39432

Merged
merged 11 commits into from
Jun 19, 2024

Conversation

ChristoGrab
Copy link
Contributor

@ChristoGrab ChristoGrab commented Jun 12, 2024

What

Source Hubspot was recently migrated to the Checkpoint implementation of state management to leverage RFR for applicable streams. As such, the deprecated get_updated_state method should no longer be used to determine state. This PR removes the references to get_updated_state in the connector, and enables CAT incremental tests, which were previously disabled due to overly long runtimes.

How

  • Removed references to the deprecated get_updated_state method.
  • Enabled incremental tests in acceptance-test-config
  • Updated test states in abnormal_state to the correct cursor fields and types
  • Moved CAT test catalogs from sample_files to integration_tests folder for consistency. Deleted additional unused catalogs.

User Impact

No impact. Link to regression test results

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Jun 12, 2024

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 6:27pm

@ChristoGrab ChristoGrab marked this pull request as ready for review June 18, 2024 19:01
@ChristoGrab ChristoGrab requested a review from a team June 18, 2024 19:01
Copy link
Collaborator

@bazarnov bazarnov left a comment

Choose a reason for hiding this comment

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

Let's have the Live-Testing run around this change, to see if it recognizes the STATE format change. @ChristoGrab

@ChristoGrab
Copy link
Contributor Author

@bazarnov Linking the live test results here, everything seems to check out

@ChristoGrab ChristoGrab merged commit f39f3fc into master Jun 19, 2024
40 checks passed
@ChristoGrab ChristoGrab deleted the christo/hubspot/state branch June 19, 2024 16:39
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/hubspot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants