Skip to content

chore: sync release v1.77.2 to main branch - #7092

Merged
shekhar-rudder merged 5 commits into
masterfrom
sync-release-b324e2f90ff32c2b4d3a1a5a054a88d9c332213b
Jun 16, 2026
Merged

shekhar-rudder merged 5 commits into
masterfrom
sync-release-b324e2f90ff32c2b4d3a1a5a054a88d9c332213b

Conversation

@rudderstack-github-actions

@rudderstack-github-actions rudderstack-github-actions Bot commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

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

atzoum and others added 4 commits June 10, 2026 15:06
…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
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.73684% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 79.91%. Comparing base (4d9ad19) to head (e7d86a2).

Files with missing lines Patch % Lines
...destinationmanager/klaviyobulkupload/apiService.go 0.00% 1 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@achettyiitr
achettyiitr requested a review from atzoum June 16, 2026 13:24
@shekhar-rudder
shekhar-rudder merged commit 4c3e4f1 into master Jun 16, 2026
109 of 112 checks passed
@shekhar-rudder
shekhar-rudder deleted the sync-release-b324e2f90ff32c2b4d3a1a5a054a88d9c332213b branch June 16, 2026 13:29
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