-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
docs(solid-start): start-bun example #5816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughA complete Solid Start example project for Bun runtime is added, featuring configuration files, a production server with intelligent static asset preloading, generated routing infrastructure, route examples including API endpoints and server functions, and supporting documentation and tooling. Changes
Sequence DiagramsequenceDiagram
participant Startup as Server Startup
participant Scanner as Asset Scanner
participant Preload as Memory Preloader
participant Server as Bun HTTP Server
participant Client as Client Request
participant Assets as Asset Response
Startup->>Scanner: Scan dist/ for assets
Scanner->>Scanner: Apply glob patterns<br/>(include/exclude)
Scanner->>Preload: Filter by size limits
Preload->>Preload: Load small assets<br/>into memory
Preload->>Preload: Compute ETags,<br/>gzip if configured
Preload->>Server: Register routes &<br/>preloaded assets
Server->>Server: Wire static routes<br/>+ catch-all handler
Client->>Server: Request /path/to/asset
alt Asset preloaded
Server->>Assets: Return from memory<br/>(check ETag, gzip)
Assets->>Client: 200 or 304 response
else Asset not preloaded
Server->>Assets: Read from disk<br/>on-demand
Assets->>Client: 200 response
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (21)
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. Comment |
|
View your CI Pipeline Execution ↗ for commit bcf58fd
☁️ Nx Cloud last updated this comment at |
More templates
@tanstack/arktype-adapter
@tanstack/directive-functions-plugin
@tanstack/eslint-plugin-router
@tanstack/history
@tanstack/nitro-v2-vite-plugin
@tanstack/react-router
@tanstack/react-router-devtools
@tanstack/react-router-ssr-query
@tanstack/react-start
@tanstack/react-start-client
@tanstack/react-start-server
@tanstack/router-cli
@tanstack/router-core
@tanstack/router-devtools
@tanstack/router-devtools-core
@tanstack/router-generator
@tanstack/router-plugin
@tanstack/router-ssr-query-core
@tanstack/router-utils
@tanstack/router-vite-plugin
@tanstack/server-functions-plugin
@tanstack/solid-router
@tanstack/solid-router-devtools
@tanstack/solid-router-ssr-query
@tanstack/solid-start
@tanstack/solid-start-client
@tanstack/solid-start-server
@tanstack/start-client-core
@tanstack/start-plugin-core
@tanstack/start-server-core
@tanstack/start-static-server-functions
@tanstack/start-storage-context
@tanstack/valibot-adapter
@tanstack/virtual-file-routes
@tanstack/zod-adapter
commit: |
Summary by CodeRabbit