Skip to content

fix(router): enable live events payload masking by default - #7500

Merged
shekhar-rudder merged 2 commits into
masterfrom
harness/INT-7411-fix-router-enable-live-events-p-2cd73f1e
Oct 19, 2026
Merged

shekhar-rudder merged 2 commits into
masterfrom
harness/INT-7411-fix-router-enable-live-events-p-2cd73f1e

Conversation

@rudder-devbox

@rudder-devbox rudder-devbox Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Description

Enable destination-delivery Live Events payload masking by default. The negative Router.disableEventDeliveryUploadMasking rollback flag now defaults to false in both the packaged configuration and the in-code fallback, while remaining reloadable and overridable globally or per destination.

Added independent coverage for the effective YAML-backed default and the in-code fallback default. Existing masking behavior, metric reasons, and the explicit rollback path remain unchanged.

Validation:

  • make fmt — passed
  • go test -count=1 /workspace/rudder-server/router -run 'Masking|masking' — passed
  • Default sensitivity checks — both assertions failed as expected when their respective defaults were temporarily reverted
  • go vet /workspace/rudder-server/router — passed
  • golangci-lint — passed with 0 issues
  • actionlint — passed

Linear Ticket

INT-7411

Security

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

⚠️ Known Issues

  • go test -count=1 /workspace/rudder-server/router reached environment-dependent router tests but failed after about 188 seconds when a jobsdb background loop attempted to reconnect to an already-removed temporary PostgreSQL endpoint. The focused router masking tests pass.
  • make lint completed formatting, golangci-lint, and actionlint successfully, but its repository-history gitleaks scan reported 38 pre-existing findings unrelated to this boolean/config-test-only diff.

@rudder-devbox

rudder-devbox Bot commented Oct 19, 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.

Comment thread services/transformer/features_impl.go Resolved
@codecov

codecov Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.05%. Comparing base (bba1c21) to head (6358df1).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7500      +/-   ##
==========================================
+ Coverage   84.59%   85.05%   +0.45%     
==========================================
  Files         632      632              
  Lines       62838    62839       +1     
==========================================
+ Hits        53157    53445     +288     
+ Misses       9678     9391     -287     
  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.

@rudder-devbox

rudder-devbox Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

Knowledge distillation completed

@rudder-devbox

rudder-devbox Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

The failure was transient ClickHouse infrastructure, not a regression in the PR. The log shows the first upload lost its ClickHouse connection while “counting rows after load” (use of closed network connection); the retry then duplicated the groups rows, so TestIntegration/Events_flow_(single_mode)/No_Partition_Type_specified expected 4 but found 8. All other ClickHouse integration groups passed.

I re-ran the failed jobs unchanged. Warehouse Integration (clickhouse) and the final All gate both passed on attempt 2, so no unrelated source change or new commit was needed.

@shekhar-rudder
shekhar-rudder marked this pull request as ready for review October 19, 2026 12:46
@shekhar-rudder
shekhar-rudder merged commit 8b5c22d into master Oct 19, 2026
114 of 116 checks passed
@shekhar-rudder
shekhar-rudder deleted the harness/INT-7411-fix-router-enable-live-events-p-2cd73f1e branch October 19, 2026 13:46
itsmihir pushed a commit that referenced this pull request Oct 20, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.91.0-rc.2](v1.90.0...v1.91.0-rc.2)
(2026-10-20)


### Features

* **jobsdb:** pending events gauge for the gw jobsdb
([#7447](#7447))
([fc539c4](fc539c4))
* **processor:** report event_filter drops per reason and stop its
succeeded rows
([#7454](#7454))
([5caff53](5caff53))


### Bug Fixes

* **destination:** authenticate marketo bulk uploads with bearer token
([#7510](#7510))
([3eaffad](3eaffad))
* **processor:** exclude dropped jobs from tracked users and activation
records
([#7485](#7485))
([526602c](526602c))
* **router:** enable live events payload masking by default
([#7500](#7500))
([8b5c22d](8b5c22d))
* **router:** mask multi-request delivery payloads
([#7476](#7476))
([f65572e](f65572e))
* **router:** mask reporting sample event secrets
([#7497](#7497))
([833d694](833d694))
* **router:** report destination status for v1 proxy deliveries in
transformer_outgoing_request_count
([#7482](#7482))
([bba1c21](bba1c21))


### Miscellaneous

* bump sqlconnect-go to v1.34.0
([#7479](#7479))
([71e8cfa](71e8cfa))
* stop setting in_reported_by on report rows
([#7458](#7458))
([814d149](814d149))
* sync release v1.90.0 to main branch
([#7475](#7475))
([d05fcbb](d05fcbb))
* **tooling:** move rudder-server test MinIO to Silo
([#7469](#7469))
([935bf59](935bf59))

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


##
[1.91.0](v1.90.0...v1.91.0)
(2026-10-20)


### Features

* **jobsdb:** pending events gauge for the gw jobsdb
([#7447](#7447))
([fc539c4](fc539c4))
* **processor:** report event_filter drops per reason and stop its
succeeded rows
([#7454](#7454))
([5caff53](5caff53))


### Bug Fixes

* **destination:** authenticate marketo bulk uploads with bearer token
([#7510](#7510))
([3eaffad](3eaffad))
* **processor:** exclude dropped jobs from tracked users and activation
records
([#7485](#7485))
([526602c](526602c))
* **router:** enable live events payload masking by default
([#7500](#7500))
([8b5c22d](8b5c22d))
* **router:** mask multi-request delivery payloads
([#7476](#7476))
([f65572e](f65572e))
* **router:** mask reporting sample event secrets
([#7497](#7497))
([833d694](833d694))
* **router:** report destination status for v1 proxy deliveries in
transformer_outgoing_request_count
([#7482](#7482))
([bba1c21](bba1c21))


### Miscellaneous

* bump sqlconnect-go to v1.34.0
([#7479](#7479))
([71e8cfa](71e8cfa))
* stop setting in_reported_by on report rows
([#7458](#7458))
([814d149](814d149))
* sync release v1.90.0 to main branch
([#7475](#7475))
([d05fcbb](d05fcbb))
* **tooling:** move rudder-server test MinIO to Silo
([#7469](#7469))
([935bf59](935bf59))

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