Skip to content

Comments

chore: Reorganize the token provider#360

Merged
gtema merged 1 commit intomainfrom
provider
Nov 13, 2025
Merged

chore: Reorganize the token provider#360
gtema merged 1 commit intomainfrom
provider

Conversation

@gtema
Copy link
Collaborator

@gtema gtema commented Nov 13, 2025

Apply a newer provider structure to keep modules smaller and better
structured.

@gtema
Copy link
Collaborator Author

gtema commented Nov 13, 2025

@phiphi282 this would be a sample PR for reorganizing the provider even further. This is not completed and further token types should be split into the fernet submodule (impl of the MsgPackToken trait with the test like for application_credential)

Apply a newer provider structure to keep modules smaller and better
structured.
@github-actions
Copy link

github-actions bot commented Nov 13, 2025

🦢 Load Test Results

Goose Attack Report

Plan Overview

Action Started Stopped Elapsed Users
Increasing 25-11-13 18:54:13 25-11-13 18:54:15 00:00:02 0 → 4
Maintaining 25-11-13 18:54:15 25-11-13 18:54:45 00:00:30 4
Decreasing 25-11-13 18:54:45 25-11-13 18:54:45 00:00:00 0 ← 4

Request Metrics

Method Name # Requests # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
GET 22226 0 4.92 3 9 740.87 0.00
Aggregated 22226 0 4.92 3 9 740.87 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 5 5 5 5 5 5 6 9
Aggregated 5 5 5 5 5 5 6 9

Status Code Metrics

Method Name Status Codes
GET 22,226 [200]
Aggregated 22,226 [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 22226 0 4.94 4 9 740.87 0.00
Aggregated 22226 0 4.92 4 9 740.87 0.00

Scenario Metrics

Transaction # Users # Times Run Average (ms) Min (ms) Max (ms) Scenarios/s Iterations
ListUsers 4 22222 4.94 4 9 740.73 5555.50
Aggregated 4 22222 4.94 4 9 740.73 5555.50

Error Metrics

Method Name # Error

View full report

@github-actions
Copy link

🐰 Bencher Report

Branchprovider
Testbedubuntu-latest

🚨 1 Alert

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Upper Boundary
(Limit %)
fernet token/projectLatency
microseconds (µs)
📈 plot
🚷 threshold
🚨 alert (🔔)
1.46 µs
(+26.35%)Baseline: 1.16 µs
1.37 µs
(106.90%)

Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
fernet token/project📈 view plot
🚷 view threshold
🚨 view alert (🔔)
1,460.90 ns
(+26.35%)Baseline: 1,156.25 ns
1,366.60 ns
(106.90%)

get_fernet_token_timestamp/project📈 view plot
🚷 view threshold
162.68 ns
(+9.39%)Baseline: 148.71 ns
189.73 ns
(85.74%)
🐰 View full continuous benchmarking report in Bencher

@gtema gtema merged commit c233648 into main Nov 13, 2025
19 checks passed
@gtema gtema deleted the provider branch November 15, 2025 14:58
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