Repository navigation
chore: sync release v1.77.2 to main branch - #7092
Merged
shekhar-rudder merged 5 commits intoJun 16, 2026
Merged
shekhar-rudder merged 5 commits into
shekhar-rudder merged 5 commits into
Conversation
…er (#7075) 🔒 Scanned for secrets using gitleaks 8.30.1 ## Description Fixing a security/misconfiguration issue where internal gateway and warehouse API endpoints were accessible in the open source version of `rudder-server`. Internal endpoints are now gated behind an enterprise token check and can only be registered when explicitly enabled. ### Changes - **Gate internal endpoints behind enterprise token** — added `WithInternalEndpointsEnabled(bool)` to the gateway and an equivalent `Warehouse.internalEndpointsEnabled` flag; both default to `true` in the enterprise version of rudder-server and `false` in the open source version. - **Move warehouse endpoints under `/internal`** — `/v1/warehouse/{pending-events,trigger-upload,jobs,jobs/status}` are now at `/internal/v1/warehouse/...`; legacy paths remain available behind a `legacyWarehouseEndpointsEnabled` flag (default `true`) for gradual rollout. - **Remove v1 job-status handler** — `NewV1Handler`, `GetFailedRecordsV1`, `Delete`, and all related tests removed; `/internal/v1/job-status` promoted to `/internal/v2/job-status`. ## Linear Ticket resolves RUD-2824 ## Security - [x] The code changed/added as part of this pull request won't create any security issues with how the software is being used.
🤖 I have created a release *beep* *boop* --- ## [1.77.1](v1.77.0...v1.77.1) (2026-06-10) ### Bug Fixes * internal endpoints enabled in open source version of rudder-server ([#7075](#7075)) ([b4f62a1](b4f62a1)) --- 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>
…7085) ## Summary - Klaviyo 4xx errors (except 429) were incorrectly marked as retryable (`FailedJobIDs`), causing invalid profiles to retry indefinitely, fill batch slots, and push valid events into "prescribed limit" overflow until they were permanently aborted - `UploadProfiles` now captures the HTTP status code from Klaviyo's response - `Upload` routes errors by retryability: 4xx (except 429) → `AbortJobIDs` (terminal), 429/5xx/network errors → `FailedJobIDs` (retryable) - `FailedReason` is now populated in the upload output for better observability ## Test plan - [x] `TestUpload/Successful_Upload` — all jobs import successfully, no failures - [x] `TestUpload/Unsuccessful_Upload` — nil response (network error) → jobs retried with `FailedReason` - [x] `TestUpload/UploadThreeChunksWithMixedFailures` — chunk 1 gets 429 (retried), chunk 2 gets 400 (aborted), chunk 3 succeeds — validates both paths in single test - [x] Existing Poll and GetUploadStats tests unaffected ## Linear ticket INT-6539 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
🤖 I have created a release *beep* *boop* --- ## [1.77.2](v1.77.1...v1.77.2) (2026-06-16) ### Bug Fixes * abort non-retryable Klaviyo upload errors instead of retrying ([#7085](#7085)) ([a31d6e5](a31d6e5)) --- 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>
…f90ff32c2b4d3a1a5a054a88d9c332213b # Conflicts: # CHANGELOG.md # gateway/handle.go # gateway/handle_test.go
shekhar-rudder
approved these changes
Jun 16, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7092 +/- ##
==========================================
+ Coverage 79.83% 79.91% +0.07%
==========================================
Files 583 583
Lines 65224 65237 +13
==========================================
+ Hits 52073 52135 +62
+ Misses 10058 10025 -33
+ Partials 3093 3077 -16 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
achettyiitr
approved these changes
Jun 16, 2026
shekhar-rudder
deleted the
sync-release-b324e2f90ff32c2b4d3a1a5a054a88d9c332213b
branch
June 16, 2026 13:29
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 patch release v1.77.2 to main branch
↓↓ Please review and edit commit overrides before merging ↓↓
BEGIN_COMMIT_OVERRIDE
fix: abort non-retryable Klaviyo upload errors instead of retrying (#7085)
END_COMMIT_OVERRIDE