-
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 Marketo: fix encoding error for Lead sync #20973
🐛 Source Marketo: fix encoding error for Lead sync #20973
Conversation
@CyprienBarbault hope you are well, thanks for your contribution. I’m one of the maintainers here at Airbyte. I'll take a look at your changes, please bear with me. |
/test connector=connectors/source-marketo
Build PassedTest summary info:
|
@koconder Thank you for your help. What are the next steps ? |
@CyprienBarbault I’ll need to add some additional changes to your PR to add the version number increase and then run a few more checks, once this is all OK we will release alongside other changes. If Marketo connector is a GA connector I'll also get another code-reviewer to double check the work. As its just after the holidays, just bear with us as we clear through the backlog 👍 |
Hello @koconder what's the update on this ? |
/publish connector=connectors/source-marketo run-tests=false
if you have connectors that successfully published but failed definition generation, follow step 4 here |
Needs additional review from another airbyte reviewer as this is a connector in GA. |
@marcosmarxm this PR published a version of the connector, but it was never published, and it's causing trouble for #22015 |
/test connector=connectors/source-marketo
Build FailedTest summary info:
|
It was published but not merged, probably this is causing the issue? |
Yep, that's what's causing the issue. If tests are passing I'm happy to get it in before merging mine, but I also noticed that our #connector-health tests for this source started failing on the same date that it was published, and I'm not sure if it's related. Running the tests now to see what we get |
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.
To me this seems like a pretty innocuous change, and most likely not causing the issues seen in the tests, as they also appear on the master branch. I'm going to go ahead and get this merged so that the repo reflects whats available on docker hub.
It's more complicated now that someone has already released a newer version, which is what I was trying to avoid - technically these changes aren't in 1.0.0. I'll try to make that reflected as much as possible
regular CI won't run on the fork due to lack of access to the PAT, but confirmed that the failure is the same on master, and formatting looks fine. Merging |
What
This is a fix for an issue I reported -> #20641
When syncing Marketo lead, it appears that those with name containing non-latin character would make the sync fail. In particular we have a Lead whose name is Vietnamese (cf https://en.wikipedia.org/wiki/Vietnamese_name for exemple names)
In fact, the response from the marketo API was being fall-backed to the default encoding
ISO-8859-1
instead ofutf-8
(cf psf/requests#5445 (comment))How
Forcing the encoding to
utf-8
fixed the issueRecommended reading order
source.py
🚨 User Impact 🚨
Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.
I'm not sure but I don't think so
Pre-merge Checklist
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing/publish
command described hereTests
Unit
unit_test_result.txt
Integration
Put your integration tests output here.
Acceptance
Put your acceptance tests output here.