Skip to content

feat: backend config v2-to-v1 mapper - #7315

Merged
atzoum merged 1 commit into
masterfrom
feat.backendConfigV2Mapper
Sep 1, 2026
Merged

atzoum merged 1 commit into
masterfrom
feat.backendConfigV2Mapper

Conversation

@atzoum

@atzoum atzoum commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

Replacing the stub v2 mapper with an actual transformation, ported from control plane's transformer.

The v2 transformation path remains unreachable. SetUp builds v1 unconditionally. Shadow mode will follow next, comparing the two paths on live traffic before v2 becomes selectable.

Notes

  • Comments carry the LLD's rule ids (A9, B3, ...). The two rules with real logic behind them live in their own file, namespace_config_v2_destconfig.go: B3, the per source type rebuild of a destination's config, which is why the same destination gets different keys from a web and a cloud source, and B4, the legacy consent backfill that keeps older SDK clients gated correctly.
  • A destination pinned to a definition version that the catalogue cannot serve is dropped rather than handed the current major's config, and its connection pruned with it. Same as the control plane, logging once per process rather than once per poll.
  • Deliberately not ported, and blanked on both sides of the fixture comparison: source enrichment configs (D2, a rudder-sources concern) and the per workspace pruning of the account definition catalogue (A12).
  • The mapper is validated against an actual anonymized v1/v2 capture pair, committed encrypted.

Linear Ticket

resolves PIPE-3279

Security

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

@atzoum
atzoum force-pushed the feat.backendConfigV2Mapper branch from 955715d to 7654b76 Compare August 27, 2026 13:50
Base automatically changed from feat.backendConfigV2 to master August 27, 2026 13:51
@atzoum
atzoum force-pushed the feat.backendConfigV2Mapper branch 2 times, most recently from 3e80e10 to 77ef76f Compare August 27, 2026 13:52
@codecov

codecov Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.72581% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.32%. Comparing base (e2c5cb9) to head (bc891ff).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
backend-config/namespace_config_v2_destconfig.go 84.88% 7 Missing and 6 partials ⚠️
backend-config/namespace_config_v2_mapper.go 93.46% 5 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7315      +/-   ##
==========================================
+ Coverage   80.28%   80.32%   +0.03%     
==========================================
  Files         611      612       +1     
  Lines       68435    68673     +238     
==========================================
+ Hits        54944    55161     +217     
- Misses      10264    10284      +20     
- Partials     3227     3228       +1     

☔ 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 force-pushed the feat.backendConfigV2Mapper branch 5 times, most recently from 706fc42 to 42709a6 Compare August 28, 2026 07:12
@atzoum
atzoum force-pushed the feat.backendConfigV2Mapper branch from 42709a6 to 216ef7d Compare August 31, 2026 07:42
@atzoum
atzoum force-pushed the feat.backendConfigV2Mapper branch 2 times, most recently from 6ebd5a0 to 73ee88e Compare September 1, 2026 06:58
@atzoum
atzoum force-pushed the feat.backendConfigV2Mapper branch from 73ee88e to ba0f35e Compare September 1, 2026 10:52
@atzoum
atzoum requested a review from fracasula September 1, 2026 10:57
@atzoum
atzoum force-pushed the feat.backendConfigV2Mapper branch from ba0f35e to f02bfa2 Compare September 1, 2026 11:10

@fracasula fracasula left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approving with some minor comments.

@atzoum
atzoum force-pushed the feat.backendConfigV2Mapper branch 2 times, most recently from 18630c3 to 7d9a5e8 Compare September 1, 2026 16:19
@atzoum
atzoum force-pushed the feat.backendConfigV2Mapper branch from 7d9a5e8 to bc891ff Compare September 1, 2026 16:19
@atzoum
atzoum enabled auto-merge (squash) September 1, 2026 16:54
@atzoum
atzoum merged commit 887f6d2 into master Sep 1, 2026
117 of 119 checks passed
@atzoum
atzoum deleted the feat.backendConfigV2Mapper branch September 1, 2026 16:56
@atzoum atzoum mentioned this pull request Sep 3, 2026
1 task done
This was referenced Sep 7, 2026
mihir20 pushed a commit that referenced this pull request Sep 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.86.0-rc.1](v1.85.0...v1.86.0-rc.1)
(2026-09-07)


### Features

* backend config v2-to-v1 mapper
([#7315](#7315))
([887f6d2](887f6d2))
* **core:** capture the final recorded error for failed rETL records
([#7295](#7295))
([f4dc4d9](f4dc4d9))
* per-destination visibility at the destination-filter boundary
([#7283](#7283))
([3d83f02](3d83f02))
* user_suppression counter via suppressed dummy jobs
([#7325](#7325))
([77d3d37](77d3d37))
* **warehouse:** support jsonPaths for gcs datalake
([#7333](#7333))
([e714140](e714140))


### Bug Fixes

* rsources failed-records pagination drops records across failed-key
boundaries
([#7329](#7329))
([0a50439](0a50439))
* **warehouse:** stop logging full schemas on table-level schema
mismatch
([#7339](#7339))
([f244c14](f244c14))
* **warehouse:** upgrade clickhouse v2 driver
([#7332](#7332))
([e2c5cb9](e2c5cb9))


### Miscellaneous

* **ci:** remove unused Snyk policy file (SEC-409)
([#7317](#7317))
([d60b3c6](d60b3c6))
* make reporting 413 handling unconditional
([#7313](#7313))
([d2474e9](d2474e9))
* moving pyt contract tests
([#7327](#7327))
([8316af2](8316af2))
* **processor:** pipeline attribution in processor stats
([#7326](#7326))
([3e97f7c](3e97f7c))
* skip consent and connection-mode filtering for replays of non-existent
connections
([#7323](#7323))
([d2474e9](d2474e9))

---
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 8, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.86.0](v1.85.0...v1.86.0)
(2026-09-07)


### Features

* backend config v2-to-v1 mapper
([#7315](#7315))
([887f6d2](887f6d2))
* **core:** capture the final recorded error for failed rETL records
([#7295](#7295))
([f4dc4d9](f4dc4d9))
* per-destination visibility at the destination-filter boundary
([#7283](#7283))
([3d83f02](3d83f02))
* user_suppression counter via suppressed dummy jobs
([#7325](#7325))
([77d3d37](77d3d37))
* **warehouse:** support jsonPaths for gcs datalake
([#7333](#7333))
([e714140](e714140))


### Bug Fixes

* rsources failed-records pagination drops records across failed-key
boundaries
([#7329](#7329))
([0a50439](0a50439))
* **warehouse:** stop logging full schemas on table-level schema
mismatch
([#7339](#7339))
([f244c14](f244c14))
* **warehouse:** upgrade clickhouse v2 driver
([#7332](#7332))
([e2c5cb9](e2c5cb9))


### Miscellaneous

* **ci:** remove unused Snyk policy file (SEC-409)
([#7317](#7317))
([d60b3c6](d60b3c6))
* make reporting 413 handling unconditional
([#7313](#7313))
([d2474e9](d2474e9))
* moving pyt contract tests
([#7327](#7327))
([8316af2](8316af2))
* **processor:** pipeline attribution in processor stats
([#7326](#7326))
([3e97f7c](3e97f7c))
* skip consent and connection-mode filtering for replays of non-existent
connections
([#7323](#7323))
([d2474e9](d2474e9))

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