Skip to content

chore: enforce no unused deps or code in ci - #4654

Merged
carderne merged 86 commits into
mainfrom
chore/knip-unused-code
Aug 18, 2026
Merged

chore: enforce no unused deps or code in ci#4654
carderne merged 86 commits into
mainfrom
chore/knip-unused-code

Conversation

@carderne

@carderne carderne commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

We had knip installed but weren't really using it.

This PR:

  • removes all unused deps, and uses knip to ensure no new ones sneak in
  • removes unused code, and uses knip to ensure no more sneaks in.

Does all of these:

  • files — Files that nothing imports or uses.
  • exports — Exported values with no consumers.
  • types — Exported types with no consumers.
  • dependencies — Declared packages that aren’t used.
  • unlisted — Used packages missing from package.json.
  • binaries — Unused or incorrectly declared package executables.
  • unresolved — Imports or executables Knip can’t resolve.
  • catalog — Unused entries in the pnpm dependency catalog.

@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 489 files, which is 189 over the limit of 300.

To get a review, reduce the PR to 300 files or fewer by splitting it into smaller PRs or changing its base branch.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 809bd0a4-adc7-40a9-8e4e-c23519682e62

📥 Commits

Reviewing files that changed from the base of the PR and between 40c4064 and 63a617f.

