Skip to content

fix(python): make LangGraph sample entry points importable - #2831

Closed
tryambak2019 wants to merge 1 commit into
kagent-dev:mainfrom
tryambak2019:fix/2689-langgraph-sample-entrypoints
Closed

tryambak2019 wants to merge 1 commit into
kagent-dev:mainfrom
tryambak2019:fix/2689-langgraph-sample-entrypoints

Conversation

@tryambak2019

Copy link
Copy Markdown
Contributor

Summary

Restore the published HITL tools and kebab LangGraph sample entry points and validate their limited startup paths.

Implemented

  • Use package-relative graph imports in both console CLIs.
  • Extract build_app() functions so startup tests use the same ASGI construction path.
  • Run both containers through their installed console entry points.
  • Add CI coverage that mocks Uvicorn and verifies GET /health for each sample.

Validation

  • OPENAI_API_KEY=fake make -C python test: 553 passed, 1 skipped.
  • uv lock --check, Ruff lint, and Ruff format checks passed.
  • HITL tools and kebab images build successfully.

#2689 Series

Related to #2689. This PR does not close it.

@tryambak2019

Copy link
Copy Markdown
Contributor Author

Superseded by #2887, which consolidates the requested Python startup and documentation changes for review.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant