feat/redis-limiter at 2e77b09',
+ },
+ {
+ status: 'success',
+ icon: 'check',
+ name: 'Install',
+ time: '38s',
+ detail: 'pnpm install — 412 packages',
+ },
+ {
+ status: 'success',
+ icon: 'check',
+ name: 'Build',
+ time: '24s',
+ detail: 'pnpm build completed',
+ },
+ {
+ status: 'danger',
+ icon: 'x',
+ name: 'Compile',
+ time: '8s',
+ detail: 'TypeScript exited with code 2',
+ error: `src/lib/rate-limit.ts:47:12 — error TS2345:
+Argument of type 'RedisClient' is not assignable to
+parameter of type 'RateLimiterStore'.
+ Property 'incr' is missing in type 'RedisClient'.
+
+src/lib/rate-limit.ts:61:5 — error TS2322:
+Type 'Promise2' },
+ { label: 'Failed step', value: 'Compile' },
+ { label: 'Errors', value: '2 TypeScript errors' },
+ { label: 'File', value: 'src/lib/rate-limit.ts' },
+ { label: 'Duration', value: '1m 12s' },
+ { label: 'Region', value: 'fra1' },
+];
+
+const nextSteps = [
+ {
+ title: 'Fix type errors in rate-limit.ts',
+ sub: 'Align RedisClient with RateLimiterStore',
+ },
+ {
+ title: 'Push to feat/redis-limiter',
+ sub: 'A new preview deploy starts automatically',
+ },
+ {
+ title: 'Or retry this deployment',
+ sub: 'Re-runs the same commit without a new push',
+ },
+];
---
2e77b09
- Migrate rate limiter to Redis
-
+ feat/redis-limiter at 2e77b09
- src/lib/rate-limit.ts:47:12 — error TS2345:
- Argument of type 'RedisClient' is not assignable to
- parameter of type 'RateLimiterStore'.
- Property 'incr' is missing in type 'RedisClient'.
-
- src/lib/rate-limit.ts:61:5 — error TS2322:
- Type 'Promise<number | null>' is not assignable to
- type 'Promise<number>'.
-
- Found 2 errors in 1 file.
- View full logs →
- 2src/lib/rate-limit.tsfra1rate-limit.tsRedisClient with RateLimiterStore