Skip to content

chore(processor): retire the destination-filter reorder, dedup and gw_ingested reporting flags - #7450

Merged
mihir20 merged 2 commits into
masterfrom
pipeline-inspector-gaps/00-remove-cutover-flags
Oct 7, 2026
Merged

mihir20 merged 2 commits into
masterfrom
pipeline-inspector-gaps/00-remove-cutover-flags

Conversation

@mihir20

@mihir20 mihir20 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Description

Retires three reloadable rollout flags that have reached their target state everywhere, and removes the code and tests that only existed for the other state:

Flag Default Retired to
Processor.earlyDestinationFilter true false: the destination filter runs once, at fan-out, with per-destination rows
Reporting.dedupMetrics.enabled false on
Reporting.gatewayIngestedMetrics.enabled false on

The early preprocess destination guard and its source-level destination_filter filtered row are gone; a zero-candidate event is now reported as filtered_no_destination from fan-out instead. The rows the target state emits are unchanged.

With the guard gone, isDestinationAvailable and the preprocess destFilterStatusDetailMap assembly had no production use and are removed; the consent specs that asserted on the helper now assert on classifyDestinations. The source_hydration, tracking_plan_validator and default user_transformer rows no longer chain their in_pu to destination_filter, which named that guard; they carry an empty in_pu. in_reported_by is stored but not read by the reporting service, so nothing downstream changes.

Linear Ticket

PIPE-3465

Security

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

🤖 Generated with Claude Code

@mihir20
mihir20 requested a review from atzoum October 5, 2026 09:22

@atzoum atzoum left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also add a follow up task to remove these deprecated configurations from rudder-devops & rudderstack-operator once changes are deployed everywhere

Comment thread processor/processor.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is now dead, we should remove it

Comment thread processor/processor.go Resolved
Comment thread processor/processor.go Resolved
@codecov

codecov Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.94%. Comparing base (d119779) to head (ff2399c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7450      +/-   ##
==========================================
+ Coverage   84.51%   84.94%   +0.43%     
==========================================
  Files         623      623              
  Lines       62079    62014      -65     
==========================================
+ Hits        52465    52680     +215     
+ Misses       9611     9331     -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.

@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/00-remove-cutover-flags branch 2 times, most recently from d82abf8 to a6fdfa5 Compare October 6, 2026 07:14
@mihir20
mihir20 requested a review from atzoum October 6, 2026 07:29
Comment thread processor/processor.go
default:
inPU = reportingtypes.DESTINATION_FILTER
// no earlier reporting stage ran for the event, so inPU stays empty
inPU = ""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we even need to care about inPU for any of our reporting metrics?

@mihir20
mihir20 requested a review from itsmihir October 6, 2026 09:25
…_ingested reporting flags

The pipeline-inspector rollout flags Processor.earlyDestinationFilter,
Reporting.dedupMetrics.enabled and Reporting.gatewayIngestedMetrics.enabled
have reached their target state everywhere, so the other state no longer
needs code or tests.

The destination filter now runs only at fan-out in pretransformStage, with
destination_enter per candidate, per-destination filtered_* rows for
excluded candidates and filtered_no_destination for zero-candidate events.
The early preprocess guard and its source-level filtered row are removed
along with the per-batch snapshot threaded through the source-hydration
stage, the isDestinationAvailable helper and the destFilterStatusDetailMap
assembly that only that guard fed. The dedup and gw_ingested report rows
are emitted whenever reporting is enabled.

The source_hydration and tracking_plan_validator rows, and user_transformer
rows when neither ran ahead, no longer chain their inPU to
destination_filter: that chain named the removed guard, and in_reported_by
is stored but never read. They carry an empty inPU instead.

Tests that exercised the flag-off states or toggled the flags at runtime are
deleted; the remaining tests pin the target state without config overrides.
The consent specs that asserted on isDestinationAvailable now assert on
classifyDestinations. The source-hydration integration test expects the
gw_ingested and destination_enter rows and the empty inPU.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

🔒 Scanned for secrets using gitleaks 8.28.0
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/00-remove-cutover-flags branch from 59b71b9 to 72f2c22 Compare October 6, 2026 09:55
@mihir20
mihir20 merged commit 1040511 into master Oct 7, 2026
73 checks passed
@mihir20
mihir20 deleted the pipeline-inspector-gaps/00-remove-cutover-flags branch October 7, 2026 08:09
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