Skip to content

Gv/warehouse bucket prefix - #245

Merged
chandumlg merged 3 commits into
masterfrom
gv/warehouse-bucket-prefix
May 4, 2020
Merged

chandumlg merged 3 commits into
masterfrom
gv/warehouse-bucket-prefix

Conversation

@gane5hvarma

@gane5hvarma gane5hvarma commented Apr 26, 2020 •

Copy link
Copy Markdown
Contributor

This change is Reviewable

@chandumlg
chandumlg merged commit 33511eb into master May 4, 2020
@SumanthPuram
SumanthPuram deleted the gv/warehouse-bucket-prefix branch August 5, 2020 10:33
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]>
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