Skip to content

chore: update facebook custom audience api version from 22.0 to 23.0 - #4735

Merged
ItsSudip merged 3 commits into
developfrom
chore/facebook_custom_audience_version_update
Oct 29, 2025
Merged

ItsSudip merged 3 commits into
developfrom
chore/facebook_custom_audience_version_update

Conversation

@ItsSudip

@ItsSudip ItsSudip commented Oct 27, 2025 •

Copy link
Copy Markdown
Member

What are the changes introduced in this PR?

We are updating the api version from v22.0 to v23.0. We have followed this changeLog. We can't see any changes regarding the /users endpoint, which we use for this destination.

What is the related Linear task?

Resolves INT-4163

Please explain the objectives of your changes below

Put down any required details on the broader aspect of your changes. If there are any dependent changes, mandatorily mention them here

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

N/A

Any new dependencies introduced with this change?

N/A

Any new generic utility introduced or modified. Please explain the changes.

N/A

Any technical or performance related pointers to consider with the change?

N/A

@coderabbitai review


Developer checklist

  • My code follows the style guidelines of this project

  • No breaking changes are being introduced.

  • All related docs linked with the PR?

  • All changes manually tested?

  • Any documentation changes needed with this change?

  • Is the PR limited to 10 file changes?

  • Is the PR limited to one linear task?

  • Are relevant unit and component test-cases added in new readability format?

Reviewer checklist

  • Is the type of change in the PR title appropriate as per the changes?

  • Verified that there are no credentials or confidential data exposed with the changes.

@ItsSudip
ItsSudip requested a review from a team as a code owner October 27, 2025 16:43
@coderabbitai

coderabbitai Bot commented Oct 27, 2025 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Updated Facebook Custom Audience integration to the latest Graph API version for improved compatibility and platform support.

Walkthrough

BASE_URL in the Facebook Custom Audience destination config was bumped from v22.0 to v23.0. No other code, endpoints, control flow, error handling, or exports were modified.

Changes

Cohort / File(s) Summary
Facebook Graph API version bump
src/v0/destinations/fb_custom_audience/config.js
Updated BASE_URL from https://graph.facebook.com/v22.0 to https://graph.facebook.com/v23.0 (version-only change)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Quick checks: confirm the version bump was intentional and that no API surface used by this destination changed between v22.0 → v23.0.
  • File(s) to glance at: src/v0/destinations/fb_custom_audience/config.js.

Possibly related PRs

Suggested reviewers

  • krishna2020
  • sivashanmukh
  • koladilip

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Title Check ✅ Passed The pull request title "chore: update facebook custom audience api version from 22.0 to 23.0" directly corresponds to the main change described in the raw_summary, which updates the BASE_URL constant from v22.0 to v23.0. The title uses the appropriate "chore:" prefix for a maintenance update, is specific and clear about what was changed, and avoids vague language or unnecessary details. A teammate reviewing the commit history would immediately understand that this PR addresses a Facebook API version upgrade for the custom audience destination.
Description Check ✅ Passed The pull request description follows the repository template structure and includes all required sections: a clear explanation of the changes (API version bump with changelog reference), the related Linear task (INT-4163), and appropriate N/A markings for sections not applicable to this maintenance update. The description demonstrates thoughtful review of the changelog to verify no breaking changes to the endpoint used by this destination. While the developer and reviewer checklists remain unchecked, this is acceptable for a straightforward version bump and does not prevent the description from being substantially complete and informative.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/facebook_custom_audience_version_update

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 43c218b and f9989f9.

