Skip to content

feat(backend): include tenantid in webhook data payload#3835

Draft
njlie wants to merge 2 commits intomainfrom
nl/raf-1074/handle-tenanted-webhooks
Draft

feat(backend): include tenantid in webhook data payload#3835
njlie wants to merge 2 commits intomainfrom
nl/raf-1074/handle-tenanted-webhooks

Conversation

@njlie
Copy link
Copy Markdown
Contributor

@njlie njlie commented Feb 12, 2026

Changes proposed in this pull request

  • Adds tenantId to webhook data payload
  • In the local playground, operator ASEs will ignore outgoing_payment and incoming_payment webhooks that are for other tenants, in the event that SEND_TENANT_WEBHOOKS_TO_OPERATOR is true on the backend.

Context

Fixes RAF-1074.

Checklist

  • Related issues linked using fixes #number
  • Tests added/updated
  • Make sure that all checks pass
  • Bruno collection updated (if necessary)
  • Documentation issue created with user-docs label (if necessary)
  • OpenAPI specs updated (if necessary)

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 12, 2026

Deploy Preview for brilliant-pasca-3e80ec failed. Why did it fail? →

Name Link
🔨 Latest commit f23477b
🔍 Latest deploy log https://app.netlify.com/projects/brilliant-pasca-3e80ec/deploys/69a9b939514b0c00081de6d3

@github-actions github-actions bot added pkg: backend Changes in the backend package. type: source Changes business logic pkg: mock-ase pkg: mock-account-service-lib labels Feb 12, 2026
@github-actions
Copy link
Copy Markdown

🚀 Performance Test Results

Test Configuration:

  • VUs: 4
  • Duration: 1m0s

Test Metrics:

  • Requests/s: 45.68
  • Iterations/s: 15.26
  • Failed Requests: 0.00% (0 of 2749)
📜 Logs

> performance@1.0.0 run-tests:testenv /home/runner/work/rafiki/rafiki/test/performance
> ./scripts/run-tests.sh -e test "-k" "-q" "--vus" "4" "--duration" "1m"

Cloud Nine GraphQL API is up: http://localhost:3101/graphql
Cloud Nine Wallet Address is up: http://localhost:3100/
Happy Life Bank Address is up: http://localhost:4100/
cloud-nine-wallet-test-backend already set
cloud-nine-wallet-test-auth already set
happy-life-bank-test-backend already set
happy-life-bank-test-auth already set
     data_received..................: 993 kB 17 kB/s
     data_sent......................: 2.1 MB 35 kB/s
     http_req_blocked...............: avg=6.69µs  min=2.13µs  med=4.85µs   max=906.87µs p(90)=6.09µs   p(95)=6.61µs  
     http_req_connecting............: avg=528ns   min=0s      med=0s       max=486.47µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=86.93ms min=6.16ms  med=72.1ms   max=469.21ms p(90)=148.5ms  p(95)=171.91ms
       { expected_response:true }...: avg=86.93ms min=6.16ms  med=72.1ms   max=469.21ms p(90)=148.5ms  p(95)=171.91ms
     http_req_failed................: 0.00%  ✓ 0         ✗ 2749
     http_req_receiving.............: avg=81.18µs min=28.04µs med=70.76µs  max=3.12ms   p(90)=106.57µs p(95)=130.51µs
     http_req_sending...............: avg=35.79µs min=9.47µs  med=27.18µs  max=2.2ms    p(90)=41.47µs  p(95)=55.93µs 
     http_req_tls_handshaking.......: avg=0s      min=0s      med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=86.81ms min=6.02ms  med=71.94ms  max=469.12ms p(90)=148.38ms p(95)=171.68ms
     http_reqs......................: 2749   45.683241/s
     iteration_duration.............: avg=261.9ms min=167.8ms med=250.23ms max=998.61ms p(90)=318.42ms p(95)=354.52ms
     iterations.....................: 918    15.255444/s
     vus............................: 4      min=4       max=4 
     vus_max........................: 4      min=4       max=4 

@njlie njlie marked this pull request as draft February 12, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: backend Changes in the backend package. pkg: mock-account-service-lib pkg: mock-ase type: source Changes business logic

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant