Skip to content

feat(extraction): streaming chat turn service and NDJSON endpoint#744

Merged
aredenba-rh merged 1 commit into
feature/manage-knowledge-graphfrom
feat/extraction-chat-turn-backend
May 29, 2026
Merged

feat(extraction): streaming chat turn service and NDJSON endpoint#744
aredenba-rh merged 1 commit into
feature/manage-knowledge-graphfrom
feat/extraction-chat-turn-backend

Conversation

@aredenba-rh
Copy link
Copy Markdown
Collaborator

Summary

  • Add ExtractionChatTurnService with sticky runtime lease, JobPackage readiness gate, and UI-mode skill overlays
  • Expose POST /extraction/knowledge-graphs/{kgId}/sessions/{mode}/chat as NDJSON (thinking, wait, done)
  • Ship tracer-bullet DeterministicExtractionChatAgent until Claude SDK sticky containers land (feat(extraction): Claude Agent SDK sticky container runtime #742)

Issues

Closes #739
Closes #740

Test plan

  • cd src/api && uv run pytest tests/unit/extraction/ -v
  • Manual: POST chat turn with prepared/unprepared data sources in Extraction Jobs mode

Made with Cursor

Introduce sticky-session-aware chat orchestration with JobPackage gating,
UI-mode skill overlays, and a tracer-bullet deterministic agent. Closes #739.
Closes #740.

Co-authored-by: Cursor <cursoragent@cursor.com>
@aredenba-rh aredenba-rh merged commit 95cb9ad into feature/manage-knowledge-graph May 29, 2026
1 check was pending
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 29, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 96e1f43b-1cd0-4e18-8ca0-a49e8aedbcb4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/extraction-chat-turn-backend

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant