Skip to main content

schedr_agent/
lib.rs

1//! The schedr worker agent: process supervision, rendering, the runner channel.
2//!
3//! The agent starts each task attempt as its own process, in its own process group, with a clean
4//! environment; it captures the output, enforces the timeout and stops processes with SIGTERM then
5//! SIGKILL (see archive/PROJECT.md, Worker environment and Master–worker protocol). The Python
6//! runner talks to it over a Unix socket ([`channel`]).
7
8pub mod agent;
9pub mod api;
10pub mod attempt;
11pub mod channel;
12pub mod connection_env;
13pub mod connection_jobs;
14pub mod ctx;
15pub mod drain;
16pub mod env;
17pub mod fork;
18pub mod handles;
19pub mod jobs;
20pub mod journal;
21pub mod launch;
22pub mod logs;
23pub mod mask;
24pub mod master_time;
25pub mod memory;
26pub mod metrics;
27pub mod output;
28pub mod parse;
29pub mod process;
30pub mod render;
31pub mod resource;
32pub mod retention;
33pub mod scan;
34pub mod secrets;
35pub mod status;
36pub mod supervise;
37pub mod usage;
38pub mod vault;
39pub mod watch;
40pub mod watchers;