mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-30 08:16:49 +00:00
Add interactive, long-lived sandbox management to Windmill with two deployment modes (embedded on worker, remote on dedicated hosts). - Database schema: sandbox, sandbox_exec, sandbox_host tables - windmill-sandbox crate: core nsjail process manager (create, exec via nsenter, suspend/resume via SIGSTOP/SIGCONT, file I/O) - windmill-api-sandbox crate: REST API for sandbox CRUD and operations - Embedded sandbox HTTP server for worker-local sandbox access - Monitor integration for cleanup of expired/idle/orphaned sandboxes - Python SDK: Sandbox class with exec, suspend, resume, terminate, file ops Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Windmill Backend
This folder holds all backend components, the src/ folder only contains files used to build the "root" binary.
Components
| name | description |
|---|---|
| windmill-api | The API server, exposing functionality to other components and the frontend |
| windmill-audit | Contains audit functionality, allowing different components to record important actions |
| windmill-common | Common code shared by all crates |
| windmill-queue | Contains job & flow queuing functionality, commonly written to by the API server and read from by workers |
| windmill-worker | The worker. Used to process and execute flows & jobs. |
| parsers | Contains code to parse signatures in different langauges. |
Compile sqlx for offline ci
cargo sqlx prepare --workspace -- --bin windmill --features enterprise