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:
Ruben Fiszel
2026-09-01 13:07:22 +00:00
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>,