⛔ Files ignored due to path filters (9)
  • internal-packages/otlp-importer/src/generated/opentelemetry/proto/collector/logs/v1/logs_service.ts is excluded by !**/generated/**
  • internal-packages/otlp-importer/src/generated/opentelemetry/proto/collector/metrics/v1/metrics_service.ts is excluded by !**/generated/**
  • internal-packages/otlp-importer/src/generated/opentelemetry/proto/collector/trace/v1/trace_service.ts is excluded by !**/generated/**
  • internal-packages/otlp-importer/src/generated/opentelemetry/proto/common/v1/common.ts is excluded by !**/generated/**
  • internal-packages/otlp-importer/src/generated/opentelemetry/proto/logs/v1/logs.ts is excluded by !**/generated/**
  • internal-packages/otlp-importer/src/generated/opentelemetry/proto/metrics/v1/metrics.ts is excluded by !**/generated/**
  • internal-packages/otlp-importer/src/generated/opentelemetry/proto/resource/v1/resource.ts is excluded by !**/generated/**
  • internal-packages/otlp-importer/src/generated/opentelemetry/proto/trace/v1/trace.ts is excluded by !**/generated/**
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (489)
  • .github/workflows/code-quality.yml
  • AGENTS.md
  • CONTRIBUTING.md
  • apps/supervisor/src/backpressure/backpressureMonitor.ts
  • apps/supervisor/src/clients/kubernetes.ts
  • apps/supervisor/src/wideEvents/index.ts
  • apps/supervisor/src/wideEvents/state.ts
  • apps/supervisor/src/workloadToken.ts
  • apps/webapp/app/assets/logos/ATAndTLogo.tsx
  • apps/webapp/app/assets/logos/AstroLogo.tsx
  • apps/webapp/app/assets/logos/ExpressLogo.tsx
  • apps/webapp/app/assets/logos/FastifyLogo.tsx
  • apps/webapp/app/assets/logos/NestjsLogo.tsx
  • apps/webapp/app/assets/logos/NextjsLogo.tsx
  • apps/webapp/app/assets/logos/NuxtLogo.tsx
  • apps/webapp/app/assets/logos/RedwoodLogo.tsx
  • apps/webapp/app/assets/logos/RemixLogo.tsx
  • apps/webapp/app/assets/logos/ShopifyLogo.tsx
  • apps/webapp/app/assets/logos/SveltekitLogo.tsx
  • apps/webapp/app/assets/logos/VerizonLogo.tsx
  • apps/webapp/app/components/BlankStatePanels.tsx
  • apps/webapp/app/components/ErrorDisplay.tsx
  • apps/webapp/app/components/FeatureBadges.tsx
  • apps/webapp/app/components/GitHubLoginButton.tsx
  • apps/webapp/app/components/GitMetadata.tsx
  • apps/webapp/app/components/MachineLabelCombo.tsx
  • apps/webapp/app/components/ProductHuntBanner.tsx
  • apps/webapp/app/components/SetupCommands.tsx
  • apps/webapp/app/components/admin/backOffice/ApiRateLimitSection.server.ts
  • apps/webapp/app/components/admin/backOffice/BatchRateLimitSection.server.ts
  • apps/webapp/app/components/admin/backOffice/RateLimitSection.tsx
  • apps/webapp/app/components/admin/debugRun.tsx
  • apps/webapp/app/components/billing/billingAlertsFormat.ts
  • apps/webapp/app/components/code/CodeBlock.tsx
  • apps/webapp/app/components/code/InstallPackages.tsx
  • apps/webapp/app/components/code/tsql/index.ts
  • apps/webapp/app/components/dashboard-agent/DashboardAgentSuggestedPrompts.tsx
  • apps/webapp/app/components/dashboard-agent/agent-identity.ts
  • apps/webapp/app/components/dashboard-agent/chat-layout.test.ts
  • apps/webapp/app/components/dashboard-agent/chat-layout.tsx
  • apps/webapp/app/components/dashboard-agent/dashboardAgentOpenRequest.ts
  • apps/webapp/app/components/dashboard-agent/demo/fixtures/chart.ts
  • apps/webapp/app/components/dashboard-agent/demo/fixtures/intents.ts
  • apps/webapp/app/components/dashboard-agent/demo/fixtures/investigation.ts
  • apps/webapp/app/components/dashboard-agent/demo/fixtures/messages.ts
  • apps/webapp/app/components/dashboard-agent/demo/fixtures/page-context.ts
  • apps/webapp/app/components/dashboard-agent/demo/fixtures/watches.ts
  • apps/webapp/app/components/dashboard-agent/demo/ids.ts
  • apps/webapp/app/components/dashboard-agent/demo/index.ts
  • apps/webapp/app/components/dashboard-agent/page-context-types.ts
  • apps/webapp/app/components/dashboard-agent/panel-layout.tsx
  • apps/webapp/app/components/dashboard-agent/progress-line.ts
  • apps/webapp/app/components/dashboard-agent/report-sparkline.tsx
  • apps/webapp/app/components/dashboard-agent/run-id.ts
  • apps/webapp/app/components/dashboard-agent/settled-transcript.ts
  • apps/webapp/app/components/dashboard-agent/suggested-prompts/dismissal.ts
  • apps/webapp/app/components/dashboard-agent/suggested-prompts/index.ts
  • apps/webapp/app/components/dashboard-agent/suggested-prompts/page-prompts.ts
  • apps/webapp/app/components/dashboard-agent/suggested-prompts/registry.ts
  • apps/webapp/app/components/dashboard-agent/suggested-prompts/signal-prompts.ts
  • apps/webapp/app/components/dashboard-agent/tooltip-accessible-name.test.ts
  • apps/webapp/app/components/dashboard-agent/wake-poll.ts
  • apps/webapp/app/components/dashboard-agent/watch-chips.ts
  • apps/webapp/app/components/dashboard-agent/watch-recommendations.ts
  • apps/webapp/app/components/layout/MetricsLayout.tsx
  • apps/webapp/app/components/metrics/QueryWidget.tsx
  • apps/webapp/app/components/navigation/CustomizeSidebarDialog.tsx
  • apps/webapp/app/components/navigation/EnvironmentSelector.tsx
  • apps/webapp/app/components/navigation/sideMenuTypes.ts
  • apps/webapp/app/components/onboarding/TechnologyPicker.tsx
  • apps/webapp/app/components/primitives/AgentDotMatrix.tsx
  • apps/webapp/app/components/primitives/Alert.tsx
  • apps/webapp/app/components/primitives/AnimatingArrow.tsx
  • apps/webapp/app/components/primitives/Avatar.tsx
  • apps/webapp/app/components/primitives/Buttons.tsx
  • apps/webapp/app/components/primitives/ClientTabs.tsx
  • apps/webapp/app/components/primitives/DateTime.tsx
  • apps/webapp/app/components/primitives/Dialog.tsx
  • apps/webapp/app/components/primitives/FormError.tsx
  • apps/webapp/app/components/primitives/Headers.tsx
  • apps/webapp/app/components/primitives/Input.tsx
  • apps/webapp/app/components/primitives/InputOTP.tsx
  • apps/webapp/app/components/primitives/LabelValueStack.tsx
  • apps/webapp/app/components/primitives/LoadingBarDivider.tsx
  • apps/webapp/app/components/primitives/Popover.tsx
  • apps/webapp/app/components/primitives/PrettyDuration.tsx
  • apps/webapp/app/components/primitives/Select.tsx
  • apps/webapp/app/components/primitives/Sheet.tsx
  • apps/webapp/app/components/primitives/SheetV3.tsx
  • apps/webapp/app/components/primitives/Table.tsx
  • apps/webapp/app/components/primitives/Tabs.tsx
  • apps/webapp/app/components/primitives/Timeline.tsx
  • apps/webapp/app/components/primitives/Tooltip.tsx
  • apps/webapp/app/components/primitives/TreeView/TreeView.tsx
  • apps/webapp/app/components/primitives/TreeView/utils.ts
  • apps/webapp/app/components/primitives/charts/Chart.tsx
  • apps/webapp/app/components/primitives/charts/ChartCompound.tsx
  • apps/webapp/app/components/primitives/charts/DateRangeContext.tsx
  • apps/webapp/app/components/primitives/charts/hooks/useHighlightState.ts
  • apps/webapp/app/components/primitives/charts/hooks/useZoomSelection.ts
  • apps/webapp/app/components/primitives/charts/statusColors.ts
  • apps/webapp/app/components/primitives/useTableSort.ts
  • apps/webapp/app/components/query/QueryEditor.tsx
  • apps/webapp/app/components/queues/QueueMetricCards.tsx
  • apps/webapp/app/components/run/RunTimeline.tsx
  • apps/webapp/app/components/runs/v3/BatchFilters.tsx
  • apps/webapp/app/components/runs/v3/BatchStatus.tsx
  • apps/webapp/app/components/runs/v3/BulkAction.tsx
  • apps/webapp/app/components/runs/v3/CheckBatchCompletionDialog.tsx
  • apps/webapp/app/components/runs/v3/DeploymentStatus.tsx
  • apps/webapp/app/components/runs/v3/LiveTimer.tsx
  • apps/webapp/app/components/runs/v3/RunFilters.tsx
  • apps/webapp/app/components/runs/v3/ScheduleFilters.tsx
  • apps/webapp/app/components/runs/v3/SharedFilters.tsx
  • apps/webapp/app/components/runs/v3/SpanEvents.tsx
  • apps/webapp/app/components/runs/v3/SpanTitle.tsx
  • apps/webapp/app/components/runs/v3/TaskPath.tsx
  • apps/webapp/app/components/runs/v3/TaskRunAttemptStatus.tsx
  • apps/webapp/app/components/runs/v3/TaskRunStatus.tsx
  • apps/webapp/app/components/runs/v3/WaitpointStatus.tsx
  • apps/webapp/app/components/runs/v3/ai/index.ts
  • apps/webapp/app/components/runs/v3/ai/types.ts
  • apps/webapp/app/components/schedules/ScheduleInspector.tsx
  • apps/webapp/app/components/sessions/v1/SessionFilters.tsx
  • apps/webapp/app/components/sessions/v1/SessionStatus.tsx
  • apps/webapp/app/components/webhookConsole/WebhookComposer.tsx
  • apps/webapp/app/components/webhookDeliveries/v1/DeliveryStatus.tsx
  • apps/webapp/app/components/webhookDeliveries/v1/buildDeliveryTimelineItems.ts
  • apps/webapp/app/consts.ts
  • apps/webapp/app/database-types.ts
  • apps/webapp/app/db.server.ts
  • apps/webapp/app/hooks/useCanViewLogsPage.ts
  • apps/webapp/app/hooks/useEnvironments.ts
  • apps/webapp/app/hooks/useList.tsx
  • apps/webapp/app/hooks/useOrganizations.ts
  • apps/webapp/app/hooks/useRevalidateOnParam.ts
  • apps/webapp/app/hooks/useTextFilter.ts
  • apps/webapp/app/hooks/useThrottle.ts
  • apps/webapp/app/hooks/useToggleFilter.ts
  • apps/webapp/app/hooks/useTypedMatchData.ts
  • apps/webapp/app/models/member.server.ts
  • apps/webapp/app/models/message.server.ts
  • apps/webapp/app/models/projectAlert.server.ts
  • apps/webapp/app/models/runtimeEnvironment.server.ts
  • apps/webapp/app/models/task.server.ts
  • apps/webapp/app/models/taskQueue.server.ts
  • apps/webapp/app/models/user.server.ts
  • apps/webapp/app/models/vercelIntegration.server.ts
  • apps/webapp/app/models/vercelSdkRecovery.server.ts
  • apps/webapp/app/presenters/ProjectPresenter.server.ts
  • apps/webapp/app/presenters/v3/AgentDetailPresenter.server.ts
  • apps/webapp/app/presenters/v3/AgentListPresenter.server.ts
  • apps/webapp/app/presenters/v3/AlertChannelListPresenter.server.ts
  • apps/webapp/app/presenters/v3/ApiAlertChannelPresenter.server.ts
  • apps/webapp/app/presenters/v3/ApiErrorGroupPresenter.server.ts
  • apps/webapp/app/presenters/v3/ApiWebhookDeliveryPresenter.server.ts
  • apps/webapp/app/presenters/v3/ApiWebhookEndpointPresenter.server.ts
  • apps/webapp/app/presenters/v3/BatchListPresenter.server.ts
  • apps/webapp/app/presenters/v3/BatchPresenter.server.ts
  • apps/webapp/app/presenters/v3/BranchesPresenter.server.ts
  • apps/webapp/app/presenters/v3/DeploymentListPresenter.server.ts
  • apps/webapp/app/presenters/v3/EnvironmentVariablesPresenter.server.ts
  • apps/webapp/app/presenters/v3/ErrorGroupPresenter.server.ts
  • apps/webapp/app/presenters/v3/ErrorsListPresenter.server.ts
  • apps/webapp/app/presenters/v3/LogDetailPresenter.server.ts
  • apps/webapp/app/presenters/v3/LogsListPresenter.server.ts
  • apps/webapp/app/presenters/v3/MetricDashboardPresenter.server.ts
  • apps/webapp/app/presenters/v3/ModelRegistryPresenter.server.ts
  • apps/webapp/app/presenters/v3/QueueListPresenter.server.ts
  • apps/webapp/app/presenters/v3/RunPresenter.server.ts
  • apps/webapp/app/presenters/v3/RunTagListPresenter.server.ts
  • apps/webapp/app/presenters/v3/ScheduleListPresenter.server.ts
  • apps/webapp/app/presenters/v3/SessionListPresenter.server.ts
  • apps/webapp/app/presenters/v3/SessionPresenter.server.ts
  • apps/webapp/app/presenters/v3/TaskDetailPresenter.server.ts
  • apps/webapp/app/presenters/v3/TaskListPresenter.server.ts
  • apps/webapp/app/presenters/v3/TaskPresenter.server.ts
  • apps/webapp/app/presenters/v3/TasksDashboardPresenter.server.ts
  • apps/webapp/app/presenters/v3/TestPresenter.server.ts
  • apps/webapp/app/presenters/v3/UnifiedTaskListPresenter.server.ts
  • apps/webapp/app/presenters/v3/UsagePresenter.server.ts
  • apps/webapp/app/presenters/v3/VercelSettingsPresenter.server.ts
  • apps/webapp/app/presenters/v3/WaitpointTagListPresenter.server.ts
  • apps/webapp/app/presenters/v3/WebhookDetailPresenter.server.ts
  • apps/webapp/app/presenters/v3/dashboardAgent/watch-wording.ts
  • apps/webapp/app/presenters/v3/queueListPagination.server.ts
  • apps/webapp/app/presenters/v3/reports/health/execution.ts
  • apps/webapp/app/presenters/v3/reports/health/flow.ts
  • apps/webapp/app/presenters/v3/reports/health/health-data.ts
  • apps/webapp/app/presenters/v3/reports/health/health.ts
  • apps/webapp/app/presenters/v3/reports/report-layout.ts
  • apps/webapp/app/presenters/v3/reports/report-view-model.ts
  • apps/webapp/app/runEngine/concerns/computeMigration.server.ts
  • apps/webapp/app/runEngine/concerns/queues.server.ts
  • apps/webapp/app/runEngine/services/streamBatchItems.server.ts
  • apps/webapp/app/runEngine/types.ts
  • apps/webapp/app/services/apiAuth.server.ts
  • apps/webapp/app/services/attio.server.ts
  • apps/webapp/app/services/authFeatureControls.server.ts
  • apps/webapp/app/services/authTelemetry.server.ts
  • apps/webapp/app/services/authorizationRateLimitMiddleware.server.ts
  • apps/webapp/app/services/autoIncrementCounter.server.ts
  • apps/webapp/app/services/betterstack/betterstack.server.ts
  • apps/webapp/app/services/billingLimit.schemas.ts
  • apps/webapp/app/services/clickhouse/clickhouseFactory.server.ts
  • apps/webapp/app/services/clickhouse/clickhouseSecretSchemas.server.ts
  • apps/webapp/app/services/dashboardAgentAlertUnsubscribeToken.server.ts
  • apps/webapp/app/services/dashboardAgentBodyCap.server.ts
  • apps/webapp/app/services/dashboardAgentWatchAlerts.server.ts
  • apps/webapp/app/services/dashboardAgentWatchChecks.ts
  • apps/webapp/app/services/dashboardAgentWatchInvestigate.server.ts
  • apps/webapp/app/services/dashboardAgentWatchRunChecks.ts
  • apps/webapp/app/services/dashboardAgentWatchSweep.server.ts
  • apps/webapp/app/services/dashboardAgentWatchToken.server.ts
  • apps/webapp/app/services/dashboardAgentWatches.server.ts
  • apps/webapp/app/services/dashboardPreferences.server.ts
  • apps/webapp/app/services/dataStores/organizationDataStoreConfigSchemas.server.ts
  • apps/webapp/app/services/email.server.ts
  • apps/webapp/app/services/environmentMetricsRepository.server.ts
  • apps/webapp/app/services/environmentVariableApiAccess.server.ts
  • apps/webapp/app/services/impersonation.server.ts
  • apps/webapp/app/services/lastAuthMethod.server.ts
  • apps/webapp/app/services/logger.server.ts
  • apps/webapp/app/services/mfa/mfaRateLimiterGlobal.server.ts
  • apps/webapp/app/services/onboardingSession.server.ts
  • apps/webapp/app/services/organizationAccessToken.server.ts
  • apps/webapp/app/services/platformNotifications.server.ts
  • apps/webapp/app/services/preferences/uiPreferences.server.ts
  • apps/webapp/app/services/promoCode.server.ts
  • apps/webapp/app/services/publicTokens.server.ts
  • apps/webapp/app/services/queryService.server.ts
  • apps/webapp/app/services/rateLimiter.server.ts
  • apps/webapp/app/services/realtime/electricStreamProtocol.server.ts
  • apps/webapp/app/services/realtime/envChangeRouter.server.ts
  • apps/webapp/app/services/realtime/jwtAuth.server.ts
  • apps/webapp/app/services/realtime/mintRunToken.server.ts
  • apps/webapp/app/services/realtime/nativeRealtimeClient.server.ts
  • apps/webapp/app/services/realtime/replicaLagEstimator.server.ts
  • apps/webapp/app/services/realtime/runChangeNotifier.server.ts
  • apps/webapp/app/services/realtime/runChangeNotifierInstance.server.ts
  • apps/webapp/app/services/realtime/runReader.server.ts
  • apps/webapp/app/services/realtime/s2realtimeStreams.server.ts
  • apps/webapp/app/services/realtime/sessionRunManager.server.ts
  • apps/webapp/app/services/realtime/shadowCompare.server.ts
  • apps/webapp/app/services/realtime/streamBasinProvisioner.server.ts
  • apps/webapp/app/services/realtime/utils.server.ts
  • apps/webapp/app/services/realtime/v1StreamsGlobal.server.ts
  • apps/webapp/app/services/redirectTo.server.ts
  • apps/webapp/app/services/referralSource.server.ts
  • apps/webapp/app/services/renderMarkdown.server.ts
  • apps/webapp/app/services/runsReplicationGlobal.server.ts
  • apps/webapp/app/services/runsRepository/runsRepository.server.ts
  • apps/webapp/app/services/secrets/secretStoreOptionsSchema.server.ts
  • apps/webapp/app/services/sensitiveDataReplacer.ts
  • apps/webapp/app/services/session.server.ts
  • apps/webapp/app/services/sessionStorage.server.ts
  • apps/webapp/app/services/sessionsRepository/sessionsRepository.server.ts
  • apps/webapp/app/services/signals.server.ts
  • apps/webapp/app/services/slack.server.ts
  • apps/webapp/app/services/ssoAuth.server.ts
  • apps/webapp/app/services/taskIdentifierCache.server.ts
  • apps/webapp/app/services/userActorEnvironment.server.ts
  • apps/webapp/app/services/webhookDeliveriesRepository/webhookDeliveriesRepository.server.ts
  • apps/webapp/app/utils.ts
  • apps/webapp/app/utils/apiCors.ts
  • apps/webapp/app/utils/cspImageOrigins.ts
  • apps/webapp/app/utils/databaseMetrics.server.ts
  • apps/webapp/app/utils/delays.ts
  • apps/webapp/app/utils/inviteRoleLadder.ts
  • apps/webapp/app/utils/json.ts
  • apps/webapp/app/utils/lerp.ts
  • apps/webapp/app/utils/logUtils.ts
  • apps/webapp/app/utils/modelFormatters.ts
  • apps/webapp/app/utils/objects.ts
  • apps/webapp/app/utils/pageSwitching.ts
  • apps/webapp/app/utils/pageTitle.ts
  • apps/webapp/app/utils/parseRequestJson.server.ts
  • apps/webapp/app/utils/pathBuilder.ts
  • apps/webapp/app/utils/permissionDenied.ts
  • apps/webapp/app/utils/plainCustomerCards.ts
  • apps/webapp/app/utils/queryPerformanceMonitor.server.ts
  • apps/webapp/app/utils/redactor.ts
  • apps/webapp/app/utils/semver.ts
  • apps/webapp/app/utils/sse.ts
  • apps/webapp/app/utils/tablerIcons.ts
  • apps/webapp/app/utils/taskListToTree.ts
  • apps/webapp/app/utils/themePreference.ts
  • apps/webapp/app/utils/timelineSpanEvents.ts
  • apps/webapp/app/utils/webhookIngressUrl.server.ts
  • apps/webapp/app/v3/billingLimitWorker.server.ts
  • apps/webapp/app/v3/canAccessAi.server.ts
  • apps/webapp/app/v3/electricShape.server.ts
  • apps/webapp/app/v3/engineDeprecation.server.ts
  • apps/webapp/app/v3/environmentVariables/environmentVariablesRepository.server.ts
  • apps/webapp/app/v3/environmentVariables/repository.ts
  • apps/webapp/app/v3/eventRepository/clickhouseEventRepository.server.ts
  • apps/webapp/app/v3/eventRepository/eventRepository.types.ts
  • apps/webapp/app/v3/eventRepository/index.server.ts
  • apps/webapp/app/v3/eventRepository/sanitizeRowsOnParseError.server.ts
  • apps/webapp/app/v3/eventRepository/traceExport.server.ts
  • apps/webapp/app/v3/featureFlags.server.ts
  • apps/webapp/app/v3/featureFlags.ts
  • apps/webapp/app/v3/models/workerDeployment.server.ts
  • apps/webapp/app/v3/mollifier/idempotencyClaim.server.ts
  • apps/webapp/app/v3/mollifier/mollifierGate.server.ts
  • apps/webapp/app/v3/mollifier/mollifierMollify.server.ts
  • apps/webapp/app/v3/mollifier/mollifierTelemetry.server.ts
  • apps/webapp/app/v3/mollifier/mollifierTripEvaluator.server.ts
  • apps/webapp/app/v3/mollifier/mutateWithFallback.server.ts
  • apps/webapp/app/v3/querySchemas.ts
  • apps/webapp/app/v3/queueDepthSeries.ts
  • apps/webapp/app/v3/runOpsMigration/controlPlaneCache.server.ts
  • apps/webapp/app/v3/runOpsMigration/readThrough.server.ts
  • apps/webapp/app/v3/runOpsMigration/splitMode.server.ts
  • apps/webapp/app/v3/scheduleEngine.server.ts
  • apps/webapp/app/v3/services/aiQueryService.server.ts
  • apps/webapp/app/v3/services/aiTitleRateLimiter.server.ts
  • apps/webapp/app/v3/services/alerts/errorGroupWebhook.server.ts
  • apps/webapp/app/v3/services/alerts/safeWebhookFetch.server.ts
  • apps/webapp/app/v3/services/billingLimit/billingLimitConstants.ts
  • apps/webapp/app/v3/services/bulk/BulkActionV2.batchReadThrough.server.ts
  • apps/webapp/app/v3/services/bulk/BulkActionV2.server.ts
  • apps/webapp/app/v3/services/concurrencySystem.server.ts
  • apps/webapp/app/v3/services/createBackgroundWorker.server.ts
  • apps/webapp/app/v3/services/duplicateTaskIds.server.ts
  • apps/webapp/app/v3/services/projectPubSub.server.ts
  • apps/webapp/app/v3/services/tracePubSub.server.ts
  • apps/webapp/app/v3/services/worker/sanitizeWorkerHeaders.ts
  • apps/webapp/app/v3/services/worker/workerGroupTokenService.server.ts
  • apps/webapp/app/v3/services/worker/workloadTokenAuthorization.server.ts
  • apps/webapp/app/v3/taskEventStore.server.ts
  • apps/webapp/app/v3/taskStatus.ts
  • apps/webapp/app/v3/tracer.server.ts
  • apps/webapp/app/v3/tracing.server.ts
  • apps/webapp/app/v3/utils/calculateNextSchedule.server.ts
  • apps/webapp/app/v3/utils/maxDuration.ts
  • apps/webapp/app/v3/vercel/vercelOAuthState.server.ts
  • apps/webapp/app/v3/vercel/vercelProjectIntegrationSchema.ts
  • apps/webapp/app/v3/webhookEngine.server.ts
  • apps/webapp/package.json
  • apps/webapp/test/otlpMetrics.helpers.ts
  • apps/webapp/test/setup-test-env.ts
  • apps/webapp/test/utils/streams.ts
  • internal-packages/cache/package.json
  • internal-packages/clickhouse/src/client/errors.ts
  • internal-packages/clickhouse/src/client/tsql.ts
  • internal-packages/dashboard-agent/src/compaction.ts
  • internal-packages/dashboard-agent/src/eval-policy.ts
  • internal-packages/dashboard-agent/src/repo-tools.ts
  • internal-packages/dashboard-agent/src/tool-api-client.ts
  • internal-packages/dashboard-agent/src/tool-api.ts
  • internal-packages/dashboard-agent/src/tool-evidence.ts
  • internal-packages/dashboard-agent/src/tool-investigations.ts
  • internal-packages/dashboard-agent/src/tools.ts
  • internal-packages/dashboard-agent/src/watch-delivery.ts
  • internal-packages/dashboard-agent/src/watch-lifecycle.ts
  • internal-packages/dashboard-agent/src/watch-tick.ts
  • internal-packages/database/package.json
  • internal-packages/emails/emails/components/styles.ts
  • internal-packages/emails/package.json
  • internal-packages/observability-map/src/mutations.ts
  • internal-packages/observability-map/src/report/prComment.ts
  • internal-packages/observability-map/src/report/terminal.ts
  • internal-packages/observability-map/src/score.ts
  • internal-packages/observability-map/src/sensitivity.ts
  • internal-packages/otlp-importer/jest.config.js
  • internal-packages/otlp-importer/package.json
  • internal-packages/otlp-importer/tsup.config.ts
  • internal-packages/run-engine/src/engine/controlPlaneResolver.ts
  • internal-packages/run-engine/src/engine/systems/debounceSystem.ts
  • internal-packages/run-engine/src/engine/systems/runAttemptSystem.ts
  • internal-packages/run-engine/src/engine/tests/helpers/executionStateMachine.ts
  • internal-packages/run-engine/src/engine/tests/helpers/snapshotTestHelpers.ts
  • internal-packages/run-engine/src/engine/tests/utils/engineTest.ts
  • internal-packages/run-engine/src/engine/ttlWorkerCatalog.ts
  • internal-packages/run-engine/src/engine/types.ts
  • internal-packages/run-engine/src/run-queue/constants.ts
  • internal-packages/run-engine/src/run-queue/errors.ts
  • internal-packages/run-engine/src/run-queue/fairQueueSelectionStrategy.ts
  • internal-packages/run-engine/src/run-queue/index.ts
  • internal-packages/run-store/package.json
  • internal-packages/schedule-engine/README.md
  • internal-packages/schedule-engine/package.json
  • internal-packages/schedule-engine/src/engine/scheduleCalculation.ts
  • internal-packages/schedule-engine/src/engine/types.ts
  • internal-packages/sdk-compat-tests/package.json
  • internal-packages/sso/package.json
  • internal-packages/testcontainers/package.json
  • internal-packages/testcontainers/src/docker.ts
  • internal-packages/testcontainers/src/utils.ts
  • internal-packages/tsql/package.json
  • internal-packages/tsql/src/query/constants.ts
  • internal-packages/tsql/src/query/context.ts
  • internal-packages/tsql/src/query/database.ts
  • internal-packages/tsql/src/query/escape.ts
  • internal-packages/tsql/src/query/models.ts
  • internal-packages/tsql/src/query/parse_string.ts
  • internal-packages/tsql/src/query/property_types.ts
  • internal-packages/tsql/src/query/schema.ts
  • internal-packages/webhook-engine/src/engine/filter/index.ts
  • internal-packages/webhook-engine/src/engine/partitions.ts
  • internal-packages/webhook-engine/src/engine/verification/parse.ts
  • knip.json
  • lefthook.yml
  • package.json
  • packages/build/package.json
  • packages/build/src/version.ts
  • packages/cli-v3/package.json
  • packages/cli-v3/src/build/buildWorker.ts
  • packages/cli-v3/src/build/externals.ts
  • packages/cli-v3/src/build/packageModules.ts
  • packages/cli-v3/src/build/plugins.ts
  • packages/cli-v3/src/commands/analyze.ts
  • packages/cli-v3/src/commands/deploy.ts
  • packages/cli-v3/src/commands/dev.ts
  • packages/cli-v3/src/commands/init.ts
  • packages/cli-v3/src/commands/install-mcp.ts
  • packages/cli-v3/src/commands/list-profiles.ts
  • packages/cli-v3/src/commands/login.ts
  • packages/cli-v3/src/commands/logout.ts
  • packages/cli-v3/src/commands/mcp.ts
  • packages/cli-v3/src/commands/mint-token.ts
  • packages/cli-v3/src/commands/preview.ts
  • packages/cli-v3/src/commands/promote.ts
  • packages/cli-v3/src/commands/skills.ts
  • packages/cli-v3/src/commands/switch.ts
  • packages/cli-v3/src/commands/trigger.ts
  • packages/cli-v3/src/commands/update.ts
  • packages/cli-v3/src/commands/whoami.ts
  • packages/cli-v3/src/commands/workers/build.ts
  • packages/cli-v3/src/commands/workers/create.ts
  • packages/cli-v3/src/commands/workers/index.ts
  • packages/cli-v3/src/commands/workers/list.ts
  • packages/cli-v3/src/commands/workers/run.ts
  • packages/cli-v3/src/consts.ts
  • packages/cli-v3/src/deploy/buildImage.ts
  • packages/cli-v3/src/deploy/logs.ts
  • packages/cli-v3/src/dev/workerRuntime.ts
  • packages/cli-v3/src/mcp/auth.ts
  • packages/cli-v3/src/mcp/schemas.ts
  • packages/cli-v3/src/rules/install.ts
  • packages/cli-v3/src/types.ts
  • packages/cli-v3/src/utilities/analyze.ts
  • packages/cli-v3/src/utilities/cliOutput.ts
  • packages/cli-v3/src/utilities/configFiles.ts
  • packages/cli-v3/src/utilities/createFileFromTemplate.ts
  • packages/cli-v3/src/utilities/fileSystem.ts
  • packages/cli-v3/src/utilities/getApiKeyType.ts
  • packages/cli-v3/src/utilities/keyValueBy.ts
  • packages/cli-v3/src/utilities/logger.ts
  • packages/cli-v3/src/utilities/obfuscateApiKey.ts
  • packages/cli-v3/src/utilities/parseNameAndPath.ts
  • packages/cli-v3/src/utilities/resolveInternalFilePath.ts
  • packages/cli-v3/src/utilities/safeJsonParse.ts
  • packages/cli-v3/src/utilities/sourceFiles.ts
  • packages/cli-v3/src/utilities/supportsHyperlinks.ts
  • packages/cli-v3/src/utilities/taskFiles.ts
  • packages/cli-v3/src/utilities/windows.ts
  • packages/core/package.json
  • packages/core/src/debounce.ts
  • packages/core/src/v3/apiClient/runStream.ts
  • packages/core/src/v3/apiClient/stream.ts
  • packages/core/src/v3/apiClientManager/index.ts
  • packages/core/src/v3/clock/preciseWallClock.ts
  • packages/core/src/v3/lifecycleHooks/types.ts
  • packages/core/src/v3/logger/taskLogger.ts
  • packages/core/src/v3/otel/tracingSDK.ts
  • packages/core/src/v3/realtimeStreams/index.ts
  • packages/core/src/v3/runEngineWorker/supervisor/events.ts
  • packages/core/src/v3/runEngineWorker/supervisor/util.ts
  • packages/core/src/v3/test/mock-task-context.ts
  • packages/core/src/v3/types/schemas.ts
  • packages/core/src/v3/usage/usageClient.ts
  • packages/core/src/v3/utils/safeAsyncLocalStorage.ts
  • packages/plugins/src/rbac.ts
  • packages/python/package.json
  • packages/react-hooks/src/utils/createContextAndHook.ts
  • packages/react-hooks/src/utils/trigger-swr.ts
  • packages/redis-worker/package.json
  • packages/redis-worker/src/fair-queue/schedulers/roundRobin.ts
  • packages/rsc/package.json
  • packages/trigger-sdk/package.json
  • packages/trigger-sdk/src/v3/auth.ts
  • packages/trigger-sdk/src/v3/chat-client.ts
  • packages/trigger-sdk/src/v3/retry.ts
  • packages/trigger-sdk/src/v3/runs.ts
  • packages/trigger-sdk/src/v3/shared.ts
  • packages/trigger-sdk/src/v3/test/mock-chat-agent.ts
  • packages/trigger-sdk/src/v3/test/test-session-handle.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@carderne
carderne marked this pull request as ready for review August 17, 2026 16:23
@changeset-bot

changeset-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 63a617f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Aug 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

@trigger.dev/build

npm i https://pkg.pr.new/@trigger.dev/build@63a617f

trigger.dev

npm i https://pkg.pr.new/trigger.dev@63a617f

@trigger.dev/core

npm i https://pkg.pr.new/@trigger.dev/core@63a617f

@trigger.dev/python

npm i https://pkg.pr.new/@trigger.dev/python@63a617f

@trigger.dev/react-hooks

npm i https://pkg.pr.new/@trigger.dev/react-hooks@63a617f

@trigger.dev/redis-worker

npm i https://pkg.pr.new/@trigger.dev/redis-worker@63a617f

@trigger.dev/rsc

npm i https://pkg.pr.new/@trigger.dev/rsc@63a617f

@trigger.dev/schema-to-json

npm i https://pkg.pr.new/@trigger.dev/schema-to-json@63a617f

@trigger.dev/sdk

npm i https://pkg.pr.new/@trigger.dev/sdk@63a617f

commit: 63a617f

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@carderne
carderne force-pushed the chore/knip-unused-code branch from 8460767 to 63a617f Compare August 18, 2026 10:14
@carderne
carderne merged commit b331976 into main Aug 18, 2026
56 checks passed
@carderne
carderne deleted the chore/knip-unused-code branch August 18, 2026 10:35
samejr added a commit that referenced this pull request Aug 19, 2026
…them

#4654's unused-code pass removed these, correctly by its own measure: each had
no importer at all, and the storybook pages that document them exist only on this
branch, so the pass couldn't see them.

Restored deliberately, because a design-system storybook that silently omits
primitives is worse than carrying a few components the product doesn't currently
call. Two whole modules come back (AnimatingArrow, PrettyDuration) plus five
exports whose surrounding components stayed (SmartDateTime, LiveCountUp,
InputOTPSeparator, PopoverSideMenuTrigger, TableCellChevron), and their stories
along with them.

Every one carries a comment saying why it's kept and pointing here, so the next
unused-code pass doesn't quietly take them out again - knip is satisfied either
way, since a storybook route is an entry point and anything it imports counts as
used.

LabelValueStack is the exception and stays deleted: its only historical consumer
was a test, not a page.

Collateral from reverting those hunks wholesale - useLocalTimeZone,
useUserTimeZone and the PopoverArrowTriggerVariant type - is kept but no longer
exported, since nothing outside their own files uses them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
samejr added a commit that referenced this pull request Aug 19, 2026
…ocument them"

This reverts commit 90f04957a0e60c0e4d7a51e2c0b2c1e3f4d8b7a1.

#4654's unused-code cleanup stands as written. Every file it touched is now
byte-identical to main again: the two modules it deleted stay deleted, the five
exports it removed stay removed, and the three it merely unexported
(AlertAction, SheetDescription, SheetFooter) are private again too - that last
part went beyond the reverted commit, since those re-exports came in with the
merge itself.

The storybook stories for all of them are gone with them. This branch keeps less
primitive coverage than it had, which is the cost of not carrying components the
product doesn't call.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants