Skip to content

Source: Salesforce - Upgrade API to v62.0 - #53229

Merged
Alfredo Garcia (agarctfi) merged 9 commits into
masterfrom
agarctfi/source-salesforce/upgrade-api-version-v62.0
Feb 18, 2025
Merged

Alfredo Garcia (agarctfi) merged 9 commits into
masterfrom
agarctfi/source-salesforce/upgrade-api-version-v62.0

Conversation

@agarctfi

Copy link
Copy Markdown
Contributor

What

Solves: https://github.com/airbytehq/oncall/issues/7362

The new version of this API should have new fields for streams that users are requesting we add.

How

Update the API version on all tests, expected records, & streams.

Review guide

Run regressions to ensure the new version doesn't have adverse effects. Ensure no tests are still running on the old version.

User Impact

Users should have no side effects; they will be prompted to update their schema.

Can this PR be safely reverted and rolled back?

  • [ X] YES 💚
  • NO ❌

@agarctfi
Alfredo Garcia (agarctfi) requested a review from a team as a code owner February 7, 2025 18:17
@vercel

vercel Bot commented Feb 7, 2025 •

Copy link
Copy Markdown

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 Feb 13, 2025 6:50pm

@agarctfi Alfredo Garcia (agarctfi) changed the title Source: Salesforce - Upgrade API to v60.0 Source: Salesforce - Upgrade API to v62.0 Feb 7, 2025
class Salesforce:
logger = logging.getLogger("airbyte")
version = "v57.0"
version = "v62.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The new version of this API should have new fields for streams that users are requesting we add.

Dumb question because I don't know, do we get these new fields for free? There is no need to update the stream schemas?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is a good question. I've seen instances where the schema updates automatically, but I'm not sure how that works. To be on the safe side, I think I can update it.

Comment thread docs/integrations/sources/salesforce.md Outdated

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------|
| 2.6.5 | 2025-02-07 | [XXXXX](https://github.com/airbytehq/airbyte/pull/XXXXX) | Upgrade to API v62.0 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is there an urgency to ship this or can it wait till Monday?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Can likely wait, will update this once it is finalized

@aldogonzalez8

Copy link
Copy Markdown
Contributor

I left a few questions; probably everything is fine but keep an eye on regression results.

bypass_reason: "impossible to fill the stream with data because it is an organic traffic"
- name: "Describe"
bypass_reason: "Data is not permanent"
- name: "LeadHistory"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We weren't pulling any records for LeadHistory. I tested on the current version of the connector and got the same results. When I checked in Salesforce, it showed we had no leads. Therefore, I removed 'LeadHistory' from the acceptance tests for basic reads. Also, when I tried creating a new lead, it gave me a storage limit error.
Screenshot 2025-02-07 at 2 12 31 PM

@agarctfi

Alfredo Garcia (agarctfi) commented Feb 7, 2025 •

Copy link
Copy Markdown
Contributor Author

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (8c08171)

@agarctfi

Copy link
Copy Markdown
Contributor Author

CI test are now passing :D Previous regression timeout, so running another one 🤞

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

APPROVED

@agarctfi

Copy link
Copy Markdown
Contributor Author

There are 980 Streams to Sync for this connector, which is why I suspect Regression timing out. Locally, I did not have any issues syncing records. However, I'm enabling progressive rollouts to be on the safe side & Will start them on Tuesday.

@agarctfi

Alfredo Garcia (agarctfi) commented Feb 13, 2025 •

Copy link
Copy Markdown
Contributor Author

/approve-regression-tests

Check job output.

✅ Approving regression tests

@agarctfi

Alfredo Garcia (agarctfi) commented Feb 13, 2025 •

Copy link
Copy Markdown
Contributor Author

/approve-regression-tests

Check job output.

✅ Approving regression tests

@agarctfi
Alfredo Garcia (agarctfi) merged commit 83b9cd0 into master Feb 18, 2025
@agarctfi
Alfredo Garcia (agarctfi) deleted the agarctfi/source-salesforce/upgrade-api-version-v62.0 branch February 18, 2025 15:13

This branch was successfully deployed

1 active deployment
Preview — cc7d91d7 Deployed Feb 13, 2025 by vercel[bot]
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/salesforce

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants