Require a name on every API key policy#1082
Merged
Merged
Conversation
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
Contributor
There was a problem hiding this comment.
Benchmark Index (community)
Details
| Benchmark suite | Current: 875134e | Previous: a6f74b0 | Ratio |
|---|---|---|---|
Add one schema (0 existing) |
296 ms |
414 ms |
0.71 |
Add one schema (100 existing) |
24 ms |
30 ms |
0.80 |
Add one schema (1000 existing) |
76 ms |
88 ms |
0.86 |
Add one schema (10000 existing) |
1274 ms |
708 ms |
1.80 |
Update one schema (1 existing) |
17 ms |
22 ms |
0.77 |
Update one schema (101 existing) |
27 ms |
29 ms |
0.93 |
Update one schema (1001 existing) |
82 ms |
89 ms |
0.92 |
Update one schema (10001 existing) |
807 ms |
738 ms |
1.09 |
Cached rebuild (1 existing) |
5 ms |
7 ms |
0.71 |
Cached rebuild (101 existing) |
7 ms |
9 ms |
0.78 |
Cached rebuild (1001 existing) |
24 ms |
32 ms |
0.75 |
Cached rebuild (10001 existing) |
222 ms |
276 ms |
0.80 |
Index 100 schemas |
890 ms |
478 ms |
1.86 |
Index 1000 schemas |
1401 ms |
1489 ms |
0.94 |
Index 10000 schemas |
16786 ms |
13648 ms |
1.23 |
Index 10000 schemas (custom meta-schema) |
16014 ms |
15918 ms |
1.01 |
Index 10000 schemas ($ref fan-out) |
14761 ms |
16287 ms |
0.91 |
This comment was automatically generated by workflow using github-action-benchmark.
🤖 Augment PR SummarySummary: This PR makes API key authentication policies explicitly named in configuration, and adds validation to prevent ambiguous policy references. Changes:
Technical Notes: The configuration is still schema-validated first; the duplicate/reserved name checks run immediately after parsing the 🤖 Was this summary useful? React with 👍 or 👎 |
Contributor
There was a problem hiding this comment.
Benchmark Index (enterprise)
Details
| Benchmark suite | Current: 875134e | Previous: a6f74b0 | Ratio |
|---|---|---|---|
Add one schema (0 existing) |
382 ms |
377 ms |
1.01 |
Add one schema (100 existing) |
34 ms |
31 ms |
1.10 |
Add one schema (1000 existing) |
90 ms |
81 ms |
1.11 |
Add one schema (10000 existing) |
752 ms |
725 ms |
1.04 |
Update one schema (1 existing) |
26 ms |
24 ms |
1.08 |
Update one schema (101 existing) |
34 ms |
30 ms |
1.13 |
Update one schema (1001 existing) |
93 ms |
83 ms |
1.12 |
Update one schema (10001 existing) |
761 ms |
633 ms |
1.20 |
Cached rebuild (1 existing) |
9 ms |
7 ms |
1.29 |
Cached rebuild (101 existing) |
11 ms |
9 ms |
1.22 |
Cached rebuild (1001 existing) |
35 ms |
30 ms |
1.17 |
Cached rebuild (10001 existing) |
301 ms |
244 ms |
1.23 |
Index 100 schemas |
650 ms |
663 ms |
0.98 |
Index 1000 schemas |
1666 ms |
1654 ms |
1.01 |
Index 10000 schemas |
14118 ms |
13898 ms |
1.02 |
Index 10000 schemas (custom meta-schema) |
16370 ms |
16975 ms |
0.96 |
Index 10000 schemas ($ref fan-out) |
16891 ms |
17004 ms |
0.99 |
This comment was automatically generated by workflow using github-action-benchmark.
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.
Signed-off-by: Juan Cruz Viotti jv@jviotti.com