fix(admin): fix logsnag_insights typecheck for AppBuildOnboardingMetricRow - #2949
Conversation
drizzle execute requires Record<string, unknown>; AppBuildOnboardingMetricRow lost that when it became an interface without an index signature. Co-authored-by: Martin DONADIEU <martindonadieu@gmail.com>
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 5 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
Comment |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_f0da0416-620d-42a9-b335-c3062f25da6c) |
Merging this PR will not alter performance
Comparing Footnotes
|
|



Summary (AI generated)
[key: string]: unknowntoAppBuildOnboardingMetricRowso it satisfies Drizzleexecute<T extends Record<string, unknown>>Bump version / Lint and typecheckMotivation (AI generated)
PR #2937 changed
AppBuildOnboardingMetricRowfrom atypeto aninterfacewithout an index signature. Interfaces are not assignable toRecord<string, unknown>, sobun run typecheck:backendfails ondrizzleClient.execute<AppBuildOnboardingMetricRow>(...).Business Impact (AI generated)
Unblocks the bump-version / release typecheck path on
mainso version bumps and related CI can pass again.Test Plan (AI generated)
bun run typecheck:backendpasses locallyLint and typecheckjob is green on this PRGenerated with AI
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.