Skip to content

Deprecate duplicated code in WebSocket and HTTP servers #60

Closed as not planned

Description

@himanshu748

Based on feedback from PR #49, the duplicated code in server/app.py and server-https/app.py will be deprecated in the future. The current code duplication is intentional to ensure appropriate deployment and ease of switching between socket and HTTP servers.

This issue is to track the future cleanup and deprecation of the current architecture once a unified or improved approach is adopted.

Context:

Activity

  1. himanshu748 commented on Feb 27, 2026

    @himanshu748
    Author

    Implementation Progress Update

    I've opened a set of focused PRs that implement the core GSoC deliverables discussed in #59. All PRs are stacked on #49 (shared module extraction) and are independently reviewable.

    PR Stack

    PR Scope Lines
    #49 Base: Extract shared RAG module from duplicated server code (open, ready for review)
    #66 Milvus connection pooling + encoder singleton + 34 unit tests + GitHub Actions CI +709
    #67 API key auth middleware for WebSocket & HTTPS servers (opt-in via API_KEY env var) +166
    #68 Agentic RAG router — LangGraph StateGraph with classify → retrieve → evaluate → re_retrieve/synthesize +469
    #69 Retrieval evaluation framework — 35 golden queries, Recall@k / Precision@k / MRR metrics, CLI with dry-run +556
    #70 Platform architecture ingestion pipeline — KFP pipeline using Milvus partitions (not drop+recreate) +404
    #71 Terraform OCI/OKE scaffolding — 4 sub-modules (OKE, Milvus, KServe, docs-agent) +861

    How these map to GSoC deliverables

    Merge order

    #49 → #66 → remaining PRs (independent of each other).

    Happy to adjust any of these based on maintainer feedback. Would appreciate a review on #49 first to unblock the rest.

  2. chasecadet commented on Nov 20, 2026

    @chasecadet
    Contributor

    Thank you for reporting this!

    We are closing pre-restructure issues targeting the legacy server/, server-https/, manifests/, kagent-feast-mcp/, or in-process SentenceTransformer prototype code. In #207, #210, #233, #240, and #249, kubeflow/docs-agent migrated to dedicated TEI (text-embeddings-inference), FastMCP (docs-agent-mcp/mcp-server/), shared modular KFP pipelines (docs-agent-mcp/pipelines/), and Helm charts (docs-agent-mcp/charts/).

    If you still observe an equivalent issue on the current main stack, please feel free to open a new issue using the current issue templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions