Skip to content

fix(processor): exclude dropped jobs from tracked users and activation records - #7485

Merged
mihir20 merged 4 commits into
masterfrom
mihir/pipe-3547-exclude-bot-dropped-mtu
Oct 19, 2026
Merged

mihir20 merged 4 commits into
masterfrom
mihir/pipe-3547-exclude-bot-dropped-mtu

Conversation

@mihir20

@mihir20 mihir20 commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Description

Jobs whose events are dropped during preprocessing (user suppression, bot drop, event blocking, dedup, unparsable payloads) were still handed to the tracked users reporter, so their identities counted towards MTU even though they are never delivered or billed as events. The job list passed downstream from preprocessStage now only carries jobs that still have at least one event after the drop gates.

The same list feeds the activation records reporter, so dropped jobs no longer count towards MAR either. Flagged (non-dropped) bot events are still counted. Historical MTU data is not recomputed.

Linear Ticket

https://linear.app/rudderstack/issue/PIPE-3547/exclude-bot-dropped-events-from-billable-mtu-counts

Security

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

…n records

Jobs whose events were dropped in preprocessing (user suppression, bot drop,
event blocking, dedup, unparsable payload) were still handed to the tracked
users reporter, so their identities counted towards MTU. The job list passed
downstream now only carries jobs that still have at least one event.

🔒 Scanned for secrets using gitleaks 8.28.0
…egration test

🔒 Scanned for secrets using gitleaks 8.28.0
@mihir20
mihir20 requested review from atzoum and ktgowtham October 15, 2026 07:51
@codecov

codecov Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7485      +/-   ##
==========================================
+ Coverage   84.59%   85.03%   +0.44%     
==========================================
  Files         632      632              
  Lines       62838    62839       +1     
==========================================
+ Hits        53157    53438     +281     
+ Misses       9678     9398     -280     
  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.

Comment thread processor/processor.go Resolved
@mihir20
mihir20 enabled auto-merge (squash) October 19, 2026 06:41
@mihir20
mihir20 merged commit 526602c into master Oct 19, 2026
72 checks passed
@mihir20
mihir20 deleted the mihir/pipe-3547-exclude-bot-dropped-mtu branch October 19, 2026 07:15
This was referenced Oct 19, 2026
mihir20 pushed a commit that referenced this pull request Oct 19, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.91.0-rc.1](v1.90.0...v1.91.0-rc.1)
(2026-10-19)


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

* **processor:** exclude dropped jobs from tracked users and activation
records
([#7485](#7485))
([526602c](526602c))
* **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-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