Skip to content

feat: Introduce raft backend for webauthn#658

Merged
gtema merged 1 commit into
mainfrom
raft
Apr 15, 2026
Merged

feat: Introduce raft backend for webauthn#658
gtema merged 1 commit into
mainfrom
raft

Conversation

@gtema
Copy link
Copy Markdown
Collaborator

@gtema gtema commented Apr 10, 2026

Introduce a new backend driver for the webauthn functionality.

  • make raft default driver
  • extend storage crate with necessary functions
  • modify the model for credentials to get rid of the sql specifics on the provider level

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 10, 2026

🦢 Load Test Results

Goose Attack Report

Plan Overview

Action Started Stopped Elapsed Users
Increasing 26-04-15 13:58:17 26-04-15 13:58:19 00:00:02 0 → 4
Maintaining 26-04-15 13:58:19 26-04-15 13:58:49 00:00:30 4
Decreasing 26-04-15 13:58:49 26-04-15 13:58:49 00:00:00 0 ← 4

Request Metrics

Method Name # Requests # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
GET 9786 0 11.77 7 28 326.20 0.00
Aggregated 9786 0 11.77 7 28 326.20 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 11 15 16 17 18 20 28
Aggregated 10 11 15 16 17 18 20 28

Status Code Metrics

Method Name Status Codes
GET 9,786 [200]
Aggregated 9,786 [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 6220 0 9.17 7 20 207.33 0.00
ValidateToken
1.0 0 0 0.00 0 0 0.00 0.00
1.1 3566 0 16.37 11 28 118.87 0.00
Aggregated 9786 0 11.77 7 28 326.20 0.00

Scenario Metrics

Transaction # Users # Times Run Average (ms) Min (ms) Max (ms) Scenarios/s Iterations
ListUsers 2 6218 9.18 7 20 207.27 3109.00
ValidateToken 2 3564 16.38 13 28 118.80 1782.00
Aggregated 4 9782 11.80 7 28 326.07 4891.00

View full report

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 10, 2026

🐰 Bencher Report

Branchraft
Testbedubuntu-latest

🚨 1 Alert

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Upper Boundary
(Limit %)
get_fernet_token_timestamp/projectLatency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
170.55 ns
(+14.35%)Baseline: 149.15 ns
169.27 ns
(100.76%)

Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
fernet token/project📈 view plot
🚷 view threshold
1,499.00 ns
(+2.13%)Baseline: 1,467.73 ns
1,540.25 ns
(97.32%)
get_fernet_token_timestamp/project📈 view plot
🚷 view threshold
🚨 view alert (🔔)
170.55 ns
(+14.35%)Baseline: 149.15 ns
169.27 ns
(100.76%)

🐰 View full continuous benchmarking report in Bencher

@gtema gtema marked this pull request as ready for review April 15, 2026 10:55
@gtema gtema force-pushed the raft branch 3 times, most recently from d7e5efc to e3153c5 Compare April 15, 2026 12:52
Introduce a new backend driver for the webauthn functionality.

- make raft default driver
- modify the model for credentials to get rid of the sql specifics on
  the provider level
- add direct integration test for the provider for sql and raft driver
@gtema gtema merged commit 2cb8e0e into main Apr 15, 2026
33 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