Skip to content

chore(source-facebook-marketing): sync fork to upstream 6.1.12 - #12

Open
gvillafanetapia wants to merge 1 commit into
fix/source-fb-marketing-v25-syncfrom
chore/source-fb-marketing-sync-upstream-6.1.12
Open

gvillafanetapia wants to merge 1 commit into
fix/source-fb-marketing-v25-syncfrom
chore/source-fb-marketing-sync-upstream-6.1.12

Conversation

@gvillafanetapia

Copy link
Copy Markdown
Member

What

Syncs the forked source-facebook-marketing from upstream airbytehq/airbyte 5.2.12 -> 6.1.12 (upstream commit f5cbf0fd54a) and re-applies the fork patches. Connector version 6.2.0. Still Meta Marketing API v25 (facebook-business ^25.0.0).

Fork patches on top of upstream (13 files, +64/-16):

  • attribution_spec field on the ad_sets stream.
  • qualifying_question_qualify_answer_rate is never requested from the insights API (Meta rejects it with error run tests in default docker mountpoints airbytehq/airbyte#100 since 2026-11-19; upstream 6.1.12 still requests it).
  • README.md as a real file instead of the cross-directory symlink, for the fork image build.

Stacked on #10. This is independent of the 5.3.1 hotfix there, which can be deployed first.

What we get from upstream

  • 6.1.3: insights cursor no longer moves backwards after interrupted attempts; stale completed slices cleaned from state.
  • 6.1.2: ad-account quota errors wait out the block instead of being retried as transient failures.
  • 6.1.8: retries for dropped connections, truncated responses and read timeouts.
  • 6.1.12: insights schema built once per stream instead of per record (faster custom insights).
  • 5.2.13 / 5.2.14: fixes for invalid field requests on breakdown streams and clearer errors for un-generatable reports.

⚠️ Things to check before deploying

  • 6.0.0 breaking change: ads_insights_dma / ads_insights_demographics_dma_region streams and the dma custom-insights breakdown are removed. Our custom insights use only action_type action breakdowns, so no impact is expected; confirm no connection has those streams enabled.
  • Runtime: minimum Python is now 3.11 and the base image is python-connector-base:4.1.1 (Python 3.13); CDK ^7.45.
  • State: 6.1.3 changes how insights state is advanced and cleaned. Validate on one connection (dev/stage) that an incremental sync resumes from the existing state before rolling out to all.
  • 6.1.9: custom insights primary key now follows the configured breakdowns order.

Tests

  • Connector unit suite on Python 3.13 with the lockfile's pinned SDK/CDK: 521 passed, including a new regression test for the excluded field.
  • Not run: integration/acceptance tests, a real sync against Meta, or an image build.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌ (state written by 6.x may not be readable by 5.x; validate before relying on rollback)

🤖 Generated with Claude Code

…pply fork patches

Re-applies attribution_spec on ad_sets and the exclusion of the
qualifying_question_qualify_answer_rate insights field. Version 6.2.0.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

👋 Welcome to Airbyte!

Thank you for your contribution from MuttData/airbyte! We're excited to have you in the Airbyte community.

Helpful Resources

PR Slash Commands

As needed or by request, Airbyte Maintainers can execute the following slash commands on your PR:

  • /format-fix - Fixes most formatting issues.
  • /bump-version - Bumps connector versions.
  • /run-connector-tests - Runs connector tests.
  • /run-cat-tests - Runs CAT tests.
  • /build-connector-images - Builds and publishes a pre-release docker image for the modified connector(s).

If you have any questions, feel free to ask in the PR comments or join our Slack community.

Tips for Working with CI

  1. Pre-Release Checks. Please pay attention to these, as they contain standard checks on the metadata.yaml file, docs requirements, etc. If you need help resolving a pre-release check, please ask a maintainer.
    • Note: If you are creating a new connector, please be sure to replace the default logo.svg file with a suitable icon.
  2. Connector CI Tests. Some failures here may be expected if your tests require credentials. Please review these results to ensure (1) unit tests are passing, if applicable, and (2) integration tests pass to the degree possible and expected.
  3. (Optional.) BYO Connector Credentials for tests in your fork. You can optionally set up your fork with BYO credentials for your connector. This can significantly speed up your review, ensuring your changes are fully tested before the maintainers begin their review.

📝 Edit this welcome message.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant