Merge Go frontend (apiserver + xcecli) into meson build
This commit is contained in:
parent
43dc12a36c
commit
c9dc8c4676
205 changed files with 30793 additions and 328 deletions
28
src/worker/CLAUDE.md
Normal file
28
src/worker/CLAUDE.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# XCE Worker Daemon (xcecd)
|
||||
|
||||
## Overview
|
||||
C daemon running on each compute node. Manages job execution, hardware monitoring, and process lifecycle on worker nodes.
|
||||
|
||||
## Build
|
||||
```bash
|
||||
# From workspace root
|
||||
nix develop
|
||||
meson build && ninja -C build
|
||||
```
|
||||
|
||||
## Architecture
|
||||
- `src/xcecd.c` — Main daemon entry point
|
||||
- `src/hardware_monitor.c` — CPU/memory/GPU resource monitoring
|
||||
- `src/process_manager.c` — Job process lifecycle (spawn, track, reap)
|
||||
|
||||
Links against `libxce` from `src/lib/`.
|
||||
|
||||
## Conventions
|
||||
- C standard: C99 or later
|
||||
- Format with `clang-format`
|
||||
- Headers in `include/`
|
||||
- Shared types defined in `src/include/xce/` (libxce)
|
||||
|
||||
## See Also
|
||||
- Shared library: `src/lib/CLAUDE.md`
|
||||
- Root guidelines: `/workspace/CLAUDE.md`
|
||||
Loading…
Add table
Add a link
Reference in a new issue