Skip to content

Comments

🐛 Source Salesforce: Fix state parsing issue#55898

Merged
Maxime Carbonneau-Leclerc (maxi297) merged 4 commits intomasterfrom
maxi297/fix-salesforce-cursor-parsing-issue
Mar 25, 2025
Merged

🐛 Source Salesforce: Fix state parsing issue#55898
Maxime Carbonneau-Leclerc (maxi297) merged 4 commits intomasterfrom
maxi297/fix-salesforce-cursor-parsing-issue

Conversation

@maxi297
Copy link
Contributor

What

Following rollback here, this is the fix to ensure we don't fail on serializing the state.

How

Up the CDK version following airbytehq/airbyte-python-cdk#436

Review guide

Test has been updated before the CDK upgrade to reproduce 'str' object has no attribute 'year' error and the test was updated to reflect the new state.

User Impact

We can update the CDK to the newest version and it should pick up auto update now.

For the end user, nothing should change.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

This will start populating most_recent_cursor_value in the DB which will start creating this error in the DB if we revert to 2.6.5

@vercel
Copy link

vercel bot commented Mar 21, 2025

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 Mar 24, 2025 5:16pm

@maxi297
Copy link
Contributor Author

Maxime Carbonneau-Leclerc (maxi297) commented Mar 24, 2025

Running regression tests here: https://github.com/airbytehq/airbyte/actions/runs/14036199134

EDIT: killed because it was too long. I used a connection which I know the sync shouldn't be so long: https://github.com/airbytehq/airbyte/actions/runs/14040416187

@maxi297
Copy link
Contributor Author

Maxime Carbonneau-Leclerc (maxi297) commented Mar 24, 2025

/approve-regression-tests The catalog is different but it is dynamic so I'm not too worried about that

Check job output.

✅ Approving regression tests

@maxi297 Maxime Carbonneau-Leclerc (maxi297) merged commit 432f6d2 into master Mar 25, 2025
28 of 29 checks passed
@maxi297 Maxime Carbonneau-Leclerc (maxi297) deleted the maxi297/fix-salesforce-cursor-parsing-issue branch March 25, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants