trustgraph/ts/packages/flow
elpresidank 5bc7a1b6fc fix: resolve FlowProcessor topic collisions, librarian timeout, tests
Two bugs found during end-to-end testing:

1. FlowProcessor never restarted flows when config changed — it only
   started them once. Stale NATS JetStream data from previous sessions
   caused services to bind to wrong topics. Fix: stop and restart flows
   on every config push that includes flow definitions.

2. Gateway publishToTopic sent messages without an id property. Pipeline
   FlowProcessor handlers check properties.id and silently return if
   missing. Fix: auto-generate a message id when publishing to topics.

Both fixes validated: 13/13 integration tests passing, PDF decoder
correctly receives and processes document messages through the pipeline.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 01:53:55 -05:00
..
src fix: resolve FlowProcessor topic collisions, librarian timeout, tests 2026-04-07 01:53:55 -05:00
package.json feat: add document pipeline — PDF decoder, Ollama LLM, storage services 2026-04-06 23:47:43 -05:00
tsconfig.json init 2026-04-05 22:44:45 -05:00