Repository navigation
Gv/warehouse bucket prefix - #245
Merged
Merged
Conversation
psrikanth88
approved these changes
Apr 28, 2020
psrikanth88
approved these changes
Apr 28, 2020
chandumlg
approved these changes
May 1, 2020
1 task done
achettyiitr
added a commit
that referenced
this pull request
Nov 6, 2026
# Description Treat linked account definitions with `authenticationType` `machine_oauth` as OAuth alongside `oauth` in `DestinationT.IsOAuthDestination`, preserving account-definition precedence and the destination-definition fallback. The only new tests are classifier cases in `backend-config/oauth_test.go`. The router, OAuth transport, and regulation-delete paths all call `IsOAuthDestination`, so they pick up `machine_oauth` detection without code changes. Their existing tests do not exercise `machine_oauth`. Token fetch, caching, expiry refresh, and `secretVersion` eviction are unchanged. See rudder-specs PR #245. ## Linear Ticket INT-7470 ## Security - [x] Reviewed the scoped classifier change; no credential-handling code changed. ## Validation - `make fmt` — completed. - `TestDestinationT_IsOAuthDestination` in `backend-config/oauth_test.go` — passed. - `go build ./backend-config ./router ./services/oauth/v2/http ./regulation-worker/internal/delete/api ./regulation-worker/cmd` and `git diff --check` — passed. - Verified on mini against this code: first grant, refresh and delivery for `machine_oauth`, including real Pinterest. Regulation deletion wasn’t exercised. - `make lint` — golangci-lint reported `0 issues` and actionlint completed; gitleaks reported 34 findings in committed history. Scanning `master` alone reproduced all 34, while the PR-only commit range found none. ## Known Issues - The full router package test run failed in DB-backed lifecycle code after network failures; the focused `TestTransformForDestination` passed. This failure was not established on an unchanged baseline. ## Rollout - Before opening the Client Credentials gate, verify the release has reached every region and that hybrid and self-hosted data planes have upgraded. No rollout or merge was performed. --------- Co-authored-by: tech-infra-rudderstack <[email protected]> Co-authored-by: Akash Chetty <[email protected]>
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.
This change is