Skip to content

fix: propagate request context in webhook batchTransformLoop - #6835

Closed
gmalathi wants to merge 1 commit into
rudderlabs:masterfrom
gmalathi:fix/webhook-context-propagation
Closed

fix: propagate request context in webhook batchTransformLoop#6835
gmalathi wants to merge 1 commit into
rudderlabs:masterfrom
gmalathi:fix/webhook-context-propagation

Conversation

@gmalathi

@gmalathi gmalathi commented Apr 2, 2026

Copy link
Copy Markdown

Replaces the manual context.WithTimeout(context.Background(), 10s) with the HTTP request context from the batch, so transformer adapter calls respect the gateway-level timeout rather than an isolated hardcoded one.

Resolves #6787

Description

< Replace with adequate description for this PR as per Pull Request document >

Linear Ticket

< Replace with Linear Link ( create or search linear ticket) or >

Security

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

Replaces the manual context.WithTimeout(context.Background(), 10s) with
the HTTP request context from the batch, so transformer adapter calls
respect the gateway-level timeout rather than an isolated hardcoded one.

Resolves rudderlabs#6787

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@contributor-support

Copy link
Copy Markdown

Thank you @gmalathi for contributing this PR.
Please sign the Contributor License Agreement (CLA) before merging.

@atzoum

atzoum commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

duplicate of #6788

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.

chore: resolve TODO by replacing manual context timeout in webhook batch processing

2 participants