perf(router-plugin): parse reference routes once #8454
main fromperf/router-reference-parse-once·opened Summary#
- Parse reference-route source once for grouping detection, shared-binding analysis and reference compilation.
- Complete both analyses before compiler mutation and keep the AST local to one transform; no persistent cache or new invalidation state.
- Use AST-taking helpers directly for grouping and shared-binding analysis. Keep the source-taking reference compiler for the HMR-only plugin, which still uses it.
- Add exact code/map parity coverage, shared-destructuring fixtures, scope-aware compiler-hook tests, root-route/HMR parity, reference/virtual/shared freshness, and Start client-deletion coverage.
- Include a router-plugin patch changeset. Keep measurement benchmarks out of the committed PR; the build measurements below remain the original results.
Full-app build performance#
Complete React Start client and SSR builds using createBuilder().buildApp(). Exact baseline and candidate package builds, identical app sources/paths and other dependencies, discarded warmups, four measured samples per implementation in balanced ABBAABBA order.
| Workload | Before (median) | After (median) | Elapsed reduction |
|---|---|---|---|
| 100 leaf routes | 2.552 s | 2.376 s | 6.9% |
| 1,000 leaf routes | 16.261 s | 14.714 s | 9.5% |
| 100 leaves / 200 server functions | 3.014 s | 2.848 s | 5.5% |
| 1,000 leaves / 2,000 server functions | 22.295 s | 20.361 s | 8.7% |
Client code, SSR code, filenames and generated route trees matched exactly across all samples. Focused tiny-route benchmarks also improved mean time by approximately 8–24%, depending on workload. Memory results were variable; no stable memory reduction is claimed.
Measured on Linux / AMD Ryzen 7 255, Node 24.8.0, pnpm 11.21.0 and Vite 8.0.14. Generated flat-route workloads model clean builds on a warm filesystem; results are not claims about every application or incremental HMR.
Original validation#
- Router-plugin: 786 unit tests, TypeScript 5.6–7.0, ESLint and publint/attw passed.
- Public-plugin behavioral comparisons passed against both baseline and candidate; code and sourcemap parity is asserted before focused timings.
- Start-plugin-core: 540 unit tests, types and ESLint passed.
- Production Router browser tests passed: React 6, Solid 5, Vue JSX 22, Vue SFC 22.
- Focused production Start SSR browser tests passed: React 61, Solid 54.
- Final uncached bundle matrix rebuilt all 26 package dependencies: zero deltas across all 18 scenarios. All 57 emitted JS/MJS/CJS files (5,345,770 bytes) matched byte-for-byte.
- Formatting and
git diff --checkpassed.
Review follow-up#
- Removed the committed reference-pipeline benchmark as requested.
- Removed the unused source-taking grouping/shared-binding wrappers. Tests now call the AST helpers directly; the source-taking reference compiler remains because the HMR-only plugin uses it.
- Added single-parse coverage for shared destructured bindings and filename-dependent TypeScript parsing. Updated the architecture notes.
- Router-plugin: 788 unit tests; Start-plugin-core: 540 unit tests. Both packages passed TypeScript 5.6–7.0, ESLint, publint and attw.
- Production Router browser tests: React 6, Solid 120, Vue JSX 22, Vue SFC 22. Focused built React Start Vite SSR tests: 17.
- Cleanup versus original PR head: all 18 bundle scenarios have zero size deltas; all 57 emitted JS/MJS/CJS files matched byte-for-byte. Final package rebuild was uncached.
- The full-app timing table above remains the original Linux measurement. Temporary focused measurements reconfirmed the single-parse benefit; no additional speedup is claimed for this cleanup.
The compiler-helper extraction and plugin wiring form one optimization; no unrelated compiler behavior change is included. Measurement-script compression is a separate PR.
Summary by CodeRabbit#
- Performance
- Route code-splitting builds now parse each reference route once for grouping detection, shared-binding analysis, and compilation.
- Compatibility
- Existing route code-splitting behavior and generated output are preserved.
- 1
github-actions[bot](GitHub profile, opens in a new tab) added labelspackage: router-plugin
View your CI Pipeline Execution ↗ for commit 52c37b505d3d23b1274e4d4488cf84243869b9d7
Command Status Duration Result nx affected --targets=test:eslint,test:unit,tes...✅ Succeeded 16m 41s View ↗ nx run-many --target=build --exclude=examples/*...✅ Succeeded 1m 36s View ↗
☁️ Nx Cloud last updated this comment at
2026-09-26 20:49:15UTC🚀 Changeset Version Preview#
7 package(s) bumped directly, 16 bumped as dependents.
🟩 Patch bumps#
Package Version Reason @tanstack/react-router1.170.39 → 1.170.40 Changeset @tanstack/router-core1.171.32 → 1.171.33 Changeset @tanstack/router-plugin1.168.40 → 1.168.41 Changeset @tanstack/solid-router1.170.36 → 1.170.37 Changeset @tanstack/start-client-core1.170.32 → 1.170.33 Changeset @tanstack/start-server-core1.169.37 → 1.169.38 Changeset @tanstack/vue-router1.170.35 → 1.170.36 Changeset @tanstack/react-start1.168.58 → 1.168.59 Dependent @tanstack/react-start-client1.168.37 → 1.168.38 Dependent @tanstack/react-start-rsc0.1.57 → 0.1.58 Dependent @tanstack/react-start-server1.167.44 → 1.167.45 Dependent @tanstack/router-cli1.167.38 → 1.167.39 Dependent @tanstack/router-generator1.167.38 → 1.167.39 Dependent @tanstack/router-vite-plugin1.167.40 → 1.167.41 Dependent @tanstack/solid-start1.168.55 → 1.168.56 Dependent @tanstack/solid-start-client1.168.35 → 1.168.36 Dependent @tanstack/solid-start-server1.167.42 → 1.167.43 Dependent @tanstack/start-plugin-core1.171.47 → 1.171.48 Dependent @tanstack/start-static-server-functions1.167.37 → 1.167.38 Dependent @tanstack/start-storage-context1.167.34 → 1.167.35 Dependent @tanstack/vue-start1.168.54 → 1.168.55 Dependent @tanstack/vue-start-client1.167.38 → 1.167.39 Dependent @tanstack/vue-start-server1.167.42 → 1.167.43 Dependent Bundle Size Benchmarks#
This pull request does not affect bundle size in any measured scenario.
More templates
- tanstack-router-react-example-authenticated-routes
- tanstack-router-react-example-authenticated-routes-firebase
- tanstack-router-react-example-basic
- tanstack-router-react-example-basic-default-search-params
- tanstack-router-react-example-basic-devtools-panel
- tanstack-router-react-example-basic-file-based
- tanstack-router-react-example-basic-non-nested-devtools
- tanstack-router-react-example-react-query
- tanstack-router-react-example-basic-react-query-file-based
- tanstack-router-react-example-basic-ssr-file-based
- tanstack-router-react-example-basic-ssr-streaming-file-based
- tanstack-router-react-example-basic-virtual-file-based
- tanstack-router-react-example-basic-virtual-inside-file-based
- tanstack-router-react-example-deferred-data
- tanstack-router-i18n-paraglide
- tanstack-router-react-example-kitchen-sink
- tanstack-router-react-example-kitchen-sink-file-based
- tanstack-router-react-example-kitchen-sink-react-query
- tanstack-router-react-example-kitchen-sink-react-query-file-based
- tanstack-router-react-example-large-file-based
- tanstack-router-react-example-location-masking
- tanstack-router-react-example-navigation-blocking
- tanstack-router-react-example-quickstart
- tanstack-router-react-example-quickstart-esbuild-file-based
- tanstack-router-react-example-quickstart-file-based
- tanstack-router-react-example-quickstart-rspack-file-based
- tanstack-router-react-example-quickstart-webpack-file-based
- router-monorepo-react-query
- router-mono-simple
- router-mono-simple-lazy
- tanstack-router-react-example-scroll-restoration
- tanstack-search-validator-adapters
- tanstack-start-example-bare
- tanstack-start-example-basic
- tanstack-start-example-basic-auth
- tanstack-router-react-example-basic-authjs
- tanstack-start-example-basic-cloudflare
- tanstack-start-example-basic-react-query
- tanstack-start-example-basic-rsbuild
- tanstack-start-example-basic-static
- tanstack-start-bun-hosting
- tanstack-start-example-clerk-basic
- tanstack-start-example-convex-trellaux
- tanstack-start-example-counter
- tanstack-start-i18n-paraglide
- tanstack-start-example-large
- tanstack-start-example-material-ui
- tanstack-start-example-next-migration
- tanstack-start-example-rscs
- tanstack-start-streaming-data-from-server-functions
- tanstack-start-example-supabase-basic
- tanstack-start-tailwind-v4
- tanstack-start-example-trellaux
- tanstack-start-example-workos
- tanstack-router-react-example-view-transitions
- tanstack-router-react-example-with-framer-motion
- tanstack-router-react-example-with-trpc
- tanstack-router-react-example-with-trpc-react-query
- tanstack-router-vue-example-basic-jsx
- tanstack-router-vue-example-basic-file-based-jsx
- tanstack-router-vue-example-basic-file-based-sfc
- tanstack-router-solid-example-authenticated-routes
- tanstack-router-solid-example-authenticated-routes-firebase
- tanstack-router-solid-example-basic
- tanstack-router-solid-example-basic-default-search-params
- tanstack-router-solid-example-basic-devtools-panel
- tanstack-router-solid-example-basic-file-based
- tanstack-router-solid-example-basic-non-nested-devtools
- tanstack-router-solid-example-basic-solid-query
- tanstack-router-solid-example-basic-solid-query-file-based
- tanstack-router-solid-example-basic-ssr-file-based
- tanstack-router-solid-example-basic-ssr-streaming-file-based
- tanstack-router-solid-example-basic-virtual-file-based
- tanstack-router-solid-example-basic-virtual-inside-file-based
- tanstack-router-solid-example-deferred-data
- tanstack-router-solid-i18n-paraglide
- tanstack-router-solid-example-kitchen-sink
- tanstack-router-solid-example-kitchen-sink-file-based
- tanstack-router-solid-example-kitchen-sink-solid-query
- tanstack-router-solid-example-kitchen-sink-solid-query-file-based
- tanstack-router-solid-example-large-file-based
- tanstack-router-solid-example-location-masking
- tanstack-router-solid-example-navigation-blocking
- tanstack-router-solid-example-quickstart
- tanstack-router-solid-example-quickstart-esbuild-file-based
- tanstack-router-solid-example-quickstart-file-based
- tanstack-router-solid-example-quickstart-rspack-file-based
- tanstack-router-solid-example-quickstart-webpack-file-based
- @tanstack/router-solid-mono-simple
- router-solid-mono-simple-lazy
- router-solid-monorepo-solid-query
- tanstack-router-solid-example-scroll-restoration
- tanstack-solid-router-search-validator-adapters
- tanstack-solid-start-example-basic
- tanstack-solid-start-example-basic-auth
- tanstack-solid-start-example-basic-authjs
- tanstack-solid-start-example-basic-cloudflare
- tanstack-solid-start-example-basic-netlify
- tanstack-solid-start-example-basic-nitro
- tanstack-start-example-basic-solid-query
- tanstack-solid-start-example-basic-static
- tanstack-solid-start-bun-hosting
- tanstack-solid-start-example-convex-better-auth
- tanstack-solid-start-example-counter
- tanstack-solid-start-i18n-paraglide
- tanstack-solid-start-example-large
- tanstack-solid-start-streaming-data-from-server-functions
- tanstack-solid-start-example-supabase-basic
- tanstack-solid-start-tailwind-v4
- tanstack-router-solid-example-view-transitions
- tanstack-router-solid-example-with-framer-motion
- tanstack-router-solid-example-with-trpc
@tanstack/arktype-adapter
npm i https://pkg.pr.new/@tanstack/arktype-adapter@8454@tanstack/eslint-plugin-router
npm i https://pkg.pr.new/@tanstack/eslint-plugin-router@8454@tanstack/eslint-plugin-start
npm i https://pkg.pr.new/@tanstack/eslint-plugin-start@8454@tanstack/history
npm i https://pkg.pr.new/@tanstack/history@8454@tanstack/nitro-v2-vite-plugin
npm i https://pkg.pr.new/@tanstack/nitro-v2-vite-plugin@8454@tanstack/react-router
npm i https://pkg.pr.new/@tanstack/react-router@8454@tanstack/react-router-devtools
npm i https://pkg.pr.new/@tanstack/react-router-devtools@8454@tanstack/react-router-ssr-query
npm i https://pkg.pr.new/@tanstack/react-router-ssr-query@8454@tanstack/react-start
npm i https://pkg.pr.new/@tanstack/react-start@8454@tanstack/react-start-client
npm i https://pkg.pr.new/@tanstack/react-start-client@8454@tanstack/react-start-rsc
npm i https://pkg.pr.new/@tanstack/react-start-rsc@8454@tanstack/react-start-server
npm i https://pkg.pr.new/@tanstack/react-start-server@8454@tanstack/router-cli
npm i https://pkg.pr.new/@tanstack/router-cli@8454@tanstack/router-core
npm i https://pkg.pr.new/@tanstack/router-core@8454@tanstack/router-devtools
npm i https://pkg.pr.new/@tanstack/router-devtools@8454@tanstack/router-devtools-core
npm i https://pkg.pr.new/@tanstack/router-devtools-core@8454@tanstack/router-generator
npm i https://pkg.pr.new/@tanstack/router-generator@8454@tanstack/router-plugin
npm i https://pkg.pr.new/@tanstack/router-plugin@8454@tanstack/router-ssr-query-core
npm i https://pkg.pr.new/@tanstack/router-ssr-query-core@8454@tanstack/router-utils
npm i https://pkg.pr.new/@tanstack/router-utils@8454@tanstack/router-vite-plugin
npm i https://pkg.pr.new/@tanstack/router-vite-plugin@8454@tanstack/solid-router
npm i https://pkg.pr.new/@tanstack/solid-router@8454@tanstack/solid-router-devtools
npm i https://pkg.pr.new/@tanstack/solid-router-devtools@8454@tanstack/solid-router-ssr-query
npm i https://pkg.pr.new/@tanstack/solid-router-ssr-query@8454@tanstack/solid-start
npm i https://pkg.pr.new/@tanstack/solid-start@8454@tanstack/solid-start-client
npm i https://pkg.pr.new/@tanstack/solid-start-client@8454@tanstack/solid-start-server
npm i https://pkg.pr.new/@tanstack/solid-start-server@8454@tanstack/start-client-core
npm i https://pkg.pr.new/@tanstack/start-client-core@8454@tanstack/start-fn-stubs
npm i https://pkg.pr.new/@tanstack/start-fn-stubs@8454@tanstack/start-plugin-core
npm i https://pkg.pr.new/@tanstack/start-plugin-core@8454@tanstack/start-server-core
npm i https://pkg.pr.new/@tanstack/start-server-core@8454@tanstack/start-static-server-functions
npm i https://pkg.pr.new/@tanstack/start-static-server-functions@8454@tanstack/start-storage-context
npm i https://pkg.pr.new/@tanstack/start-storage-context@8454@tanstack/valibot-adapter
npm i https://pkg.pr.new/@tanstack/valibot-adapter@8454@tanstack/virtual-file-routes
npm i https://pkg.pr.new/@tanstack/virtual-file-routes@8454@tanstack/vue-router
npm i https://pkg.pr.new/@tanstack/vue-router@8454@tanstack/vue-router-devtools
npm i https://pkg.pr.new/@tanstack/vue-router-devtools@8454@tanstack/vue-router-ssr-query
npm i https://pkg.pr.new/@tanstack/vue-router-ssr-query@8454@tanstack/vue-start
npm i https://pkg.pr.new/@tanstack/vue-start@8454@tanstack/vue-start-client
npm i https://pkg.pr.new/@tanstack/vue-start-client@8454@tanstack/vue-start-server
npm i https://pkg.pr.new/@tanstack/vue-start-server@8454@tanstack/zod-adapter
npm i https://pkg.pr.new/@tanstack/zod-adapter@8454commit:
52c37b5- packages/router-plugin/tests/reference-pipeline.bench.ts line 13Outdated@@ -0,0 +1,13 @@1+import { bench, describe, expect } from 'vitest'2+import { parseAst } from '@tanstack/router-utils'3+import {4+ compileCodeSplitReferenceRoute,5+ compileCodeSplitReferenceRouteFromAst,6+ computeSharedBindings,7+ computeSharedBindingsFromAst,8+ detectCodeSplitGroupingsFromAst,9+ detectCodeSplitGroupingsFromRoute,10+} from '../src/core/code-splitter/compilers'11+import { defaultCodeSplitGroupings } from '../src/core/constants'12+13+// Compare the old three-parse pipeline with the plugin's one-parse pipeline.
should we keep this bench? probably not?
Merging this PR will not alter performance#
✅ 191untouched benchmarks⏩ 3skipped benchmarks1
Comparingperf/router-reference-parse-once(52c37b5) withmain(7471fb8)Footnotes#
-
3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
-
- packages/router-plugin/src/core/router-code-splitter-plugin.ts line 14@@ -4,11 +4,9 @@44 */5566 import { fileURLToPath, pathToFileURL } from 'node:url'7-import { decodeIdentifier, logDiff } from '@tanstack/router-utils'7+import { decodeIdentifier, logDiff, parseAst } from '@tanstack/router-utils'88 import { getConfig, splitGroupingsSchema } from './config'99 import {10- compileCodeSplitReferenceRoute,10+ compileCodeSplitReferenceRouteFromAst,1111 compileCodeSplitSharedRoute,1212 compileCodeSplitVirtualRoute,13- computeSharedBindings,14- detectCodeSplitGroupingsFromRoute,
are those functions still used (outside of tests)? we should not keep them if not used, dont shim them etc.
schiller-manuel(GitHub profile, opens in a new tab) requested changes
schiller-manuel(GitHub profile, opens in a new tab) approved these changes
Sign in to join this conversation.
Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository: TanStack/router/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
ab3633ec-2d51-4f01-991b-92d34a4d39cf📥 Commits
Reviewing files that changed from the base of the PR and between 528fb72962e2cadfe72d5e4b2c6322e3480200c5 and 52c37b505d3d23b1274e4d4488cf84243869b9d7.
📒 Files selected for processing (37)
.changeset/quick-dingos-decide.mdpackages/router-plugin/ARCHITECTURE-CODE-SPLITTING.mdpackages/router-plugin/src/core/code-splitter/compilers.tspackages/router-plugin/src/core/router-code-splitter-plugin.tspackages/router-plugin/tests/add-hmr.test.tspackages/router-plugin/tests/code-splitter.test.tspackages/router-plugin/tests/code-splitter/snapshots/react/1-default/shared-identifier-options.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/1-default/shared-identifier-options@component.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/1-default/shared-identifier-options@errorComponent.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/1-default/shared-identifier-options@notFoundComponent.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/1-default/shared-identifier-options@shared.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/shared-identifier-options.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/shared-identifier-options@component---errorComponent---notFoundComponent---pendingComponent.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/shared-identifier-options@loader.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/2-components-combined-loader-separate/shared-identifier-options@shared.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/shared-identifier-options.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/shared-identifier-options@component---loader---notFoundComponent---pendingComponent.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/shared-identifier-options@errorComponent.tsxpackages/router-plugin/tests/code-splitter/snapshots/react/3-all-combined-errorComponent-separate/shared-identifier-options@shared.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/1-default/shared-identifier-options.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/1-default/shared-identifier-options@component.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/1-default/shared-identifier-options@errorComponent.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/1-default/shared-identifier-options@notFoundComponent.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/1-default/shared-identifier-options@shared.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/2-components-combined-loader-separate/shared-identifier-options.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/2-components-combined-loader-separate/shared-identifier-options@component---errorComponent---notFoundComponent---pendingComponent.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/2-components-combined-loader-separate/shared-identifier-options@loader.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/2-components-combined-loader-separate/shared-identifier-options@shared.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/3-all-combined-errorComponent-separate/shared-identifier-options.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/3-all-combined-errorComponent-separate/shared-identifier-options@component---loader---notFoundComponent---pendingComponent.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/3-all-combined-errorComponent-separate/shared-identifier-options@errorComponent.tsxpackages/router-plugin/tests/code-splitter/snapshots/solid/3-all-combined-errorComponent-separate/shared-identifier-options@shared.tsxpackages/router-plugin/tests/code-splitter/test-files/react/shared-identifier-options.tsxpackages/router-plugin/tests/code-splitter/test-files/solid/shared-identifier-options.tsxpackages/router-plugin/tests/detect-route-codesplit-groupings.test.tspackages/router-plugin/tests/reference-pipeline.test.tspackages/router-plugin/tests/shared-bindings-helpers.test.ts💤 Files with no reviewable changes (8)
🚧 Files skipped from review as they are similar to previous changes (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough#
The router plugin now parses each reference route once and reuses its AST for grouping detection, shared-binding analysis, and compilation. The change adds AST-based compiler APIs and updates tests, React and Solid fixtures, snapshots, architecture documentation, and the patch changeset.
Changes#
Single-parse route pipeline
packages/router-plugin/src/core/code-splitter/compilers.tspackages/router-plugin/src/core/router-code-splitter-plugin.ts,packages/router-plugin/ARCHITECTURE-CODE-SPLITTING.md,.changeset/quick-dingos-decide.mdpackages/router-plugin/tests/add-hmr.test.ts,packages/router-plugin/tests/code-splitter.test.ts,packages/router-plugin/tests/detect-route-codesplit-groupings.test.ts,packages/router-plugin/tests/shared-bindings-helpers.test.ts,packages/router-plugin/tests/reference-pipeline.test.tspackages/router-plugin/tests/code-splitter/test-files/*,packages/router-plugin/tests/code-splitter/snapshots/react/*,packages/router-plugin/tests/code-splitter/snapshots/solid/*Priority: ➖ Normal
Estimated code review effort: 3 (Moderate) | ~25 minutes
Change: Refactor
Suggested reviewers:
schiller-manuelMerge Risk: ⚪ Minimal · up to
52c37The single-parse change is mergeable after normal checks; no specific behavior requiring correction remains established.
Security Architecture Review#
Security architecture risk: 🔵 Low · up to
52c37The change appears confined to build-time route compilation. The existing route input and compiler-extension boundaries remain in place, and no new security exposure was identified. Coverage is incomplete, so the assessment is low risk rather than a claim of complete safety.
Retained concerns No architecture-level concerns identified.
Security review details
Security Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)#
✅ Passed checks (4 passed)
Full details: Docstring Coverage
Explanation
Docstring coverage is 43.75% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 16 functions across 28 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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