Repository navigation
fix: add correct host for salesforceBU destination - #6906
Merged
Merged
Conversation
🔒 Scanned for secrets using gitleaks 8.28.0
achettyiitr
approved these changes
Apr 23, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/1.73.x #6906 +/- ##
==================================================
- Coverage 78.83% 78.19% -0.65%
==================================================
Files 565 565
Lines 75635 75113 -522
==================================================
- Hits 59629 58735 -894
- Misses 13016 13400 +384
+ Partials 2990 2978 -12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ItsSudip
enabled auto-merge (squash)
April 23, 2026 13:04
atzoum
approved these changes
Apr 23, 2026
Merged
ItsSudip
pushed a commit
that referenced
this pull request
Apr 23, 2026
🤖 I have created a release *beep* *boop* --- ## [1.73.2](v1.73.1...v1.73.2) (2026-04-23) ### Bug Fixes * add correct host for salesforceBU destination ([#6906](#6906)) ([e73a82c](e73a82c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
atzoum
added a commit
that referenced
this pull request
Apr 23, 2026
# Description Syncing patch release v1.73.2 to main branch **↓↓ Please review and edit commit overrides before merging ↓↓** BEGIN_COMMIT_OVERRIDE fix: add correct host for salesforceBU destination (#6906) END_COMMIT_OVERRIDE --------- Co-authored-by: Akash Chetty <[email protected]> Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com> Co-authored-by: Sudip Paul <[email protected]> Co-authored-by: Aris Tzoumas <[email protected]>
This was referenced Apr 27, 2026
Closed
Merged
mihir20
pushed a commit
that referenced
this pull request
Apr 27, 2026
🤖 I have created a release *beep* *boop* --- ## [1.74.0-rc.1](v1.73.0...v1.74.0-rc.1) (2026-04-27) ### Features * add configurable batch size for bulk inserting failed rsources records ([#6873](#6873)) ([d8f6ea0](d8f6ea0)) * add native deletion support for identity removal in gzip files ([#6896](#6896)) ([c1e27d0](c1e27d0)) * deep job pickups when no results cache is cold ([#6850](#6850)) ([03e9d88](03e9d88)) * **jobsdb:** improve migration compaction ([#6844](#6844)) ([b7f2b9f](b7f2b9f)) ### Bug Fixes * add correct host for salesforceBU destination ([#6906](#6906)) ([2430cb4](2430cb4)) * batch router drained events metrics ([#6898](#6898)) ([c5b2927](c5b2927)) * build action failing ([#6899](#6899)) ([691a812](691a812)) * snowpipe struck scenarios ([#6895](#6895)) ([35b07a8](35b07a8)) * use tid instead of vid ([#6908](#6908)) ([954dcf7](954dcf7)) ### Miscellaneous * avoid marshalling proc error job payloads ([#6872](#6872)) ([145826b](145826b)) * bump build-scan-push-action from v2.1.0 to v2.2.0 ([#6903](#6903)) ([e917f9b](e917f9b)) * contract tests for dns regressions and overrides ([#6864](#6864)) ([b105678](b105678)) * pin and bump action refs (SEC-171) ([#6863](#6863)) ([8089953](8089953)) * pytransformer pooling contract tests ([#6883](#6883)) ([0530c8c](0530c8c)) * scope workflow permissions to least privilege (SEC-167) ([#6911](#6911)) ([5600dbe](5600dbe)) * update Slack notification method in scheduled release workflow ([#6879](#6879)) ([3b67dcb](3b67dcb)) * **vuln:** zizmor --fix=all findings (SEC-199) ([#6905](#6905)) ([d8cc34f](d8cc34f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
mihir20
pushed a commit
that referenced
this pull request
Apr 28, 2026
🤖 I have created a release *beep* *boop* --- ## [1.74.0](v1.73.0...v1.74.0) (2026-04-27) ### Features * add configurable batch size for bulk inserting failed rsources records ([#6873](#6873)) ([d8f6ea0](d8f6ea0)) * add native deletion support for identity removal in gzip files ([#6896](#6896)) ([c1e27d0](c1e27d0)) * deep job pickups when no results cache is cold ([#6850](#6850)) ([03e9d88](03e9d88)) * **jobsdb:** improve migration compaction ([#6844](#6844)) ([b7f2b9f](b7f2b9f)) ### Bug Fixes * add correct host for salesforceBU destination ([#6906](#6906)) ([2430cb4](2430cb4)) * batch router drained events metrics ([#6898](#6898)) ([c5b2927](c5b2927)) * build action failing ([#6899](#6899)) ([691a812](691a812)) * snowpipe struck scenarios ([#6895](#6895)) ([35b07a8](35b07a8)) * use tid instead of vid ([#6908](#6908)) ([954dcf7](954dcf7)) ### Miscellaneous * avoid marshalling proc error job payloads ([#6872](#6872)) ([145826b](145826b)) * bump build-scan-push-action from v2.1.0 to v2.2.0 ([#6903](#6903)) ([e917f9b](e917f9b)) * contract tests for dns regressions and overrides ([#6864](#6864)) ([b105678](b105678)) * pin and bump action refs (SEC-171) ([#6863](#6863)) ([8089953](8089953)) * pytransformer pooling contract tests ([#6883](#6883)) ([0530c8c](0530c8c)) * scope workflow permissions to least privilege (SEC-167) ([#6911](#6911)) ([5600dbe](5600dbe)) * update Slack notification method in scheduled release workflow ([#6879](#6879)) ([3b67dcb](3b67dcb)) * **vuln:** zizmor --fix=all findings (SEC-199) ([#6905](#6905)) ([d8cc34f](d8cc34f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔒 Scanned for secrets using gitleaks 8.28.0
Description
Fixes a 403 from Salesforce Edge on Hyperforce-hosted orgs when calling the Bulk API through the Salesforce Bulk Upload destination.
Root cause
The Salesforce OAuth augmenter at augmenter.go was mutating
r.URL.Hostto the org's instance URL but leavingr.Hostpointing at the placeholder base host.http.NewRequestsnapshotsHostfrom the URL string at construction time, so mutatingURL.Hostalone leaves the outgoingHTTPHost: headerstale. The transport then:Classic Salesforce pods tolerate the mismatched Host header and route based on session token. Hyperforce pods (aws-prod*-*) validate the Host header at the edge layer and reject the mismatched request with a 403 HTML error page from "Salesforce Edge" before it ever reaches the org's API.
This explains why we saw:
✅ Our own Salesforce account (classic pod) succeeded on the same code path
❌ Customer on Hyperforce (aws-prod21-useast2) hit 403 repeatedly with edge trace IDs
❌ No INVALID_SESSION_ID JSON error — the request never reached the API layer
❌ Customer's IP restriction / Connected App changes had no effect — it was never an IP or auth issue
Linear Ticket
https://linear.app/rudderstack/issue/INT-6254/debug-fullscript-salesforce-bulk-api-edge-error
Security