Skip to content

feat: Add user update functionality#747

Merged
gtema merged 1 commit into
mainfrom
update_user
Jun 2, 2026
Merged

feat: Add user update functionality#747
gtema merged 1 commit into
mainfrom
update_user

Conversation

@gtema
Copy link
Copy Markdown
Collaborator

@gtema gtema commented Jun 2, 2026

  • add user update provider, api and policy implementation
  • add integration and api tests for updating user verifying the password
    rotation.

Comment thread tests/api/src/identity/user/create.rs Dismissed
Comment thread tests/api/src/identity/user/create.rs Dismissed
Comment thread tests/api/src/identity/user/update.rs Dismissed
Comment thread tests/api/src/identity/user/update.rs Dismissed
Comment thread tests/api/src/identity/user/update.rs Dismissed
- add user update provider, api and policy implementation
- add integration and api tests for updating user verifying the password
  rotation.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

🦢 Load Test Results

Goose Attack Report

Plan Overview

Action Started Stopped Elapsed Users
Increasing 26-06-02 16:53:36 26-06-02 16:53:38 00:00:02 0 → 4
Maintaining 26-06-02 16:53:38 26-06-02 16:54:08 00:00:30 4
Decreasing 26-06-02 16:54:08 26-06-02 16:54:08 00:00:00 0 ← 4

Request Metrics

Method Name # Requests # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
GET 9661 0 11.93 8 24 322.03 0.00
Aggregated 9661 0 11.93 8 24 322.03 0.00

Response Time Metrics

Method Name 50%ile (ms) 60%ile (ms) 70%ile (ms) 80%ile (ms) 90%ile (ms) 95%ile (ms) 99%ile (ms) 100%ile (ms)
GET 10 13 15 15 16 16 18 24
Aggregated 10 13 15 15 16 16 18 24

Status Code Metrics

Method Name Status Codes
GET 9,661 [200]
Aggregated 9,661 [200]

Transaction Metrics

Transaction # Times Run # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
ListUsers
0.0 0 0 0.00 0 0 0.00 0.00
0.1 5841 0 9.80 8 16 194.70 0.00
ValidateToken
1.0 0 0 0.00 0 0 0.00 0.00
1.1 3820 0 15.25 12 24 127.33 0.00
Aggregated 9661 0 11.93 8 24 322.03 0.00

Scenario Metrics

Transaction # Users # Times Run Average (ms) Min (ms) Max (ms) Scenarios/s Iterations
ListUsers 2 5839 9.81 8 16 194.63 2919.50
ValidateToken 2 3818 15.25 12 24 127.27 1909.00
Aggregated 4 9657 11.96 8 24 321.90 4828.50

View full report

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

🐰 Bencher Report

Branchupdate_user
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
Command_Serde/apply/remove📈 view plot
🚷 view threshold
84,675.00 ns
(-43.36%)Baseline: 149,507.50 ns
555,896.24 ns
(15.23%)
Command_Serde/apply/set📈 view plot
🚷 view threshold
84,871.00 ns
(-35.56%)Baseline: 131,715.29 ns
311,199.83 ns
(27.27%)
Command_Serde/pack/delete📈 view plot
🚷 view threshold
122.80 ns
(+0.27%)Baseline: 122.47 ns
142.98 ns
(85.89%)
Command_Serde/pack/delete_index📈 view plot
🚷 view threshold
115.63 ns
(+1.16%)Baseline: 114.30 ns
132.76 ns
(87.09%)
Command_Serde/pack/set📈 view plot
🚷 view threshold
218.43 ns
(+10.03%)Baseline: 198.51 ns
236.38 ns
(92.41%)
Command_Serde/pack/set_index📈 view plot
🚷 view threshold
115.13 ns
(+0.49%)Baseline: 114.56 ns
132.77 ns
(86.71%)
Command_Serde/unpack/delete📈 view plot
🚷 view threshold
203.60 ns
(+8.29%)Baseline: 188.02 ns
226.43 ns
(89.92%)
Command_Serde/unpack/delete_index📈 view plot
🚷 view threshold
178.76 ns
(+8.21%)Baseline: 165.20 ns
200.74 ns
(89.05%)
Command_Serde/unpack/set📈 view plot
🚷 view threshold
257.92 ns
(+4.75%)Baseline: 246.22 ns
287.55 ns
(89.70%)
Command_Serde/unpack/set_index📈 view plot
🚷 view threshold
185.87 ns
(+13.66%)Baseline: 163.54 ns
199.47 ns
(93.18%)
Payload_encryption/pack/inner📈 view plot
🚷 view threshold
66.17 ns
(+1.33%)Baseline: 65.30 ns
76.64 ns
(86.34%)
Payload_encryption/pack/remove_cmd📈 view plot
🚷 view threshold
120.02 ns
(-1.77%)Baseline: 122.18 ns
144.58 ns
(83.01%)
Payload_encryption/pack/set_cmd📈 view plot
🚷 view threshold
220.40 ns
(-5.48%)Baseline: 233.19 ns
288.79 ns
(76.32%)
Payload_encryption/unpack/inner📈 view plot
🚷 view threshold
163.41 ns
(-0.06%)Baseline: 163.50 ns
191.57 ns
(85.30%)
Payload_encryption/unpack/remove_cmd📈 view plot
🚷 view threshold
210.25 ns
(+6.42%)Baseline: 197.57 ns
239.44 ns
(87.81%)
Payload_encryption/unpack/set_cmd📈 view plot
🚷 view threshold
268.96 ns
(+4.07%)Baseline: 258.43 ns
310.26 ns
(86.69%)
Raft_1Node_Latency/prefix/1node📈 view plot
🚷 view threshold
5,295,700.00 ns
(+44.47%)Baseline: 3,665,630.56 ns
6,660,409.02 ns
(79.51%)
Raft_1Node_Latency/read/1node📈 view plot
🚷 view threshold
586.53 ns
(+5.00%)Baseline: 558.61 ns
746.58 ns
(78.56%)
Raft_1Node_Latency/remove/1node📈 view plot
🚷 view threshold
248,810.00 ns
(-35.09%)Baseline: 383,344.72 ns
1,092,897.28 ns
(22.77%)
Raft_1Node_Latency/write/1node📈 view plot
🚷 view threshold
244,900.00 ns
(-34.93%)Baseline: 376,346.39 ns
879,489.35 ns
(27.85%)
build_snapshot/default📈 view plot
🚷 view threshold
94,204.00 ns
(+1.48%)Baseline: 92,828.09 ns
151,656.46 ns
(62.12%)
fernet token/project📈 view plot
🚷 view threshold
1,491.30 ns
(+1.66%)Baseline: 1,466.89 ns
1,635.72 ns
(91.17%)
get_data_keyspace📈 view plot
🚷 view threshold
0.35 ns
(+9.44%)Baseline: 0.32 ns
0.38 ns
(92.84%)
get_db📈 view plot
🚷 view threshold
0.35 ns
(+9.74%)Baseline: 0.32 ns
0.38 ns
(92.87%)
get_fernet_token_timestamp/project📈 view plot
🚷 view threshold
147.49 ns
(-0.67%)Baseline: 148.48 ns
173.30 ns
(85.11%)
get_keyspace📈 view plot
🚷 view threshold
4.86 ns
(+5.08%)Baseline: 4.63 ns
8.00 ns
(60.81%)
🐰 View full continuous benchmarking report in Bencher

@gtema gtema merged commit 8902324 into main Jun 2, 2026
36 checks passed
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