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:
+const buildSteps: BuildStep[] = [
+ { status: 'success', icon: 'check', name: 'Clone', time: '2s', detail: 'Fetched 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:
+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' },
-];
+ },
+ { status: 'secondary', name: 'Deploy', time: '-', detail: 'Skipped' },
+]
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',
- },
-];
+ { title: 'Fix type errors in rate-limit.ts', description: 'Align RedisClient with RateLimiterStore' },
+ { title: 'Push to feat/redis-limiter', description: 'A new preview deploy starts automatically' },
+ { title: 'Or retry this deployment', description: 'Re-runs the same commit without a new push' },
+]
---
-2e77b09 Migrate rate limiter to Redis
+
+ View full logs
+ >
+ )}
+ 2src/lib/rate-limit.tsfra1api.pulsehq.dev
- Production · Valid configuration -pulse-api.relay.app
- Production · Auto-assigned -staging-api.pulsehq.dev
- Preview · DNS pending -{item.key}
-
- {item.value}
-
-
-