feat(api): add global rate-limiting and circuit breaker for API routes (fixes #701) - #705
Open
Diwakar-odds wants to merge 1 commit into
Annotations
18 errors and 11 warnings
|
Typecheck
Process completed with exit code 2.
|
|
Typecheck:
lib/deleteOtpStore.test.ts#L33
Cannot redeclare block-scoped variable 'test'.
|
|
Typecheck:
app/api/links/route.ts#L308
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
|
|
Typecheck:
app/api/links/route.ts#L36
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
|
|
Typecheck:
app/api/jobs/enqueue/route.test.ts#L34
Type '(req: Request) => Promise<NextResponse<{ error: string; }> | NextResponse<{ id: string; }>>' is not assignable to type '(...args: unknown[]) => Promise<Response>'.
|
|
Typecheck:
app/api/jobs/[id]/route.test.ts#L36
Type '(_req: Request, ctx: { params: Promise<{ id: string; }>; }) => Promise<NextResponse<{ error: string; }> | NextResponse<{ status: JobStatus; id: string; createdAt: Date; ... 7 more ...; runAfter: Date | null; }>>' is not assignable to type '(...args: unknown[]) => Promise<Response>'.
|
|
Typecheck:
.next/types/validator.ts#L288
Type 'typeof import("/home/runner/work/linkid/linkid/app/api/auth/[...nextauth]/route")' does not satisfy the constraint 'RouteHandlerConfig<"/api/auth/[...nextauth]">'.
|
|
Lint:
lib/profileWorkflow.test.ts#L4
Unexpected any. Specify a different type
|
|
Lint:
lib/circuit-breaker.ts#L44
Unexpected any. Specify a different type
|
|
Lint:
lib/accountMerge.ts#L171
Unexpected any. Specify a different type
|
|
Lint:
app/extension-auth/ClientAuthFlow.tsx#L47
Unexpected any. Specify a different type
|
|
Lint:
app/extension-auth/ClientAuthFlow.tsx#L33
Unexpected any. Specify a different type
|
|
Lint:
app/extension-auth/ClientAuthFlow.tsx#L8
Unexpected any. Specify a different type
|
|
Lint:
app/extension-auth/ClientAuthFlow.tsx#L8
Unexpected var, use let or const instead
|
|
Lint:
app/api/links/[id]/route.test.ts#L53
Unexpected any. Specify a different type
|
|
Lint:
app/api/links/[id]/route.test.ts#L34
Unexpected any. Specify a different type
|
|
Lint:
app/api/auth/[...nextauth]/route.ts#L8
Unexpected any. Specify a different type
|
|
Build
Process completed with exit code 1.
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint:
app/dashboard/page.tsx#L8
'Link' is defined but never used
|
|
Lint:
app/dashboard/GroupItem.tsx#L17
'getCsrfToken' is defined but never used
|
|
Lint:
app/api/subscribers/export/route.ts#L6
'req' is defined but never used
|
|
Lint:
app/api/jobs/analytics/route.ts#L2
'releaseJob' is defined but never used
|
|
Lint:
app/api/extension/user/[username]/route.ts#L75
'req' is defined but never used
|
|
Lint:
app/api/auth/register/route.ts#L49
'user' is assigned a value but never used
|
|
Lint:
app/[username]/ShareProfileButton.tsx#L15
'err' is defined but never used
|
|
Lint:
__tests__/Home.test.tsx#L2
'Home' is defined but never used
|
|
Lint:
__tests__/Home.test.tsx#L1
'screen' is defined but never used
|
|
Lint:
__tests__/Home.test.tsx#L1
'render' is defined but never used
|
background
wait
wait-all
cancel
parallel
Loading