Transformer Compatibility Error Log October 2024


The RudderStack team has recently completed a major refactoring of the rudder-transformer codebase for sources, resulting in two versions of integrations:

info
The v1 sources provide options to customize the source setup as per your requirements, allowing for a more flexible source behavior.

With the rudder-server release v1.37.0, the v0 API of the source integrations will be deprecated.

This change will cause the rudder-server to be compatible only with rudder-transfomer v1.50.0 and above.

Any transformer version below 1.50.0 cause rudder-server to fail with the below error message:

{
    "stack": "goroutine 293 [running]:\nruntime/debug.Stack()\n\t/usr/local/go/src/runtime/debug/stack.go:26 +0x64\ngithub.com/rudderlabs/rudder-server/utils/crash.(*panicLogger).Notify.func1.1()\n\t/rudder-server/utils/crash/logger.go:34 +0x4c\nsync.(*Once).doSlow(0x400177bc08?, 0x49a6c?)\n\t/usr/local/go/src/sync/once.go:76 +0xf8\nsync.(*Once).Do(...)\n\t/usr/local/go/src/sync/once.go:67\ngithub.com/rudderlabs/rudder-server/utils/crash.(*panicLogger).Notify.func1()\n\t/rudder-server/utils/crash/logger.go:32 +0x9c\npanic({0x323dee0?, 0x43c3d60?})\n\t/usr/local/go/src/runtime/panic.go:785 +0x124\ngithub.com/rudderlabs/rudder-server/services/transformer.(*featuresService).SourceTransformerVersion(0xffff3a7f39b8?)\n\t/rudder-server/services/transformer/features_impl.go:32 +0xe0\ngithub.com/rudderlabs/rudder-server/services/transformer.(*featuresService).makeFeaturesFetchCall(0x40018aec60)\n\t/rudder-server/services/transformer/features_impl.go:122 +0x298\ngithub.com/rudderlabs/rudder-server/services/transformer.(*featuresService).syncTransformerFeatureJson(0x40018aec60, {0x441e8f0, 0x40014ced20})\n\t/rudder-server/services/transformer/features_impl.go:72 +0x180\ngithub.com/rudderlabs/rudder-server/services/transformer.NewFeaturesService.func1()\n\t/rudder-server/services/transformer/features.go:61 +0x28\ngithub.com/rudderlabs/rudder-server/rruntime.Go.func1()\n\t/rudder-server/rruntime/goroutine-factory.go:23 +0x64\ncreated by github.com/rudderlabs/rudder-server/rruntime.Go in goroutine 261\n\t/rudder-server/rruntime/goroutine-factory.go:21 +0x5c\n",
    "panic": "Webhook source v0 version has been deprecated. This is a breaking change. Upgrade transformer version to greater than 1.50.0 for v1",
    "team": "Core",
    "goRoutines": 79,
    "version": "chore.webhook-v0-deprecation",
    "releaseStage": "development",
    "appType": "rudder-server-EMBEDDED"
}

Questions? Contact us by email or on Slack