fix: user seed container adding path to config files#262
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe docker-compose.yaml file has been updated to include two read-only bind mounts for the user-seed service: mounting the backend/app directory to /app/app and backend/scripts to /app/scripts. These additions provide the service with access to application and script files at runtime. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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.
Pull request overview
Updates the Docker Compose user-seed one-shot container to mount the backend source directories needed to run scripts.seed_users consistently with the rest of the stack.
Changes:
- Mount
./backend/appinto/app/appforapp.*imports during seeding. - Mount
./backend/scriptsinto/app/scriptssopython -m scripts.seed_userscan resolve thescriptspackage.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|



Summary by cubic
Fixes the user seeding container by mounting the backend app and scripts directories so Python can import scripts.seed_users. Restores seeding when running via docker-compose.
Written for commit 2b24bff. Summary will update on new commits.
Summary by CodeRabbit