Repository navigation
fix(gaec): remove unused access token from transform params - #5746
shekhar-rudder merged 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
|
There was a problem hiding this comment.
🟢 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.accessTokenfrom 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



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 onlyheaders.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
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.jsonandnpx tsc --noEmit -p tsconfig.test.json— passed.SECRET_PATHS_INTEGRATIONS_CONFIG=/workspace/rudder-integrations-config/src/configurations/destinations npm run check:secret-paths— passed.Developer checklist
Reviewer checklist