lawsynth/services/worker/config/development.yaml
caelum0x b011dce423 test+config: connector test suite + service config/docs (manifest files)
Connectors: 22 real pytest modules (186 pass / 7 optional-dep skips) exercising
every connector's dependency-free surface + missing-driver degradation; SSRF
guard verified; errors_connector.py as a thin re-export (no forked taxonomy).
Services: config/{dev,staging,prod,test,limits,logging}.yaml + docs/*.md for
api/gateway/scheduler/worker, mapped to the real config structs; gateway/scheduler
Dockerfiles + scheduler .env/README. All YAML validated.

Closes 66 manifest files (gap 175->109). No source behavior changed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-17 19:23:14 +03:00

28 lines
1.3 KiB
YAML

# Development profile for lawsynth-worker.
#
# Fields map 1:1 to WorkerConfig (services/worker/src/config.rs); `capacity` maps
# to lawsynth_runner::ResourceRequest and `store` to lawsynth_store::StoreConfig
# (used by the `serve <store-root> <addr>` status transport). The binary does not
# read a YAML file: it constructs WorkerConfig::default() and StoreConfig::default().
# This document records the intended local shape and reproduces those defaults so
# a developer sees the same admission behavior the binary applies out of the box.
profile: development
# capacity -> ResourceRequest: the total admission budget for this instance. A
# job whose declared resources exceed capacity is rejected, not executed.
# ResourceRequest::new requires cpu_millis > 0 and memory_bytes > 0.
capacity:
cpu_millis: 4000 # 4 CPU-seconds of budget
memory_bytes: 4294967296 # 4 GiB
disk_bytes: 8589934592 # 8 GiB
# maximum_checkpoint_bytes: ceiling on one durable lifecycle record. config.rs
# requires at least 128 bytes so a complete lifecycle record always fits.
maximum_checkpoint_bytes: 16384 # 16 KiB
# Durable checkpoint store opened at the `serve` root.
store:
max_object_bytes: 134217728 # 128 MiB
cache_capacity_bytes: 33554432 # 32 MiB