Operations
Start Modes
Default values (from src/config.zig):
- host:
127.0.0.1 - port:
8080 - db:
nullboiler.db
Run with config file:
./zig-out/bin/nullboiler --config config.json
CLI flags override config:
--host--port--db--token
Quick Health Checks
curl -s http://127.0.0.1:8080/health
curl -s http://127.0.0.1:8080/workers
curl -s 'http://127.0.0.1:8080/runs?limit=20&offset=0'
Auth Mode Check
./zig-out/bin/nullboiler --token my-secret
curl -s http://127.0.0.1:8080/health
curl -s http://127.0.0.1:8080/runs -H 'Authorization: Bearer my-secret'
Drain Mode
curl -s -X POST http://127.0.0.1:8080/admin/drain
After drain is enabled, new POST /runs requests return 503.
Worker Hygiene Checklist
- protocol explicitly set (
webhook,api_chat,openai_chat) - webhook URLs include explicit path
- tags align with workflow
worker_tags max_concurrentmatches real worker capacity
Stuck Run Playbook
- check run status (
GET /runs/{id}) - inspect steps (
GET /runs/{id}/steps) - inspect event stream (
GET /runs/{id}/events) - verify worker availability and tag match (
GET /workers)