Skip to content

feat: Add role-imply rest api#750

Merged
gtema merged 1 commit into
mainfrom
role_imply
Jun 5, 2026
Merged

feat: Add role-imply rest api#750
gtema merged 1 commit into
mainfrom
role_imply

Conversation

@gtema
Copy link
Copy Markdown
Collaborator

@gtema gtema commented Jun 3, 2026

  • adopt provider api to return resolved RoleRef instead of just IDs
  • add API

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

🦢 Load Test Results

Goose Attack Report

Plan Overview

Action Started Stopped Elapsed Users
Increasing 26-06-05 08:48:18 26-06-05 08:48:20 00:00:02 0 → 4
Maintaining 26-06-05 08:48:20 26-06-05 08:48:50 00:00:30 4
Decreasing 26-06-05 08:48:50 26-06-05 08:48:50 00:00:00 0 ← 4

Request Metrics

Method Name # Requests # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
GET 7225 0 16.13 10 33 240.83 0.00
Aggregated 7225 0 16.13 10 33 240.83 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 14 17 20 20 21 22 24 33
Aggregated 14 17 20 20 21 22 24 33

Status Code Metrics

Method Name Status Codes
GET 7,225 [200]
Aggregated 7,225 [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 4372 0 13.27 10 22 145.73 0.00
ValidateToken
1.0 0 0 0.00 0 0 0.00 0.00
1.1 2853 0 20.60 17 33 95.10 0.00
Aggregated 7225 0 16.13 10 33 240.83 0.00

Scenario Metrics

Transaction # Users # Times Run Average (ms) Min (ms) Max (ms) Scenarios/s Iterations
ListUsers 2 4370 13.27 10 22 145.67 2185.00
ValidateToken 2 2851 20.60 17 33 95.03 1425.50
Aggregated 4 7221 16.16 10 33 240.70 3610.50

View full report

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

🐰 Bencher Report

Branchrole_imply
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
80,903.00 ns
(-46.36%)Baseline: 150,826.42 ns
547,737.40 ns
(14.77%)
Command_Serde/apply/set📈 view plot
🚷 view threshold
83,910.00 ns
(-37.72%)Baseline: 134,738.83 ns
320,697.60 ns
(26.16%)
Command_Serde/pack/delete📈 view plot
🚷 view threshold
122.97 ns
(+0.35%)Baseline: 122.55 ns
142.36 ns
(86.38%)
Command_Serde/pack/delete_index📈 view plot
🚷 view threshold
115.83 ns
(+1.27%)Baseline: 114.38 ns
132.23 ns
(87.59%)
Command_Serde/pack/set📈 view plot
🚷 view threshold
191.18 ns
(-3.61%)Baseline: 198.34 ns
234.94 ns
(81.37%)
Command_Serde/pack/set_index📈 view plot
🚷 view threshold
115.29 ns
(+0.59%)Baseline: 114.61 ns
132.22 ns
(87.20%)
Command_Serde/unpack/delete📈 view plot
🚷 view threshold
210.73 ns
(+11.94%)Baseline: 188.25 ns
226.03 ns
(93.23%)
Command_Serde/unpack/delete_index📈 view plot
🚷 view threshold
190.77 ns
(+15.17%)Baseline: 165.65 ns
200.36 ns
(95.21%)
Command_Serde/unpack/set📈 view plot
🚷 view threshold
259.93 ns
(+5.49%)Baseline: 246.40 ns
286.51 ns
(90.72%)
Command_Serde/unpack/set_index📈 view plot
🚷 view threshold
196.12 ns
(+19.37%)Baseline: 164.29 ns
200.24 ns
(97.94%)
Payload_encryption/pack/inner📈 view plot
🚷 view threshold
66.24 ns
(+1.42%)Baseline: 65.31 ns
76.31 ns
(86.81%)
Payload_encryption/pack/remove_cmd📈 view plot
🚷 view threshold
119.52 ns
(-2.21%)Baseline: 122.22 ns
143.94 ns
(83.03%)
Payload_encryption/pack/set_cmd📈 view plot
🚷 view threshold
221.16 ns
(-5.27%)Baseline: 233.45 ns
288.56 ns
(76.64%)
Payload_encryption/unpack/inner📈 view plot
🚷 view threshold
163.99 ns
(+0.15%)Baseline: 163.75 ns
191.17 ns
(85.78%)
Payload_encryption/unpack/remove_cmd📈 view plot
🚷 view threshold
209.80 ns
(+5.92%)Baseline: 198.08 ns
239.89 ns
(87.46%)
Payload_encryption/unpack/set_cmd📈 view plot
🚷 view threshold
269.27 ns
(+4.06%)Baseline: 258.77 ns
309.55 ns
(86.99%)
Raft_1Node_Latency/prefix/1node📈 view plot
🚷 view threshold
5,096,900.00 ns
(+39.94%)Baseline: 3,642,257.89 ns
6,647,248.95 ns
(76.68%)
Raft_1Node_Latency/read/1node📈 view plot
🚷 view threshold
587.81 ns
(+4.82%)Baseline: 560.80 ns
744.60 ns
(78.94%)
Raft_1Node_Latency/remove/1node📈 view plot
🚷 view threshold
245,830.00 ns
(-37.27%)Baseline: 391,916.58 ns
1,106,077.38 ns
(22.23%)
Raft_1Node_Latency/write/1node📈 view plot
🚷 view threshold
257,940.00 ns
(-32.19%)Baseline: 380,380.53 ns
881,982.51 ns
(29.25%)
build_snapshot/default📈 view plot
🚷 view threshold
94,102.00 ns
(+1.71%)Baseline: 92,517.56 ns
149,651.35 ns
(62.88%)
fernet token/project📈 view plot
🚷 view threshold
1,456.20 ns
(-0.62%)Baseline: 1,465.27 ns
1,634.96 ns
(89.07%)
get_data_keyspace📈 view plot
🚷 view threshold
0.35 ns
(+9.75%)Baseline: 0.32 ns
0.38 ns
(93.19%)
get_db📈 view plot
🚷 view threshold
0.35 ns
(+9.56%)Baseline: 0.32 ns
0.38 ns
(92.81%)
get_fernet_token_timestamp/project📈 view plot
🚷 view threshold
149.34 ns
(+0.69%)Baseline: 148.32 ns
173.13 ns
(86.26%)
get_keyspace📈 view plot
🚷 view threshold
4.78 ns
(+3.41%)Baseline: 4.62 ns
7.89 ns
(60.61%)
🐰 View full continuous benchmarking report in Bencher

- adopt provider api to return resolved RoleRef instead of just IDs
- add API
@gtema gtema merged commit 7d5aa46 into main Jun 5, 2026
32 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.

1 participant