Repository navigation
chore: sync release v1.57.0 to main branch - #6251
Merged
mihir20 merged 2 commits intoAug 20, 2025
Merged
Conversation
## What are the changes introduced in this PR? This PR removes the `oauthV2Enabled` feature flag and its associated conditional logic from the `router` and related components. The primary goal is to standardize on the OAuth v2 implementation, eliminating the legacy code path for OAuth v1. The changes include: - Removing the `oauthV2Enabled` variable from `reloadableConfig` and its initialization. - Updating the `transformer.NewTransformer` function to remove the `oauthV2Enabled` parameter. - Simplifying the logic in `router/worker.go` to always use the OAuth v2 path for OAuth destinations. - Updating all related test files to reflect these changes. ## What is the related Linear task? [INT-3972: Clean up oauthv2enabled variable from router](https://linear.app/rudderstack/issue/INT-3972/clean-up-oauthv2enabled-variable-from-router) ## Please explain the objectives of your changes below The main objective is to eliminate technical debt by removing a redundant feature flag. With all integrations now migrated to OAuth v2, the `oauthV2Enabled` flag is no longer necessary. This change simplifies the codebase, makes it easier to maintain, and reduces the risk of production incidents caused by misconfiguration. ### Any changes to existing capabilities/behaviour, mention the reason & what are the changes ? - The router will no longer have a configurable switch to fall back to the legacy OAuth v1 implementation. OAuth v2 is now the single, non-configurable standard for all OAuth-based destinations. This is an intentional change to remove obsolete code. ### Any new dependencies introduced with this change? No, this PR does not introduce any new dependencies. It is purely a code cleanup and refactoring effort. ### Any new generic utility introduced or modified. Please explain the changes. No new generic utilities have been introduced or modified. ### Any technical or performance related pointers to consider with the change? - **Maintainability:** The removal of a major feature flag and its associated conditional logic significantly improves the readability and maintainability of the router's codebase. - **Performance:** While not the primary goal, removing a conditional check from the event processing path may result in a minor, but positive, impact on performance due to a more streamlined execution path. @coderabbitai review ### Developer checklist - [x] My code follows the style guidelines of this project - [x] **No breaking changes are being introduced.** - [x] All related docs linked with the PR? - [x] All changes manually tested? - [ ] Any documentation changes needed with this change? - [x] Is the PR limited to 10 file changes? - [x] Is the PR limited to one linear task? - [x] Are relevant unit and component test-cases added in **new readability format**? ### 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. --------- Co-authored-by: Sudip Paul <[email protected]>
🤖 I have created a release *beep* *boop* --- ## [1.57.0](v1.56.0...v1.57.0) (2025-08-19) ### Features * add support for manual sync mode in warehouse ([#6199](#6199)) ([6f87119](6f87119)) * enable oauthV2 by removing oauthV2enabled variable ([#6175](#6175)) ([caad8f0](caad8f0)) * **router:** support different throttler per event type ([#6181](#6181)) ([12254bb](12254bb)) * warehouse grpc API to get namespace mappings of a destination ([#6200](#6200)) ([9613236](9613236)) ### Bug Fixes * adaptive throttling not applying dynamic throttling limits consistently ([#6219](#6219)) ([478b2e1](478b2e1)) * error extractor to handle nested JSON responses ([#6209](#6209)) ([ffc0d7a](ffc0d7a)) * getting occasional unauthenticated errors from googlepubsub ([#6228](#6228)) ([cc39306](cc39306)) * handle snowpipe service restarts in destination polling logic ([#6236](#6236)) ([b76bc7f](b76bc7f)) * handling empty schema for table level schemas ([#6233](#6233)) ([cc39306](cc39306)) * histogram buckets for schema snapshots ([#6234](#6234)) ([cc39306](cc39306)) * warehouse source empty jobs ([#6204](#6204)) ([42f5ae4](42f5ae4)) ### Miscellaneous * bump the go-dependencies group with 12 updates ([#6189](#6189)) ([e6e2bcd](e6e2bcd)) * enforcing non-sugared logger ([#6066](#6066)) ([b24ded8](b24ded8)) * force new MTU metrics from 1st September 2025 onwards ([#6227](#6227)) ([154d2c3](154d2c3)) * implement configurable deduplication mirror mode ([#6224](#6224)) ([c97ad7a](c97ad7a)) * refactor Google Pub/Sub to add retry logic for auth errors ([#6229](#6229)) ([cc39306](cc39306)) * remove enableV2NotifierJob flag support ([#6196](#6196)) ([8be54bf](8be54bf)) * remove event blocking flag ([#6240](#6240)) ([e668e14](e668e14)) * remove queryWithUploadId flag support for load files ([#6192](#6192)) ([e6e2bcd](e6e2bcd)) * revert "fix: snowpipe events getting duplicated if status API fails" ([#6211](#6211)) ([777b08e](777b08e)) * skip warehouse destinations from version deprecation error extraction ([#6226](#6226)) ([87c3320](87c3320)) * stop collecting errors in proc_error jobsdb ([#6232](#6232)) ([c600968](c600968)) * throttler should emit no warning if not enabled ([#6223](#6223)) ([0773168](0773168)) * update keydb dependency ([#6222](#6222)) ([d1d64bc](d1d64bc)) * use harbor to pull docker images ([#6210](#6210)) ([6c324cf](6c324cf)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6251 +/- ##
==========================================
+ Coverage 76.82% 77.03% +0.21%
==========================================
Files 521 521
Lines 70863 70905 +42
==========================================
+ Hits 54441 54624 +183
+ Misses 13539 13387 -152
- Partials 2883 2894 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mihir20
approved these changes
Aug 20, 2025
achettyiitr
approved these changes
Aug 20, 2025
mihir20
deleted the
sync-release-5e6e4805b9b0d51422fbbf4e1697866b18dd66fc
branch
August 20, 2025 07:28
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.
Description
Syncing release v1.57.0 to main branch
WARNING: Do NOT rewrite git history and ALWAYS use a "Merge Commit" for merging!
↓↓ Please review and edit commit overrides before merging ↓↓
BEGIN_COMMIT_OVERRIDE
chore: bump the go-deps group with 15 updates (#6247)
fix: snowpipe events getting duplicated if status API fails (#6211) (#6244)
chore: remove null handling of upload id in load files (#6241)
END_COMMIT_OVERRIDE