fix: Map raft-not-available to proper HTTP status codes - #1149
Merged
Conversation
gtema
force-pushed
the
claude/loadtest-expansion-stress-u8i0j4
branch
from
August 4, 2026 10:03
b0ef743 to
2671a94
Compare
|
🦢 Load Test Results Goose Attack ReportPlan Overview
Request Metrics
Response Time Metrics
Status Code Metrics
Transaction Metrics
Scenario Metrics
Error Metrics
|
|
🧪 Tempest Identity Compatibility Results (advisory, non-blocking) rust Failed test IDs |
|
| Project | keystone |
| Branch | claude/loadtest-expansion-stress-u8i0j4 |
| Testbed | ubuntu-latest |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result nanoseconds (ns) (Result Δ%) | Upper Boundary nanoseconds (ns) (Limit %) |
|---|---|---|---|
| Command_Serde/apply/remove | 📈 view plot 🚷 view threshold | 91,912.00 ns(-71.05%)Baseline: 317,532.36 ns | 1,633,469.06 ns (5.63%) |
| Command_Serde/apply/set | 📈 view plot 🚷 view threshold | 99,346.00 ns(-71.49%)Baseline: 348,442.17 ns | 1,679,543.06 ns (5.92%) |
| Command_Serde/pack/delete | 📈 view plot 🚷 view threshold | 126.63 ns(+6.64%)Baseline: 118.75 ns | 157.61 ns (80.35%) |
| Command_Serde/pack/delete_index | 📈 view plot 🚷 view threshold | 113.56 ns(+7.90%)Baseline: 105.24 ns | 139.37 ns (81.48%) |
| Command_Serde/pack/set | 📈 view plot 🚷 view threshold | 195.70 ns(+3.26%)Baseline: 189.53 ns | 248.87 ns (78.64%) |
| Command_Serde/pack/set_index | 📈 view plot 🚷 view threshold | 114.23 ns(+8.51%)Baseline: 105.27 ns | 139.43 ns (81.93%) |
| Command_Serde/unpack/delete | 📈 view plot 🚷 view threshold | 213.98 ns(+15.97%)Baseline: 184.51 ns | 267.90 ns (79.87%) |
| Command_Serde/unpack/delete_index | 📈 view plot 🚷 view threshold | 186.20 ns(+20.02%)Baseline: 155.14 ns | 219.43 ns (84.85%) |
| Command_Serde/unpack/set | 📈 view plot 🚷 view threshold | 274.74 ns(+7.03%)Baseline: 256.69 ns | 349.83 ns (78.54%) |
| Command_Serde/unpack/set_index | 📈 view plot 🚷 view threshold | 182.66 ns(+20.58%)Baseline: 151.49 ns | 212.43 ns (85.99%) |
| Payload_encryption/pack/remove_cmd | 📈 view plot 🚷 view threshold | 118.37 ns(+4.32%)Baseline: 113.46 ns | 150.95 ns (78.41%) |
| Payload_encryption/pack/set_cmd | 📈 view plot 🚷 view threshold | 192.45 ns(-1.92%)Baseline: 196.22 ns | 266.12 ns (72.32%) |
| Payload_encryption/unpack/remove_cmd | 📈 view plot 🚷 view threshold | 225.27 ns(+16.39%)Baseline: 193.55 ns | 282.46 ns (79.75%) |
| Payload_encryption/unpack/set_cmd | 📈 view plot 🚷 view threshold | 279.26 ns(+3.48%)Baseline: 269.87 ns | 373.84 ns (74.70%) |
| Raft_1Node_Latency/prefix/1node | 📈 view plot 🚷 view threshold | 4,352,500.00 ns(+61.37%)Baseline: 2,697,229.06 ns | 6,175,665.76 ns (70.48%) |
| Raft_1Node_Latency/read/1node | 📈 view plot 🚷 view threshold | 35,622.00 ns(-6.58%)Baseline: 38,131.31 ns | 53,519.76 ns (66.56%) |
| Raft_1Node_Latency/remove/1node | 📈 view plot 🚷 view threshold | 270,120.00 ns(-66.92%)Baseline: 816,664.22 ns | 4,097,612.72 ns (6.59%) |
| Raft_1Node_Latency/write/1node | 📈 view plot 🚷 view threshold | 289,480.00 ns(-70.09%)Baseline: 967,742.34 ns | 5,491,202.05 ns (5.27%) |
| build_snapshot/default | 📈 view plot 🚷 view threshold | 103,950.00 ns(-16.92%)Baseline: 125,123.67 ns | 219,364.20 ns (47.39%) |
| fernet token/project | 📈 view plot 🚷 view threshold | 1,559.00 ns(+9.27%)Baseline: 1,426.78 ns | 1,813.43 ns (85.97%) |
| get_data_keyspace | 📈 view plot 🚷 view threshold | 0.35 ns(+11.57%)Baseline: 0.32 ns | 0.39 ns (90.70%) |
| get_db | 📈 view plot 🚷 view threshold | 0.35 ns(+11.46%)Baseline: 0.32 ns | 0.39 ns (90.74%) |
| get_fernet_token_timestamp/project | 📈 view plot 🚷 view threshold | 148.95 ns(+6.01%)Baseline: 140.50 ns | 179.03 ns (83.20%) |
| get_keyspace | 📈 view plot 🚷 view threshold | 4.74 ns(-23.09%)Baseline: 6.17 ns | 14.58 ns (32.52%) |
gtema
force-pushed
the
claude/loadtest-expansion-stress-u8i0j4
branch
from
August 4, 2026 12:28
2671a94 to
cbaf7b3
Compare
Add KeystoneApiError::NotImplemented variant (HTTP 501) and map all RaftNotAvailable errors to the correct status: - Oauth2KeyProviderError::RaftNotAvailable -> NotFound (404) for JWKS and well-known endpoints - All *ProviderError::RaftNotAvailable -> NotImplemented (501) Update skaffold.yaml to robustly build raft clusters on deploy: - Remove || true from join command to fail fast on broken clusters - Add sleep 2 between join iterations to prevent leader overload - Replace sleep 5 with list-peers polling loop that waits for all nodes to appear in cluster membership - Add post-promote verification loop to confirm all replicas are voters before proceeding to ensure-signing-key Switch loadtest to the k3s with the raft backend Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
gtema
force-pushed
the
claude/loadtest-expansion-stress-u8i0j4
branch
from
August 4, 2026 13:40
cbaf7b3 to
1b58b83
Compare
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add KeystoneApiError::NotImplemented variant (HTTP 501) and map all
RaftNotAvailable errors to the correct status:
JWKS and well-known endpoints
Update skaffold.yaml to robustly build raft clusters on deploy:
nodes to appear in cluster membership
voters before proceeding to ensure-signing-key
Signed-off-by: Artem Goncharov artem.goncharov@gmail.com