feat(loadtest): Add more auth tests - #1119
Open
gtema wants to merge 1 commit into
Open
Conversation
|
🦢 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 |
gtema
force-pushed
the
claude/loadtest-expansion-stress-u8i0j4
branch
2 times, most recently
from
July 30, 2026 14:55
bcb8f65 to
9de508b
Compare
Expand the Goose load test into a stress-test suite: seeded users now get a real shared password and a role on a dedicated auth project, so password authentication (unscoped, project-scoped, and a negative wrong-password case) can be exercised under load. Add token-rescoping scenarios (rescope to system scope, and a negative rescope-to-a- nonexistent-project case), a system-scoped auth scenario using the initial bootstrap admin credentials, and an explicit check that a revoked token no longer validates. Split src/v3/auth.rs into a v3/auth/ module (lifecycle, password, rescope, system) to keep each concern in its own file. Assigned-by: Claude <noreply@anthropic.com> Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
gtema
force-pushed
the
claude/loadtest-expansion-stress-u8i0j4
branch
from
July 30, 2026 18:00
9de508b to
478b30a
Compare
|
| 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 | 128,750.00 ns(-61.46%)Baseline: 334,061.52 ns | 1,647,590.11 ns (7.81%) |
| Command_Serde/apply/set | 📈 view plot 🚷 view threshold | 140,860.00 ns(-62.25%)Baseline: 373,118.78 ns | 1,713,156.61 ns (8.22%) |
| Command_Serde/pack/delete | 📈 view plot 🚷 view threshold | 121.70 ns(+3.18%)Baseline: 117.94 ns | 157.48 ns (77.28%) |
| Command_Serde/pack/delete_index | 📈 view plot 🚷 view threshold | 108.44 ns(+3.92%)Baseline: 104.35 ns | 138.44 ns (78.33%) |
| Command_Serde/pack/set | 📈 view plot 🚷 view threshold | 212.97 ns(+12.57%)Baseline: 189.18 ns | 250.49 ns (85.02%) |
| Command_Serde/pack/set_index | 📈 view plot 🚷 view threshold | 108.23 ns(+3.72%)Baseline: 104.35 ns | 138.72 ns (78.02%) |
| Command_Serde/unpack/delete | 📈 view plot 🚷 view threshold | 193.92 ns(+6.62%)Baseline: 181.88 ns | 263.65 ns (73.55%) |
| Command_Serde/unpack/delete_index | 📈 view plot 🚷 view threshold | 157.58 ns(+3.35%)Baseline: 152.47 ns | 214.87 ns (73.34%) |
| Command_Serde/unpack/set | 📈 view plot 🚷 view threshold | 276.97 ns(+8.64%)Baseline: 254.93 ns | 348.23 ns (79.54%) |
| Command_Serde/unpack/set_index | 📈 view plot 🚷 view threshold | 158.25 ns(+5.96%)Baseline: 149.34 ns | 208.79 ns (75.80%) |
| Payload_encryption/pack/remove_cmd | 📈 view plot 🚷 view threshold | 125.98 ns(+12.40%)Baseline: 112.08 ns | 149.37 ns (84.34%) |
| Payload_encryption/pack/set_cmd | 📈 view plot 🚷 view threshold | 193.03 ns(-0.68%)Baseline: 194.36 ns | 263.87 ns (73.15%) |
| Payload_encryption/unpack/remove_cmd | 📈 view plot 🚷 view threshold | 212.89 ns(+11.89%)Baseline: 190.28 ns | 278.62 ns (76.41%) |
| Payload_encryption/unpack/set_cmd | 📈 view plot 🚷 view threshold | 302.09 ns(+12.95%)Baseline: 267.47 ns | 372.40 ns (81.12%) |
| Raft_1Node_Latency/prefix/1node | 📈 view plot 🚷 view threshold | 2,402,500.00 ns(-9.23%)Baseline: 2,646,746.25 ns | 6,645,777.94 ns (36.15%) |
| Raft_1Node_Latency/read/1node | 📈 view plot 🚷 view threshold | 44,617.00 ns(+17.42%)Baseline: 37,996.33 ns | 53,708.69 ns (83.07%) |
| Raft_1Node_Latency/remove/1node | 📈 view plot 🚷 view threshold | 365,940.00 ns(-58.88%)Baseline: 889,896.25 ns | 4,216,617.12 ns (8.68%) |
| Raft_1Node_Latency/write/1node | 📈 view plot 🚷 view threshold | 377,370.00 ns(-62.50%)Baseline: 1,006,372.66 ns | 5,518,736.16 ns (6.84%) |
| build_snapshot/default | 📈 view plot 🚷 view threshold | 109,080.00 ns(-14.29%)Baseline: 127,272.27 ns | 223,412.40 ns (48.82%) |
| fernet token/project | 📈 view plot 🚷 view threshold | 1,488.90 ns(+5.63%)Baseline: 1,409.58 ns | 1,793.88 ns (83.00%) |
| get_data_keyspace | 📈 view plot 🚷 view threshold | 0.32 ns(+2.17%)Baseline: 0.31 ns | 0.39 ns (83.11%) |
| get_db | 📈 view plot 🚷 view threshold | 0.32 ns(+3.47%)Baseline: 0.31 ns | 0.38 ns (84.33%) |
| get_fernet_token_timestamp/project | 📈 view plot 🚷 view threshold | 136.72 ns(-1.82%)Baseline: 139.25 ns | 179.25 ns (76.27%) |
| get_keyspace | 📈 view plot 🚷 view threshold | 4.27 ns(-32.15%)Baseline: 6.29 ns | 14.96 ns (28.52%) |
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.
Expand the Goose load test into a stress-test suite: seeded users now
get a real shared password and a role on a dedicated auth project, so
password authentication (unscoped, project-scoped, and a negative
wrong-password case) can be exercised under load. Add token-rescoping
scenarios (rescope to system scope, and a negative rescope-to-a-
nonexistent-project case), a system-scoped auth scenario using the
initial bootstrap admin credentials, and an explicit check that a
revoked token no longer validates.
Split src/v3/auth.rs into a v3/auth/ module (lifecycle, password,
rescope, system) to keep each concern in its own file.
Assited-by: Claude noreply@anthropic.com
Signed-off-by: Artem Goncharov artem.goncharov@gmail.com