Repository navigation
chore: cleanup python mirroring - #7395
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7395 +/- ##
==========================================
+ Coverage 84.33% 84.42% +0.09%
==========================================
Files 620 620
Lines 62706 62640 -66
==========================================
+ Hits 52882 52884 +2
+ Misses 9821 9753 -68
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
fracasula
marked this pull request as ready for review
September 15, 2026 10:52
ktgowtham
approved these changes
Sep 16, 2026
This was referenced Sep 21, 2026
Merged
achettyiitr
pushed a commit
that referenced
this pull request
Sep 21, 2026
🤖 I have created a release *beep* *boop* --- ## [1.88.0-rc.1](v1.87.0...v1.88.0-rc.1) (2026-09-21) ### Features * **warehouse:** bigquery workload identity federation authentication ([#7361](#7361)) ([d16ab5f](d16ab5f)) ### Bug Fixes * bound clickHouse v2 s3 copy memory ([#7407](#7407)) ([a17a78f](a17a78f)) ### Miscellaneous * cleanup python mirroring ([#7395](#7395)) ([9f9bcde](9f9bcde)) * default failed-keys error capture on ([#7404](#7404)) ([db84987](db84987)) * sync release v1.87.0 to main branch ([#7394](#7394)) ([80353d1](80353d1)) * tag namespace config http client stats with version and mode ([#7401](#7401)) ([d152ae5](d152ae5)) --- 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
Sep 22, 2026
🤖 I have created a release *beep* *boop* --- ## [1.88.0](v1.87.0...v1.88.0) (2026-09-21) ### Features * **warehouse:** bigquery workload identity federation authentication ([#7361](#7361)) ([d16ab5f](d16ab5f)) ### Bug Fixes * bound clickHouse v2 s3 copy memory ([#7407](#7407)) ([a17a78f](a17a78f)) ### Miscellaneous * cleanup python mirroring ([#7395](#7395)) ([9f9bcde](9f9bcde)) * default failed-keys error capture on ([#7404](#7404)) ([db84987](db84987)) * sync release v1.87.0 to main branch ([#7394](#7394)) ([80353d1](80353d1)) * tag namespace config http client stats with version and mode ([#7401](#7401)) ([d152ae5](d152ae5)) --- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Removes Python user-transformation mirroring and the legacy shared Python transformer routing from the processor.
These are two separate things, going for two different reasons.
The first is routing.
PYTHON_TRANSFORM_URLpointed at a single shared Python transformer, andPYTHON_TRANSFORM_VERSION_IDSgated which transformation versions were allowed to reach it. Per-workspace PyT replaced that: each workspace now runs its own Python deployment, selected byProcessor.UserTransformer.perWorkspacePyTEnabledand the URL template, so there is no shared service left to point at and a global version allowlist no longer means anything.The second is mirror filtering. Mirroring compared a Python transformation's output against a mirror deployment, and because Python transformations can contain
fetchcalls that are not safe to replay, the mirror could answer HTTP 297 to say "I refused this one"; rudder-server then cached that verdict per version ID so subsequent batches of the same transformation skipped mirroring altogether. That machinery is going because we decided not to support mirroring for Python at all. Mirroring is now JavaScript-only, andisUserTransformMirroringEnabledrefuses anypython*language up front.What this removes:
PYTHON_TRANSFORM_URL,PYTHON_TRANSFORM_MIRROR_URL,PYTHON_TRANSFORM_VERSION_IDS,PYTHON_TRANSFORM_VERSION_IDS_ENABLEandProcessor.userTransformationMirroring.filterCacheTTL.transformerutils.PythonTransformConfig,LoadPythonTransformConfigandIsVersionAllowed.transformerutils.StatusMirrorFiltered) as a protocol between rudder-server and the transformer, along withtypes.Response.MirrorFilteredand theHandle.mirrorFilteredCacheTTL cache.processor_ut_mirroring_filtered_countmetric.Behaviour after this change: a Python transformation goes to the per-workspace PyT deployment when
Processor.UserTransformer.perWorkspacePyTEnabledis on. When it is off there is no fallback. The JavaScript transformer cannot execute Python, so routing there would fail every event rather than transform it, and the processor panics instead of quietly discarding customer data. Mirroring never sends Python traffic at all.This is the first step of a wider cleanup. The env vars above stop being read here, so they can be dropped from
rudder-devopsandrudderstack-operatoronce this ships, and the 297 response path can then be retired fromrudder-pytransformer.Companion PRs
Linear Ticket
< Fixes PIPE-3370 >
Security