Skip to content

feat(processor): report user_transformer succeeded for destinations without a user transformation - #7440

Merged
mihir20 merged 1 commit into
masterfrom
pipeline-inspector-gaps/02-user-transformer-passthrough
Oct 7, 2026
Merged

mihir20 merged 1 commit into
masterfrom
pipeline-inspector-gaps/02-user-transformer-passthrough

Conversation

@mihir20

@mihir20 mihir20 commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Description

user_transformer rows exist only for destinations that have a transformation configured, so for a destination without one the stage's succeeded count is undefined. This adds a pass-through row for that case: one user_transformer succeeded/200 row per event, with an empty in_pu, behind Reporting.userTransformerPassThroughMetrics.enabled (default false).

Nothing can fail or be filtered in a stage that does not run, so no aborted, filtered or diff rows are emitted on this path. Destinations that do have a transformation are unchanged.

For query authors: a destination that runs a transformation keeps its diff rows; a pass-through destination has none. in_pu does not distinguish the two, since it is empty for both when no earlier reporting stage ran for the event.

Linear Ticket

PIPE-3452

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

@codecov

codecov Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.52%. Comparing base (909fba9) to head (72c974a).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7440      +/-   ##
==========================================
+ Coverage   84.49%   84.52%   +0.02%     
==========================================
  Files         623      623              
  Lines       62034    62050      +16     
==========================================
+ Hits        52413    52445      +32     
+ Misses       9618     9602      -16     
  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.

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

When the description of a PR is longer than the change itself, then something is wrong with the description!
#7435 (review)

@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/01-source-succeeded branch from 48982fe to 0b1dd5c Compare October 5, 2026 07:39
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/02-user-transformer-passthrough branch from c7b9f30 to 3fb5efa Compare October 5, 2026 07:39
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/01-source-succeeded branch from 0b1dd5c to ddf6c3d Compare October 5, 2026 09:58
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/02-user-transformer-passthrough branch from 3fb5efa to e64a3a0 Compare October 5, 2026 09:59
@mihir20
mihir20 requested a review from atzoum October 5, 2026 10:41
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/01-source-succeeded branch from ddf6c3d to 98b5bb2 Compare October 6, 2026 06:45
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/02-user-transformer-passthrough branch from e64a3a0 to fbcec8d Compare October 6, 2026 06:45
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/01-source-succeeded branch from 98b5bb2 to e8d74be Compare October 6, 2026 07:15
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/02-user-transformer-passthrough branch from fbcec8d to 7bfcdb4 Compare October 6, 2026 07:15
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/01-source-succeeded branch from 1f3c8fd to 2c1ae76 Compare October 6, 2026 09:55
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/02-user-transformer-passthrough branch from 7bfcdb4 to 049fc99 Compare October 6, 2026 09:55
Comment thread processor/processor.go Resolved

@itsmihir itsmihir 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.

Lets monitor load on ut reporting table when we enable this

@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/01-source-succeeded branch from 2c1ae76 to 8fe9986 Compare October 7, 2026 09:14
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/02-user-transformer-passthrough branch from 049fc99 to ecd4489 Compare October 7, 2026 09:14
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/01-source-succeeded branch from 8fe9986 to da7e900 Compare October 7, 2026 09:39
@mihir20
mihir20 force-pushed the pipeline-inspector-gaps/02-user-transformer-passthrough branch from ecd4489 to b9c6596 Compare October 7, 2026 09:39
Base automatically changed from pipeline-inspector-gaps/01-source-succeeded to master October 7, 2026 11:10
…ithout a user transformation

Destinations with no user transformation configured skip the
user_transformer stage, so no user_transformer row is written for them
and their succeeded count is undefined for the pipeline inspector.

Behind the new reloadable `Reporting.userTransformerPassThroughMetrics.enabled`
(default false), the no-transformation branch of userTransformAndFilter
now emits one user_transformer succeeded/200 row per event, keyed per
source/destination/eventName/eventType, with an empty inPU and
initialState=false. Nothing can fail or be filtered in a stage that does
not run, so no aborted, filtered or diff rows are added on this path and
the event_filter in-counts are untouched.

Destinations that do have a user transformation are unchanged with the
flag on or off: same rows, same diff rows, same inPU chain. With the flag
off no new row is written.

Tests: new TestUserTransformerPassThroughReporting (9 subtests) covering
row shape, one row per event per pass-through destination, no
aborted/filtered/diff rows, per-event-name split, integrations
exclusion, unchanged rows for a destination with a transformation
including its diff row, unchanged event_filter/dest_transformer rows,
runtime flag toggle and reporting disabled. The visibility test helpers
were lifted to package level so both tests share them.

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/02-user-transformer-passthrough branch from b9c6596 to 72c974a Compare October 7, 2026 11:21
@mihir20
mihir20 merged commit f424257 into master Oct 7, 2026
73 checks passed
@mihir20
mihir20 deleted the pipeline-inspector-gaps/02-user-transformer-passthrough branch October 7, 2026 12:02
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