Skip to content

fix(gaec): remove unused access token from transform params - #5746

Merged
shekhar-rudder merged 1 commit into
developfrom
harness/INT-7461-fix-gaec-remove-unused-access-t-7e470e7f
Oct 28, 2026
Merged

shekhar-rudder merged 1 commit into
developfrom
harness/INT-7461-fix-gaec-remove-unused-access-t-7e470e7f

Conversation

@rudder-devbox

@rudder-devbox rudder-devbox Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

Remove the unused GAEC per-event params.accessToken, update processor expectations, and regenerate the secret-path manifest so GAEC masks only headers.Authorization.

What is the related Linear task?

Resolves INT-7461

Please explain the objectives of your changes below

Avoid retaining a second, unused copy of the OAuth token in transformed requests. The Authorization header and metadata-based conversion-action lookup remain unchanged.

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

Per-event output no longer includes params.accessToken. No change to the request sent to Google.

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?

The full secret-path manifest was regenerated against the local integrations-config main checkout; its only diff is the GAEC entry.

Validation

  • Local mini integration verification skipped: transformer source is not linkable in this sandbox; the available mini service runs a stock image.
  • npm run lint — passed.
  • npm test -- --testPathPattern="google_adwords_enhanced_conversions" --no-coverage — 52 passed.
  • npm run test:ts -- component --destination=google_adwords_enhanced_conversions — 35 passed.
  • npx tsc --noEmit -p tsconfig.json and npx tsc --noEmit -p tsconfig.test.json — passed.
  • Full-corpus SECRET_PATHS_INTEGRATIONS_CONFIG=/workspace/rudder-integrations-config/src/configurations/destinations npm run check:secret-paths — passed.
  • No simplifications worth making.

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? No.
  • 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? Existing full-object fixtures were updated and passed.

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.

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5c7d52bc-e86f-4632-9585-7ef8abefb139

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.40%. Comparing base (757d06b) to head (143d2e8).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5746   +/-   ##
========================================
  Coverage    92.40%   92.40%           
========================================
  Files          737      737           
  Lines        40859    40859           
  Branches      9586     9510   -76     
========================================
  Hits         37754    37754           
- Misses        2844     2921   +77     
+ Partials       261      184   -77     

☔ View full report in Codecov by Harness.
📢 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.

@sonarqubecloud

Copy link
Copy Markdown

@shekhar-rudder
shekhar-rudder marked this pull request as ready for review October 28, 2026 04:45
Copilot AI balanced review requested due to automatic review settings October 28, 2026 04:45
@shekhar-rudder
shekhar-rudder requested review from a team as code owners October 28, 2026 04:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the change removing the duplicate GAEC OAuth token parameter.

No open issues 🎉

What changed in this PR

Removes the unused duplicate OAuth token from Google Ads Enhanced Conversions (GAEC) transform parameters while preserving Authorization-header authentication and metadata-based conversion-action lookup.

Changes:

  • Removes params.accessToken from transform output and its explicit type declaration.
  • Updates processor expectations to match the reduced output.
  • Regenerates the secret-path manifest so GAEC masks only headers.Authorization.
File Description
test/​integrations/​destinations/​google_adwords_enhanced_conversions/​processor/​data.ts Removes the token parameter from seven expected outputs.
src/​v0/​destinations/​google_adwords_enhanced_conversions/​types.ts Removes the explicit accessToken parameter declaration.
src/​v0/​destinations/​google_adwords_enhanced_conversions/​transform.ts Stops copying the OAuth token into request parameters.
src/​secretPaths/​secretPaths.json Removes GAEC’s obsolete params.accessToken masking path.

Review effort: Balanced

@shekhar-rudder
shekhar-rudder merged commit e5656e5 into develop Oct 28, 2026
52 checks passed
@shekhar-rudder
shekhar-rudder deleted the harness/INT-7461-fix-gaec-remove-unused-access-t-7e470e7f branch October 28, 2026 04:48
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