Avatar for the Cap-go user
Cap-go
capgo
BlogDocsChangelog

fix(api): harden API key management auth

#2403
Comparing
codex/rbac-apikey-management-hardening
(
83a257e
) with
main
(
d2c74eb
)
CodSpeed Performance Gauge
0%
Untouched
43
Skipped
2

Benchmarks

45 total
sparse device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
24.1 µs24 µs
sparse existing vs full device
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
31.9 µs31.7 µs
changes detected (version_name differs)
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
41.7 µs41.5 µs
sparse existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
16 µs16 µs
classify updater support windows
benches/cli-hot-paths.bench.ts::cli version helpers
CodSpeed Performance Gauge
0%
75.6 µs75.5 µs
suggest replacement bundle versions
benches/cli-hot-paths.bench.ts::cli version helpers
CodSpeed Performance Gauge
0%
215.5 µs215 µs
with undefined
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
14.3 µs14.3 µs
no changes detected
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
43.2 µs43.1 µs
sparse device with defaults
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
15.8 µs15.7 µs
/channel_self set payload validation
benches/plugin-hot-paths.bench.ts::plugin endpoint request parsing
CodSpeed Performance Gauge
0%
46.1 µs46 µs
auto bump bundle versions
benches/cli-hot-paths.bench.ts::cli version helpers
CodSpeed Performance Gauge
0%
156.8 µs156.6 µs
/updates payload validation
benches/plugin-hot-paths.bench.ts::plugin endpoint request parsing
CodSpeed Performance Gauge
0%
95.2 µs95.1 µs
multibyte password validation
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
35.5 µs35.4 µs
/stats payload validation
benches/plugin-hot-paths.bench.ts::plugin endpoint request parsing
CodSpeed Performance Gauge
0%
66.4 µs66.3 µs
empty policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
26.8 µs26.8 µs
classify native package compatibility - isCompatible
benches/cli-hot-paths.bench.ts::cli compatibility helpers
CodSpeed Performance Gauge
0%
145.6 µs145.5 µs
sha256 checksum for medium bundle payload
benches/cli-hot-paths.bench.ts::cli checksum helpers
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
crc32 checksum for medium bundle payload
benches/cli-hot-paths.bench.ts::cli checksum helpers
CodSpeed Performance Gauge
0%
11.8 ms11.8 ms
multibyte password (emoji + accented)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
23.4 µs23.4 µs
null/undefined existing
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
16.2 µs16.2 µs
with edge values
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
19 µs19 µs
with custom fallback
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
12.5 µs12.5 µs
zero
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.2 µs15.2 µs
float truncation
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15 µs15 µs
negative number
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.2 µs15.2 µs

Commits

Click on a commit to change the comparison range
Base
main
d2c74eb
-0.02%
fix(api): harden RBAC auth compatibility
e579add
1 day ago
by riderx
+0.15%
test(api): advance apikey seed sequence
d3e8ae7
1 day ago
by riderx
-0.1%
Merge remote-tracking branch 'origin/main' into codex/rbac-apikey-management-hardening
83a257e
14 hours ago
by riderx
© 2026 CodSpeed Technology
Home Terms Privacy Docs