⛔ Files ignored due to path filters (5)
  • test/integrations/destinations/fb_custom_audience/dataDelivery/business.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/dataDelivery/data.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/dataDelivery/other.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/processor/data.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/router/data.ts is excluded by !**/test/**
📒 Files selected for processing (1)
  • src/v0/destinations/fb_custom_audience/config.js (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/v0/destinations/fb_custom_audience/config.js
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Code Coverage
  • GitHub Check: test_and_publish
  • GitHub Check: UT Tests
  • GitHub Check: Analyze (go)
  • GitHub Check: Analyze (javascript-typescript)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 0

🧹 Nitpick comments (1)
src/v0/destinations/fb_custom_audience/config.js (1)

1-1: Update to Facebook Marketing API v24.0, the current stable version.

The current change updates to v23.0 (released May 29, 2025), but v24.0 is the current stable version as of October 27, 2025 (released October 8, 2025). Updating to v23.0 leaves the API endpoint on an intermediate version that is now three weeks behind the latest stable release.

Recommendation: Update BASE_URL to use v24.0 instead:

const BASE_URL = 'https://graph.facebook.com/v24.0';

This ensures the codebase benefits from the latest stable improvements and security updates.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d5dad51 and f00fa6f.

⛔ Files ignored due to path filters (5)
  • test/integrations/destinations/fb_custom_audience/dataDelivery/business.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/dataDelivery/data.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/dataDelivery/other.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/processor/data.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/router/data.ts is excluded by !**/test/**
📒 Files selected for processing (1)
  • src/v0/destinations/fb_custom_audience/config.js (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.js

⚙️ CodeRabbit configuration file

Focus on ESLint errors (max 3) and warnings (max 5).

Files:

  • src/v0/destinations/fb_custom_audience/config.js
🧠 Learnings (1)
📓 Common learnings
Learnt from: ItsSudip
PR: rudderlabs/rudder-transformer#4589
File: scripts/common.ts:74-78
Timestamp: 2025-08-28T15:39:08.293Z
Learning: User ItsSudip prefers simpler solutions over complex edge case handling, especially when the simpler approach is sufficient for the actual use case.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Code Coverage
  • GitHub Check: test_and_publish
  • GitHub Check: UT Tests
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (go)

@codecov

codecov Bot commented Oct 27, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.92%. Comparing base (690dc83) to head (f9989f9).
⚠️ Report is 15 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4735   +/-   ##
========================================
  Coverage    91.92%   91.92%           
========================================
  Files          651      651           
  Lines        34609    34609           
  Branches      8121     8122    +1     
========================================
  Hits         31816    31816           
  Misses        2563     2563           
  Partials       230      230           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@ItsSudip ItsSudip changed the title chore: update facebook custom audience api version from 22.0 to 23.0 chore: update facebook custom audience api version from 22.0 to 24.0 Oct 28, 2025

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f00fa6f and 43c218b.

⛔ Files ignored due to path filters (5)
  • test/integrations/destinations/fb_custom_audience/dataDelivery/business.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/dataDelivery/data.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/dataDelivery/other.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/processor/data.ts is excluded by !**/test/**
  • test/integrations/destinations/fb_custom_audience/router/data.ts is excluded by !**/test/**
📒 Files selected for processing (1)
  • src/v0/destinations/fb_custom_audience/config.js (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.js

⚙️ CodeRabbit configuration file

Focus on ESLint errors (max 3) and warnings (max 5).

Files:

  • src/v0/destinations/fb_custom_audience/config.js
🧠 Learnings (1)
📓 Common learnings
Learnt from: ItsSudip
PR: rudderlabs/rudder-transformer#4589
File: scripts/common.ts:74-78
Timestamp: 2025-08-28T15:39:08.293Z
Learning: User ItsSudip prefers simpler solutions over complex edge case handling, especially when the simpler approach is sufficient for the actual use case.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Code Coverage
  • GitHub Check: test_and_publish
  • GitHub Check: UT Tests
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (go)

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@ItsSudip ItsSudip changed the title chore: update facebook custom audience api version from 22.0 to 24.0 chore: update facebook custom audience api version from 22.0 to 23.0 Oct 28, 2025
@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@sonarqubecloud

Copy link
Copy Markdown

@ItsSudip
ItsSudip merged commit 5fea30f into develop Oct 29, 2025
@ItsSudip
ItsSudip deleted the chore/facebook_custom_audience_version_update branch October 29, 2025 10:39
ItsSudip added a commit that referenced this pull request Nov 12, 2025
* feat: introduce e2e tests UT (#4686)

* chore: update slack notification list (#4706)

* chore: skip pushing docker images for dependabot (#4714)

* chore: skip building images for debendabot

* chore: review comments

* chore: skip docker login for dependabot

* chore: skip docker login for dependabot

* chore: misc

* chore: misc

* chore: misc

* chore: misc

* chore: review comments

* chore: review comments

* chore: review comments

* chore: review comments

* chore: review comments

* chore: add dub to new test structure (#4717)

* chore: add readme for campaign_manager (#4710)

* chore: update GAOC readme with quota link (#4723)

* chore: apply security best practices (#4708)

[StepSecurity] Apply security best practices

Signed-off-by: StepSecurity Bot <[email protected]>

* feat: add validation of diff in staging deployment workflow (#4722)

* chore(deps-dev): bump commander from 10.0.1 to 14.0.2

Bumps [commander](https://github.com/tj/commander.js) from 10.0.1 to 14.0.2.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](tj/commander.js@v10.0.1...v14.0.2)

---
updated-dependencies:
- dependency-name: commander
  dependency-version: 14.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(deps-dev): bump supertest from 6.3.4 to 7.1.4 (#4525)

---
updated-dependencies:
- dependency-name: supertest
  dependency-version: 7.1.4
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: add env vars for controlling the connection pooling on python transformations (#4738)

* chore: update facebook conversion api version from 22.0 to 24.0 (#4734)

* chore: update facebook conversion api version from 22.0 to 23.0

* chore: update facebook conversion api version from 23.0 to 45.0

* chore: fix typo

* chore: update facebook custom audience api version from 22.0 to 23.0 (#4735)

* chore: update facebook custom audience api version from 22.0 to 23.0

* chore: update facebook custom audience api version from 23.0 to 24.0

* chore: update facebook custom audience api version from 24.0 to 23.0 as it has some breaking changes

* chore: update facebook pixel api version from 22.0 to 24.0 (#4737)

* chore: update facebook pixel api version from 22.0 to 24.0

* chore: update facebook app events api version from 22.0 to 24.0 (#4736)

* chore: move rs-ai memory bank to transformer

* chore: add nodemon for hot reloading (#4748)

* chore: refactor code to update variable name in more readable format (#4747)

* feat: source transformation endpoint for facebook_lead_ads_native source (#4746)

* chore: disable clustering in nodemon configuration (#4749)

* chore: run format check on all files (#4750)

* fix: intercom rETL flow when user_id only provided as identifier (#4739)

* chore: apply security best practices from step security (#4727)

[StepSecurity] Apply security best practices

Signed-off-by: StepSecurity Bot <[email protected]>
Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com>

* chore(deps): bump actions/setup-node from 5.0.0 to 6.0.0

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: remove logs logging request/response body (#4754)

* chore: disable pyroscope for primary process in cluster mode (#4756)

* feat(reddit): onboard v3 api (#4699)

* feat(reddit): onboard v3 api

* chore: implement router batching flow

* feat: enable batching scenario

* chore: add test cases

* chore: address coderabbit comments

* chore: add mock for timestamp

* chore: add documentation for reddit

* fix: use crypto for hashing

* chore: address coderabbit comment

* chore: address comments

* chore: add validation and remove double type assertion

* chore: remove undefined files from final palyload

* chore: fix test case

* feat(reddit): onboard v3 api

* chore: implement router batching flow

* feat: enable batching scenario

* chore: add test cases

* chore: address coderabbit comments

* chore: add mock for timestamp

* chore: add documentation for reddit

* fix: use crypto for hashing

* chore: address coderabbit comment

* chore: address comments

* chore: add validation and remove double type assertion

* chore: remove undefined files from final palyload

* chore: fix test case

* chore: apply format

* chore: apply format

* chore(deps): bump actions/checkout from 4.3.0 to 5.0.0

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4.3.0...08c6903)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* feat: add advertiser_tracking_enabled mapping for pinterest without featureFlag (#4740)

* chore(deps): bump actions/stale from 10.0.0 to 10.1.0

Bumps [actions/stale](https://github.com/actions/stale) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v10.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: 10.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: handle breaking changes for commander

* chore: fix breaking commander changes

* chore(release): 1.112.0

---------

Signed-off-by: StepSecurity Bot <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Rohith BCS <[email protected]>
Co-authored-by: Vinay Teki <[email protected]>
Co-authored-by: Mahesh Kutty <[email protected]>
Co-authored-by: Sudip Paul <[email protected]>
Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com>
Co-authored-by: Krishna Chaitanya <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jayachand Mopidevi <[email protected]>
Co-authored-by: GitHub Actions <[email protected]>
Co-authored-by: shekhar-rudder <[email protected]>
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.

3 participants