chore: update development scripts for todo-worker and todo-worker-python#28
chore: update development scripts for todo-worker and todo-worker-python#28andersonleal merged 1 commit intomainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe pull request adds file-watching capabilities to both Python and TypeScript worker development workflows. The Python worker now runs under Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 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 |
Summary
Improves the local development experience for the sample todo-worker (Node) and todo-worker-python examples by reloading the process when source files change.
devscript now usestsx watchinstead of a one-shotnode --import tsxrun.watchfilesdependency and runs the worker underwatchfiles 'python -m src.main'iniii.worker.yamlso edits trigger a restart.Type of change
Checklist
pyproject.tomlAdditional context
The workers repository uses
mainas the default branch (there is nodevelopbranch here), so this PR targetsmain.Uncommitted local edits (for example under
image-resize/ortodo-worker/package-lock.json) were not included; the PR reflects commit21b8a38only.Summary by CodeRabbit