Test Build CI#52
Conversation
Reviewer's GuideEnables the Docker GitHub Actions workflow to run on pull requests and updates the crm-chat-web toolchain (Vite/React/rolldown/lightningcss, etc.) along with dependency alignment changes (notably downgrading zod to v3 in both frontend and backend) and a minor env validation fix. Flow diagram for updated Vite build toolchain with React compilerflowchart LR
subgraph ViteConfig
direction LR
TanstackRouterPlugin
ReactPlugin
RolldownBabelPlugin
TailwindcssPlugin
end
SourceFiles -->|imported by| ViteConfig
TanstackRouterPlugin --> ViteBuild
ReactPlugin --> ViteBuild
RolldownBabelPlugin -->|presets: reactCompilerPreset| ViteBuild
TailwindcssPlugin --> ViteBuild
ViteBuild --> BundledAssets
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
Warning Review limit reached
More reviews will be available in 14 minutes and 50 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (6)
✨ Finishing Touches🧪 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. Comment |
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The bun.nix updates introduce multiple versions of several packages (e.g.
rolldownand many@rolldown/binding-*entries for both1.0.2and1.0.3); if older versions are no longer required by the lockfile, pruning them would reduce closure size and keep dependencies clearer. - This PR both enables Docker CI on pull requests and makes significant tooling/dependency changes (Vite/react plugin, zod downgrade, rolldown adoption); consider splitting CI configuration from dependency/tooling updates so each change is easier to reason about and revert if needed.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The bun.nix updates introduce multiple versions of several packages (e.g. `rolldown` and many `@rolldown/binding-*` entries for both `1.0.2` and `1.0.3`); if older versions are no longer required by the lockfile, pruning them would reduce closure size and keep dependencies clearer.
- This PR both enables Docker CI on pull requests and makes significant tooling/dependency changes (Vite/react plugin, zod downgrade, rolldown adoption); consider splitting CI configuration from dependency/tooling updates so each change is easier to reason about and revert if needed.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
Temporarily enabling docker CI on pull requests to test build
Summary by Sourcery
Enable Docker build workflow on pull requests and update the CRM web and Convex backend tooling to align with newer Vite/React build infrastructure.
New Features:
Bug Fixes:
Enhancements:
Build: