Skip to content

Conversation

@njlie
Copy link
Contributor

@njlie njlie commented Oct 10, 2025

Changes proposed in this pull request

  • Adds a walletAddressPrefix column to the Tenant model.
  • Removes WALLET_ADDRESS_URL as a tenant setting.
  • Makes walletAddressPrefix a required value when creating a tenant.
  • Allows the updating of wallet address prefixes by a tenant.
  • Migrates existing WALLET_ADDRESS_URL settings into new walletAddressPrefix column.

Context

Closes RAF-1194.

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

netlify bot commented Oct 10, 2025

Deploy Preview for brilliant-pasca-3e80ec canceled.

Name Link
🔨 Latest commit 46b44f2
🔍 Latest deploy log https://app.netlify.com/projects/brilliant-pasca-3e80ec/deploys/691b60db09079f00083b239e

@github-actions github-actions bot added type: tests Testing related pkg: backend Changes in the backend package. pkg: frontend Changes in the frontend package. type: source Changes business logic pkg: mock-ase pkg: mock-account-service-lib labels Oct 10, 2025
@github-actions
Copy link

github-actions bot commented Oct 10, 2025

🚀 Performance Test Results

Test Configuration:

  • VUs: 4
  • Duration: 1m0s

Test Metrics:

  • Requests/s: 44.08
  • Iterations/s: 14.70
  • Failed Requests: 0.00% (0 of 2651)
📜 Logs

> [email protected] 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..................: 957 kB 16 kB/s
     data_sent......................: 2.0 MB 34 kB/s
     http_req_blocked...............: avg=9.55µs   min=2.37µs  med=5.85µs   max=4.91ms   p(90)=7.03µs   p(95)=7.62µs  
     http_req_connecting............: avg=472ns    min=0s      med=0s       max=407.27µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=90.06ms  min=8.37ms  med=73.35ms  max=472.87ms p(90)=158.16ms p(95)=180.45ms
       { expected_response:true }...: avg=90.06ms  min=8.37ms  med=73.35ms  max=472.87ms p(90)=158.16ms p(95)=180.45ms
     http_req_failed................: 0.00%  ✓ 0         ✗ 2651
     http_req_receiving.............: avg=88.6µs   min=27.27µs med=75.05µs  max=2.26ms   p(90)=103.4µs  p(95)=122µs   
     http_req_sending...............: avg=34.55µs  min=9.89µs  med=26.77µs  max=2.24ms   p(90)=37.02µs  p(95)=47.65µs 
     http_req_tls_handshaking.......: avg=0s       min=0s      med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=89.94ms  min=8.22ms  med=73.19ms  max=472.79ms p(90)=157.9ms  p(95)=180.35ms
     http_reqs......................: 2651   44.078895/s
     iteration_duration.............: avg=271.74ms min=184.8ms med=260.43ms max=958.67ms p(90)=331.25ms p(95)=372.86ms
     iterations.....................: 884    14.698507/s
     vus............................: 4      min=4       max=4 
     vus_max........................: 4      min=4       max=4 

@njlie njlie marked this pull request as ready for review October 14, 2025 20:05
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: frontend Changes in the frontend package. pkg: mock-account-service-lib pkg: mock-ase type: source Changes business logic type: tests Testing related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants