Skip to content

fix(destination): encode Lytics bulk upload URL values - #7433

Merged
maheshkutty merged 2 commits into
masterfrom
harness/INT-7224-fix-destination-encode-lytics-b-83095dcc
Oct 5, 2026
Merged

maheshkutty merged 2 commits into
masterfrom
harness/INT-7224-fix-destination-encode-lytics-b-83095dcc

Conversation

@rudder-devbox

@rudder-devbox rudder-devbox Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Description

Encode customer-provided Lytics stream names and timestamp fields when constructing bulk upload URLs. Stream names are escaped as one path segment, while timestamp_field is constructed with url.Values, preventing special characters from changing the request path or injecting query parameters.

Adds focused regression coverage for both the existing plain-value endpoint and malicious/special-character values.

Linear Ticket

INT-7224

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

Validation

  • go test -count 1 ./router/batchrouter/asyncdestinationmanager/lytics_bulk_upload/... — passed
  • PATH="$(go env GOPATH)/bin:$PATH" make test package=router/batchrouter/asyncdestinationmanager/lytics_bulk_upload — 4 tests passed
  • make fmt — passed
  • go test -count 1 -vet=all ./router/batchrouter/asyncdestinationmanager/lytics_bulk_upload/... — passed
  • go build ./router/batchrouter/asyncdestinationmanager/lytics_bulk_upload/... — passed
  • Package-scoped golangci-lint — 0 issues
  • Full make lint formatting phase passed, but its subsequent tool fetch was blocked by unavailable network access (proxy.golang.org: connect: connection refused).

@rudder-devbox

rudder-devbox Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

👋 I'm rudder-devbox. I opened this PR from a Linear ticket.

Mention @devbox or @rudder-devbox and I'll act on it — on a top-level PR comment,
in a review summary, or on an inline comment on the diff. Without a mention I won't see it.

@codecov

codecov Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.04%. Comparing base (0806478) to head (9ad747e).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7433      +/-   ##
==========================================
- Coverage   85.04%   85.04%   -0.01%     
==========================================
  Files         622      622              
  Lines       62045    62047       +2     
==========================================
- Hits        52769    52765       -4     
- Misses       9273     9279       +6     
  Partials        3        3              

☔ 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.

@maheshkutty
maheshkutty marked this pull request as ready for review September 30, 2026 05:01
@rudder-devbox
rudder-devbox Bot requested a review from maheshkutty October 5, 2026 05:50
@rudder-devbox

rudder-devbox Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Knowledge distillation completed

@rudder-devbox

rudder-devbox Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

The Coverage job did not fail on a test or repository code issue. All 36 coverage artifacts downloaded successfully and gocovmerge completed, but the Codecov action failed while downloading https://cli.codecov.io/latest/linux/codecov: curl: (35) OpenSSL/3.0.13: error:0A000410:SSL routines::sslv3 alert handshake failure. Its subsequent GPG verification then failed because codecov.SHA256SUM.sig was not downloaded.

This is a transient external Codecov/network infrastructure failure, so there is no source change to commit or push from the workspace. The failed Coverage job should be retried.

@maheshkutty
maheshkutty merged commit 08e6937 into master Oct 5, 2026
70 of 71 checks passed
@maheshkutty
maheshkutty deleted the harness/INT-7224-fix-destination-encode-lytics-b-83095dcc branch October 5, 2026 07:00
This was referenced Oct 12, 2026
mihir20 pushed a commit that referenced this pull request Oct 12, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.90.0-rc.1](v1.89.0...v1.90.0-rc.1)
(2026-10-12)


### Features

* **processor:** add source_out reporting metric
([#7435](#7435))
([909fba9](909fba9))
* **processor:** allow disabling event schemas v2 per source
([#7429](#7429))
([a8c12b2](a8c12b2))
* **processor:** report dest_transformer diff rows for multiplexing
destination transformations
([#7446](#7446))
([cd95c32](cd95c32))
* **processor:** report dest_transformer succeeded for destinations
without a destination transformation
([#7445](#7445))
([21f7e41](21f7e41))
* **processor:** report user_transformer succeeded for destinations
without a user transformation
([#7440](#7440))
([f424257](f424257))
* **router:** mask live events destination credentials
([#7460](#7460))
([5fa5fe2](5fa5fe2))
* **warehouse:** add Microsoft Fabric destination
([#7441](#7441))
([74940c2](74940c2))


### Bug Fixes

* **batchrouter:** do not abort warehouse jobs on a zero failure
timestamp
([#7426](#7426))
([506f6d5](506f6d5))
* **batchrouter:** recover snowpipe streaming channels for tables
dropped externally
([#7434](#7434))
([93cd81d](93cd81d))
* **destination:** encode Lytics bulk upload URL values
([#7433](#7433))
([08e6937](08e6937))
* **destination:** retry bqstream transport failures
([#7464](#7464))
([cd3dc3e](cd3dc3e))
* **warehouse:** cap deltalake validation schema describes
([#7444](#7444))
([d119779](d119779))
* **warehouse:** keep snowflake copy credentials out of logs
([#7442](#7442))
([f91747b](f91747b))
* **warehouse:** set explicit lineSep for deltalake csv copy
([#7455](#7455))
([cc22d18](cc22d18))


### Miscellaneous

* migrate self-hosted arm64 docker build runners to gha-runner-scale-set
([#7425](#7425))
([5cdffde](5cdffde))
* **processor:** retire the destination-filter reorder, dedup and
gw_ingested reporting flags
([#7450](#7450))
([1040511](1040511))
* pull openapi-generator through the ECR pull-through cache
([#7449](#7449))
([6e9f920](6e9f920))

---
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>
mihir20 pushed a commit that referenced this pull request Oct 13, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.90.0](v1.89.0...v1.90.0)
(2026-10-12)


### Features

* **processor:** add source_out reporting metric
([#7435](#7435))
([909fba9](909fba9))
* **processor:** allow disabling event schemas v2 per source
([#7429](#7429))
([a8c12b2](a8c12b2))
* **processor:** report dest_transformer diff rows for multiplexing
destination transformations
([#7446](#7446))
([cd95c32](cd95c32))
* **processor:** report dest_transformer succeeded for destinations
without a destination transformation
([#7445](#7445))
([21f7e41](21f7e41))
* **processor:** report user_transformer succeeded for destinations
without a user transformation
([#7440](#7440))
([f424257](f424257))
* **router:** mask live events destination credentials
([#7460](#7460))
([5fa5fe2](5fa5fe2))
* **warehouse:** add Microsoft Fabric destination
([#7441](#7441))
([74940c2](74940c2))


### Bug Fixes

* **batchrouter:** do not abort warehouse jobs on a zero failure
timestamp
([#7426](#7426))
([506f6d5](506f6d5))
* **batchrouter:** recover snowpipe streaming channels for tables
dropped externally
([#7434](#7434))
([93cd81d](93cd81d))
* **destination:** encode Lytics bulk upload URL values
([#7433](#7433))
([08e6937](08e6937))
* **destination:** retry bqstream transport failures
([#7464](#7464))
([cd3dc3e](cd3dc3e))
* **warehouse:** cap deltalake validation schema describes
([#7444](#7444))
([d119779](d119779))
* **warehouse:** keep snowflake copy credentials out of logs
([#7442](#7442))
([f91747b](f91747b))
* **warehouse:** set explicit lineSep for deltalake csv copy
([#7455](#7455))
([cc22d18](cc22d18))


### Miscellaneous

* migrate self-hosted arm64 docker build runners to gha-runner-scale-set
([#7425](#7425))
([5cdffde](5cdffde))
* **processor:** retire the destination-filter reorder, dedup and
gw_ingested reporting flags
([#7450](#7450))
([1040511](1040511))
* pull openapi-generator through the ECR pull-through cache
([#7449](#7449))
([6e9f920](6e9f920))

---
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>
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