Skip to content

Implement Makefile for Development Automation #14

Closed as not planned
Closed as not planned

Description

@haroon0x

Issue: Implement Makefile for Development Automation

Problem Description

Following the standard patterns found in core Kubeflow repositories like pipelines and trainer, the docs-agent repository currently lacks a centralized automation tool for common development tasks.

Developers have to manually run various commands for:

  • Building Docker images for the server.
  • Compiling Kubeflow Pipelines.
  • Running unit and E2E tests.
  • Linting and formatting code.

This lack of automation increases the barrier for new contributors and leads to inconsistent development workflows.

Proposed Solution

Implement a root-level Makefile that provides a standardized interface for common tasks.

Target Commands to Implement:

  • make build: Builds both the server and server-https Docker images.
  • make compile: Compiles the pipelines/kubeflow-pipeline.py into a .yaml file.
  • make test: Runs all tests (using pytest once standardized).
  • make lint: Runs code quality checks (flake8, black, etc.).
  • make clean: Removes temporary build artifacts and __pycache__ files.

Checklist

  • Create a Makefile in the repository root.
  • Implement build target for Docker images.
  • Implement compile target for KFP components.
  • Implement test and lint placeholders or targets.
  • Document the use of make in the README.md development section.

Activity

  1. Bikram-ghuku commented on Feb 3, 2026

    @Bikram-ghuku

    Hi is this issue avaiable for taking up?

  2. haroon0x commented on Feb 3, 2026

    @haroon0x
    ContributorAuthor

    @Bikram-ghuku Sure you can start working on it.

  3. MayankJha0333 commented on Feb 7, 2026

    @MayankJha0333
    Contributor

    @haroon0x I have added a few extras: make help for a quick command reference, and separate build/compile targets so you can run only what you need.

  4. ZaidAli3642 commented on Mar 27, 2026

    @ZaidAli3642

    Hi, I've submitted PR #179 that adds a Docker Compose setup for local development which covers some of these goals:

    • Build: docker-compose up --build builds and starts all services (Milvus + API server)
    • Clean: docker-compose down -v stops services and removes data
    • Local ingestion: docker exec docs-agent-api python local_ingest.py replicates the KFP pipeline locally
    • Environment config: .env.example template for all required variables
    • A Makefile could complement this by wrapping the docker-compose commands and adding:

    Compile: Compile KFP pipelines to YAML

    • Test: Run tests via pytest
    • Lint: Code quality checks (flake8, black)

    Happy to discuss how these could work together.

  5. 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