trustgraph/trustgraph-flow/trustgraph
cybermaggedon c20e6540ec
Subscriber resilience and RabbitMQ fixes (#765)
Subscriber resilience: recreate consumer after connection failure

- Move consumer creation from Subscriber.start() into the run() loop,
  matching the pattern used by Consumer. If the connection drops and the
  consumer is closed in the finally block, the loop now recreates it on
  the next iteration instead of spinning forever on a None consumer.

Consumer thread safety:
- Dedicated ThreadPoolExecutor per consumer so all pika operations
  (create, receive, acknowledge, negative_acknowledge) run on the
  same thread — pika BlockingConnection is not thread-safe
- Applies to both Consumer and Subscriber classes

Config handler type audit — fix four mismatched type registrations:
- librarian: was ["librarian"] (non-existent type), now ["flow",
  "active-flow"] (matches config["flow"] that the handler reads)
- cores/service: was ["kg-core"], now ["flow"] (reads
  config["flow"])
- metering/counter: was ["token-costs"], now ["token-cost"]
  (singular)
- agent/mcp_tool: was ["mcp-tool"], now ["mcp"] (reads
  config["mcp"])

Update tests
2026-04-07 14:51:14 +01:00
..
agent Subscriber resilience and RabbitMQ fixes (#765) 2026-04-07 14:51:14 +01:00
chunking RabbitMQ pub/sub backend with topic exchange architecture (#752) 2026-04-02 12:47:16 +01:00
config/service Config push notify pattern: replace stateful pub/sub with signal+ fetch (#760) 2026-04-06 16:57:27 +01:00
cores Subscriber resilience and RabbitMQ fixes (#765) 2026-04-07 14:51:14 +01:00
decoding RabbitMQ pub/sub backend with topic exchange architecture (#752) 2026-04-02 12:47:16 +01:00
direct Fix Cassandra schema and graph filter semantics (#680) 2026-03-10 12:52:51 +00:00
embeddings Config push notify pattern: replace stateful pub/sub with signal+ fetch (#760) 2026-04-06 16:57:27 +01:00
external Implement logging strategy (#444) 2025-07-30 23:18:38 +01:00
extract Config push notify pattern: replace stateful pub/sub with signal+ fetch (#760) 2026-04-06 16:57:27 +01:00
gateway Fix agent config handler registration, remove debug prints, disable RabbitMQ heartbeats (#764) 2026-04-07 12:11:12 +01:00
librarian Subscriber resilience and RabbitMQ fixes (#765) 2026-04-07 14:51:14 +01:00
metering Subscriber resilience and RabbitMQ fixes (#765) 2026-04-07 14:51:14 +01:00
model Feat: Auto-pull missing Ollama models (#757) 2026-04-06 11:10:53 +01:00
processing Fix/startup failure (#445) 2025-07-30 23:42:11 +01:00
prompt Config push notify pattern: replace stateful pub/sub with signal+ fetch (#760) 2026-04-06 16:57:27 +01:00
query Config push notify pattern: replace stateful pub/sub with signal+ fetch (#760) 2026-04-06 16:57:27 +01:00
retrieval Deliver explainability triples inline in retrieval response stream (#763) 2026-04-07 12:19:05 +01:00
rev_gateway Messaging fabric plugins (#592) 2025-12-17 21:40:43 +00:00
storage Config push notify pattern: replace stateful pub/sub with signal+ fetch (#760) 2026-04-06 16:57:27 +01:00
tables The id field in pipeline Metadata was being overwritten at each processing (#686) 2026-03-11 12:16:39 +00:00
template Feature/prompts jsonl (#619) 2026-01-26 17:38:00 +00:00
tool_service Tool services - dynamically pluggable tool implementations for agent frameworks (#658) 2026-03-04 14:51:32 +00:00
__init__.py Feature/pkgsplit (#83) 2024-09-30 19:36:09 +01:00