feat(ingester): publish system.log per committed batch (DEBT-031 worker 6)

Ingester connects the bus at startup, emits a batch-committed summary
(component/flushed/position) after each successful _flush_batch.  Zero-
row flushes are suppressed so the topic stays meaningful.

Complements the collector's per-line system.log publishes: collector
signals ingress, ingester signals DB-persisted progress.  Federation
forwarder (worker 8) will subscribe to the batch-committed leaf to
trigger its upstream push.

Bus stays optional: publish_safely swallows failures, get_bus() can
return None, DECNET_BUS_ENABLED=false leaves the ingestion loop fully
functional.
This commit is contained in:
2026-04-21 16:58:49 -04:00
parent a448dbe283
commit cbb394a160
3 changed files with 133 additions and 0 deletions

0
tests/web/__init__.py Normal file
View File