Skip to content

πŸ› Source Facebook Marketing : Fix retry pattern - #54171

Merged
M. Marx (marcosmarxm) merged 6 commits into
airbytehq:masterfrom
NahidOulmi:fix_facebook_marketing_retry_pattern
Mar 26, 2025
Merged

M. Marx (marcosmarxm) merged 6 commits into
airbytehq:masterfrom
NahidOulmi:fix_facebook_marketing_retry_pattern

Conversation

@NahidOulmi

Copy link
Copy Markdown
Contributor

What

The retry pattern was dividing the request limit by 2 at each failed retry but was not setting back to default settings if the retry succeeded

How

There was a typo in the common.py file. last_api_call_is_successful was written with two Ls but it's defined with one L in the MyFacebookAdsApi class.

User Impact

The syncs in the Source Facebook Marketing connector should work better.

Can this PR be safely reverted and rolled back?

  • [πŸ’š ] YES πŸ’š

@NahidOulmi
Nahid (NahidOulmi) requested a review from a team as a code owner February 20, 2025 13:39
@vercel

vercel Bot commented Feb 20, 2025

Copy link
Copy Markdown

Nahid (@NahidOulmi) is attempting to deploy a commit to the Airbyte Growth Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Feb 21, 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 Mar 26, 2025 4:37pm

@marcosmarxm M. Marx (marcosmarxm) left a comment

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.

From what I can identify the chance is correct. Baz (@bazarnov) can you take a look as you're the last to make changes in this Facebook logic?

@marcosmarxm

Copy link
Copy Markdown
Contributor

Nahid (@NahidOulmi) thanks for the fix, running tests!

@marcosmarxm

M. Marx (marcosmarxm) commented Mar 26, 2025 •

Copy link
Copy Markdown
Contributor

/format-fix

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

βœ… Changes applied successfully. (69b46aa)

This branch was successfully deployed

1 active and 2 inactive deployments
Preview β€” 69b46aa7 Deployed Mar 26, 2025 by vercel[bot]
community-ci β€” 69b46aa7 Deployed Mar 26, 2025 by octavia-the-approver
community-ci-auto β€” 69b46aa7 Deployed Mar 26, 2025 by octavia-the-approver
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 community connectors/source/facebook-marketing

Development

Successfully merging this pull request may close these issues.

5 participants