-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 Intercom: Migrate to manifest only format with components #47240
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
/format-fix
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@btkcodedev Danylo and I were going over the changes and it does seem like streams which were previously reading successfully are now throwing 422 errors (company_attributes stream is an example). I recommend running the connector locally to test it out, it's possible the issue is with the custom component code not functioning after the CDK upgrade, we may need to make some updates. Let us know if you have any trouble with testing!
@ChristoGrab I've made some changes and tested the streams in local, removed some unwanted parameters and fully revised code to new version |
@btkcodedev Looks like we're getting very close! CAT tests show both the incremental substreams (conversation_parts and company_segments) failing on the future-state test. Looking at the abnormal_state file, I think the failure is at least in part due to the way the state object is constructed in the sample. Since they're substreams, I would expect the state object to use per-partition states, and look something like:
This is probably a good starting point to investigate to make sure the acceptance test is giving us accurate results. As a heads up, I tried playing with the state for company_segments, but was still seeing the same records returned, so I don't think this is just a problem with the sample state in the tests. |
@ChristoGrab Necessary tests passed with Intercom, |
…ub.com/airbytehq/airbyte into btkcodedev/intercomMigrateManifestOnly
Aha, We've got an interesting condition here @ChristoGrab. So my opinion is to remove the unit tests as it is purely manifest with components right now. |
/format-fix
|
@btkcodedev Taking a look! You're right, and I think the issue may be that we switched to using concurrent reads in CDK 6 by default, which may have an impact on incremental substream behavior. I commented out the unit tests for now, running a fresh round of tests to verify. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking as a release candidate for progressive rollout. Thanks for your hard work @btkcodedev!
What
Closes https://github.com/airbytehq/airbyte-internal-issues/issues/11089
Source Intercom: Migrate to manifest-only formats with components
How
Migrated to inline schemas
Migrated spec
Migrated to manifest only with ci
Migration report