kestra
kestra copied to clipboard
Allow continuously pushing changes to flow YAML files added locally outside of Kestra UI - CLI `--watch` flag on kestra server commands
It can be convenient to have similar way to develop flow as front web developer: kestra server local --watch /mydir
.
- We watch at file systems and update all flow automatically on the ui
- This one may also work also with a remote server
Further details and ideation :
- One use case would be to write Python code in local IDE and link python files thanks to "helpers". The whole point of developing outside Kestra's UI is to support users Git workflow. Actually users have to write code in the UI and copy-paste to their Git integration. For example :
- User writes code in IDE locally
- Refers Python files in YAML through Helpers
- YAML flow extend only at runtime (no discrepancies between UI and local code)
- Another possibility would be to propose GitHub/GitLab integration directly from the IDE (dbt offers such possibility in their Cloud tier for example). Still users who want to test Python code locally will have to context switch a lot (for example 1. write python code in IDE and run it, 2. then update code in Kestra, 3. commit in kestra)
would be great to have this!