mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-13 08:02:47 +00:00
docs: record the worker_dir invariant on handle_python_deps
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CaJT7Dhwt4iQMsJgYTwvi3
This commit is contained in:
co-authored by
Claude Opus 5
parent
9102fe3cc9
commit
f77ba72a08
@@ -1878,6 +1878,9 @@ pub(crate) async fn handle_python_deps(
|
||||
job_id: &Uuid,
|
||||
conn: &Connection,
|
||||
worker_name: &str,
|
||||
// The worker's own directory, never a job dir nested under it: with sandboxing on, the
|
||||
// uv-install nsjail config bind-mounts `{worker_dir}/download_deps.py.sh`, and the worker
|
||||
// writes that script only there, once, at startup.
|
||||
worker_dir: &str,
|
||||
mem_peak: &mut i32,
|
||||
canceled_by: &mut Option<CanceledBy>,
|
||||
|
||||
Reference in New Issue
Block a user