-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 : Fix engagements streams associations configurations #43381
🐛 Source Hubspot : Fix engagements streams associations configurations #43381
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@kev-datams The Changes make sense to me. I just wanted to check the regression results, but we have some problem rendering them for now. I will check if I can get that fixed. In the meantime, some unit tests are broken, probably because of the change In the requests. Can you take a look at those? |
Also please when fixing the test rebase from master, seems is what we need to have regression working on the branch. Thanks! |
…urce-hubspot-engagements-associations
Hi @aldogonzalez8, NB: any idea about the complementary fix on the "third point" of the issue ? |
Hi @kev-datams, there was a problem in unit tests unrelated to your changes that I just fixed. Can you please rebase from master again? I will rerun tests after that. |
Hi @aldogonzalez8, done 🙏
🔥 |
@kev-datams I was just informed that regression won't work in the CI process for a fork, but I can clone your repository locally and run regression from here. Your changes seem pretty straightforward, but I want to be sure. I will get back to you on this. |
@aldogonzalez8, do you know if there is any alternative on our side to save time for future PR and limit workload on your side? but OK, waiting for your confirmation to merge 🙏 |
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.
APPROVED
thanks @aldogonzalez8 🔥 |
If squash and merge available for you? If not, maybe it is something I have to push. |
Ok, I just merged, the new version should be available in a few minutes. |
Thanks a lot ! |
What
Partially fixes #43352
-> if
state
is filled, theIncremental
sync was not properly retrievingDeals
andCompanies
associations for allEngagements
specific streams (emails, calls, meetings, tasks, notes).NB: it will not solve the third point:
I also noticed in the stream logs a schema validation error specific to the contacts (eg: Schema validation errors found for stream _engagements_meetings. Error messages: [$.contacts[2]: integer found, [null, string] expected, $.contacts[1]: integer found, [null, string] expected, $.contacts[0]: integer found, [null, string] expected])
=> perhaps adding a
str()
somewhere in the code ? 🤔How
Fix the
associations
configuration ofEngagementsXxx
Python classes to use plural (the same way it was used forContacts
that properly worked)Review guide
stream.py
is the only impacted fileUser Impact
Collected data quality improved ❤️
Can this PR be safely reverted and rolled back?