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

feat(apikeys): migrate legacy keys to v2

#2279
Comparing
codex/migrate-apikeys-v2
(
6bbb493
) with
main
(
875fd87
)
CodSpeed Performance Gauge
+42%
Improvement
4
Untouched
39
Skipped
2

Benchmarks

45 total
/channel_self set payload validation
benches/plugin-hot-paths.bench.ts::plugin endpoint request parsing
CodSpeed Performance Gauge
+55%
71.2 µs45.9 µs
/updates payload validation
benches/plugin-hot-paths.bench.ts::plugin endpoint request parsing
CodSpeed Performance Gauge
+49%
141.8 µs94.8 µs
/stats payload validation
benches/plugin-hot-paths.bench.ts::plugin endpoint request parsing
CodSpeed Performance Gauge
+44%
95.1 µs66.1 µs
/channel_self GET query normalization
benches/plugin-hot-paths.bench.ts::plugin endpoint request parsing
CodSpeed Performance Gauge
+20%
157.2 µs130.5 µs
/updates error kind classification
benches/plugin-hot-paths.bench.ts::plugin endpoint response shaping
CodSpeed Performance Gauge
0%
20.4 µs20.4 µs
multibyte password (emoji + accented)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
23.1 µs23 µs
device row normalization
benches/plugin-hot-paths.bench.ts::plugin endpoint request parsing
CodSpeed Performance Gauge
0%
94.8 µs94.7 µs
sparse existing vs full device
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
31.6 µs31.6 µs
full existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
39.8 µs39.8 µs
no changes detected
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
42.9 µs42.8 µs
crc32 checksum for medium bundle payload
benches/cli-hot-paths.bench.ts::cli checksum helpers
CodSpeed Performance Gauge
0%
11.8 ms11.8 ms
with undefined
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
14.4 µs14.4 µs
sparse device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
23.9 µs23.9 µs
with valid min length
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
19.6 µs19.6 µs
valid password against strict policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
41.3 µs41.3 µs
long ASCII password (72 bytes)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
32.1 µs32.1 µs
null/undefined existing
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
16.2 µs16.2 µs
sparse device with defaults
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
15.7 µs15.7 µs
sparse existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
16 µs16 µs
with edge values
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
19.1 µs19.1 µs
full device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
68.9 µs68.9 µs
ascii password
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
41.4 µs41.4 µs
changes detected (version_name differs)
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
41.2 µs41.2 µ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
auto bump bundle versions
benches/cli-hot-paths.bench.ts::cli version helpers
CodSpeed Performance Gauge
0%
156.8 µs156.9 µs

Commits

Click on a commit to change the comparison range
Base
main
875fd87
-0.12%
Merge remote-tracking branch 'origin/main' into codex/migrate-apikeys-v2
5db42d7
6 days ago
by riderx
+0.09%
fix(db): move apikey v2 migration after main
513a4c5
6 days ago
by riderx
+0.01%
fix(db): preserve cli warnings on apikey v2
ca79eea
6 days ago
by riderx
+0.01%
fix(db): preserve apikey v2 migration scopes
89e6636
5 days ago
by riderx
-0.05%
fix(db): merge main for apikey v2 review
106a7b1
5 hours ago
by riderx
-17.39%
fix(db): update read replica schema snapshot
c7d12bb
5 hours ago
by riderx
+59.51%
fix(plugin): speed up update payload validation
8a61263
5 hours ago
by riderx
+0.11%
fix(db): harden apikey v2 migration
67a6ad2
3 hours ago
by riderx
-0.55%
fix(ci): make migration order check work in pr checkout
6bbb493
3 hours ago
by riderx
© 2026 CodSpeed Technology
Home Terms Privacy Docs