docs(1.1): mark C5 batch group shipped, live-swap verification pending
This commit is contained in:
@@ -53,10 +53,14 @@ the ORM into every worker. No production code imports `generate` from the packag
|
|||||||
(`webhook`, `canary`, `listener`, `forwarder`, `mutate`, `enrich`) into reusable
|
(`webhook`, `canary`, `listener`, `forwarder`, `mutate`, `enrich`) into reusable
|
||||||
`async def run(bus, cfg)` in their packages, so they're hostable by a supervisor.
|
`async def run(bus, cfg)` in their packages, so they're hostable by a supervisor.
|
||||||
CLI commands become thin `asyncio.run(run(...))` wrappers. No behaviour change.
|
CLI commands become thin `asyncio.run(run(...))` wrappers. No behaviour change.
|
||||||
- [ ] **C5 — `decnet supervise`.** TaskGroup supervisor hosting the idle herd in one
|
- [x] **C5 — `decnet supervise` primitive + batch group.** `decnet/supervisor.py`
|
||||||
process; reuses existing bus + `system.{worker}.control` shutdown. One systemd unit
|
(per-worker restart loops, NOT TaskGroup) + `decnet supervise batch` hosting
|
||||||
replacing ~8. `# ponytail: shared event loop — split a worker back out if it needs
|
reconcile/enrich/orchestrate/mutate with one shared repo + `deploy/
|
||||||
its own restart policy / MemoryMax`.
|
decnet-supervise-batch.service.j2` (Conflicts= the units it replaces). Unit-tested.
|
||||||
|
**Live verification PENDING** — must be a controlled unit *swap* (stop the 4 units,
|
||||||
|
start supervise-batch), never a parallel run: `mutate`/`orchestrate` are stateful and
|
||||||
|
double-running mutates deckies / doubles synthetic traffic. Measure RSS before/after.
|
||||||
|
Remaining groups (cpu, scapy) and webhook-timeout prerequisite not yet built.
|
||||||
- [ ] **C6 — merge scapy workers.** Optional. `collect`/`probe`/`sniffer` share the 76 MB
|
- [ ] **C6 — merge scapy workers.** Optional. `collect`/`probe`/`sniffer` share the 76 MB
|
||||||
scapy import once instead of 3×.
|
scapy import once instead of 3×.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user