fix: Use pybun instead of bun for SSR command#49
Conversation
The SSR command in _create_app was using "bun" directly, which is not available in production Python environments. Use sys.executable with pybun (a Python package that bundles bun) so the SSR server works wherever the Python app runs.
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ 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 |
Summary
Context
The zero-config SSR feature added in #48 hardcoded bun as the SSR command, but production Python environments (e.g. Docker) don't have bun installed globally. pybun is a Python package that bundles the bun binary, so using sys.executable -m pybun ensures it works wherever the Python app runs.
Test plan