Skip to content

feat: add conversation streams and expire inactive messages - #40

Merged
qiankunli merged 3 commits into
mainfrom
feat/message-stream-expiry
Sep 6, 2026
Merged

feat: add conversation streams and expire inactive messages#40
qiankunli merged 3 commits into
mainfrom
feat/message-stream-expiry

Conversation

@qiankunli

Copy link
Copy Markdown
Contributor
  • Add GET /v1/conversations/:conversation_id/stream in the existing conversation API module.
  • Discover new messages incrementally and watch only streaming output and pending Human interactions; keep terminal history out of repeated reads.
  • Subscribe user and operator conversations independently and acknowledge input submission without replacing page subscriptions.
  • Share MESSAGE_TTL between Redis retention and SQL inactivity expiry; preserve content and reject late output after expiry.
  • Update page delivery and persistence documentation.

Validation: affected Go packages passed; API, delivery and repo race tests passed; 39 frontend tests, typecheck and production build passed; Helm lint and git diff --check passed.

No development database changes or deployment performed.

- Add GET /v1/conversations/:conversation_id/stream in the existing conversation API module.
- Discover new messages incrementally and watch only streaming output and pending Human interactions; keep terminal history out of repeated reads.
- Subscribe user and operator conversations independently and acknowledge input submission without replacing page subscriptions.
- Share MESSAGE_TTL between Redis retention and SQL inactivity expiry; preserve content and reject late output after expiry.
- Update page delivery and persistence documentation.

Validation: affected Go packages passed; API, delivery and repo race tests passed; 39 frontend tests, typecheck and production build passed; Helm lint and git diff --check passed.

No development database changes or deployment performed.
@qiankunli
qiankunli merged commit 492c8e6 into main Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants