Skip to content

fix(router): transformer returning response with empty metadata array causes server to panic - #7144

Merged
atzoum merged 1 commit into
release/1.79.xfrom
fix.routerPanic
Jul 1, 2026
Merged

atzoum merged 1 commit into
release/1.79.xfrom
fix.routerPanic

Conversation

@atzoum

@atzoum atzoum commented Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

A malformed transformer response containing a destination job with an empty metadata array could slip past validation and crash the server with an index-out-of-range panic.
We are now failing the batch instead (triggering the existing retry path) and we're relyingon the existing router_transformer_invalid_response counter for alerting.

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 changed the base branch from master to release/1.79.x July 1, 2026 21:19
@atzoum
atzoum force-pushed the fix.routerPanic branch from f04a992 to 942b61e Compare July 1, 2026 21:20
@atzoum atzoum changed the title Fix.router panic chore: log error on empty JobMetadataArray Jul 1, 2026
… causes server to panic

🔒 Scanned for secrets using gitleaks 8.30.1
@atzoum
atzoum force-pushed the fix.routerPanic branch from 02a18b5 to 316fe61 Compare July 1, 2026 21:27
@atzoum atzoum changed the title chore: log error on empty JobMetadataArray fix(router): transformer returning response with empty metadata array causes server to panic Jul 1, 2026
@atzoum
atzoum merged commit 47573b3 into release/1.79.x Jul 1, 2026
70 of 73 checks passed
@atzoum
atzoum deleted the fix.routerPanic branch July 1, 2026 21:50
atzoum pushed a commit that referenced this pull request Jul 1, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.79.2](v1.79.1...v1.79.2)
(2026-07-01)


### Bug Fixes

* **router:** transformer returning response with empty metadata array
causes server to panic
([#7144](#7144))
([47573b3](47573b3))

---
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>
atzoum added a commit that referenced this pull request Jul 1, 2026
# Description

Syncing patch release v1.79.2 to main branch

**↓↓ Please review and edit commit overrides before merging ↓↓**

BEGIN_COMMIT_OVERRIDE
fix(router): transformer returning response with empty metadata array
causes server to panic (#7144)
END_COMMIT_OVERRIDE

---------

Co-authored-by: Aris Tzoumas <[email protected]>
Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aris Tzoumas <[email protected]>
This was referenced Jul 6, 2026
itsmihir pushed a commit that referenced this pull request Jul 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.80.0-rc.1](v1.79.0...v1.80.0-rc.1)
(2026-07-06)


### Features

* add control-plane connection management for processor
([#7126](#7126))
([ea6ca00](ea6ca00))
* carry integration version on DestinationT to the transformer
([#7125](#7125))
([421c613](421c613))
* implement Forward RPC for control-plane requests to workspace pyt
transformers
([#7143](#7143))
([8a704cf](8a704cf))
* implement Kubernetes deployment scaler for workspace replica
management
([#7123](#7123))
([84fc747](84fc747))
* monthly active records (MAR) metering pipeline
([#7119](#7119))
([d1df486](d1df486))


### Bug Fixes

* **router:** transformer returning response with empty metadata array
causes server to panic
([#7144](#7144))
([d6a4dbc](d6a4dbc))


### Miscellaneous

* enable compression for google pubsub
([#7137](#7137))
([11c9ab8](11c9ab8))

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


##
[1.80.0](v1.79.0...v1.80.0)
(2026-07-06)


### Features

* add control-plane connection management for processor
([#7126](#7126))
([ea6ca00](ea6ca00))
* carry integration version on DestinationT to the transformer
([#7125](#7125))
([421c613](421c613))
* implement Forward RPC for control-plane requests to workspace pyt
transformers
([#7143](#7143))
([8a704cf](8a704cf))
* implement Kubernetes deployment scaler for workspace replica
management
([#7123](#7123))
([84fc747](84fc747))
* monthly active records (MAR) metering pipeline
([#7119](#7119))
([d1df486](d1df486))


### Bug Fixes

* **router:** transformer returning response with empty metadata array
causes server to panic
([#7144](#7144))
([d6a4dbc](d6a4dbc))


### Miscellaneous

* enable compression for google pubsub
([#7137](#7137))
([11c9ab8](11c9ab8))

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

2 participants