Skip to content

Add integration tests for Python SDK#127

Merged
ultmaster merged 10 commits intomainfrom
integration-tests
Aug 21, 2025
Merged

Add integration tests for Python SDK#127
ultmaster merged 10 commits intomainfrom
integration-tests

Conversation

@ultmaster
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings August 21, 2025 13:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds comprehensive integration tests for the Python SDK to verify compatibility with AI observability platforms. The PR removes manual test files and establishes a proper integration testing framework with automated workflows.

  • Implements integration tests for Weave, MLflow, and AgentOps tracing backends
  • Sets up GitHub Actions workflows for daily automated testing across platforms
  • Creates utility modules for verifying traces and API interactions with each platform

Reviewed Changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
python/tests/manual/* Removes manual test files for various integrations
python/tests/integration/* Adds structured integration tests with platform-specific utilities
python/tests/assets/* Provides test data including sample code and POML templates
python/poml/integration/langchain.py Fixes message format handling for LangChain integration
python/poml/api.py Separates return values from trace logging to prevent data corruption
pyproject.toml Adds agent dependency group for integration testing
.github/workflows/test-integration.yml Configures daily automated integration testing
.github/actions/test-integration/action.yml Defines reusable integration test steps

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

)

response = client.chat.completions.create(
model="gpt-4.1-nano", messages=[{"role": "user", "content": "Write a haiku about AI and humans working together"}]
Copy link

Copilot AI Aug 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The model "gpt-4.1-nano" on line 19 does not exist in OpenAI's model catalog. Consider using "gpt-4o-mini" or another valid model name.

Suggested change
model="gpt-4.1-nano", messages=[{"role": "user", "content": "Write a haiku about AI and humans working together"}]
model="gpt-4o-mini", messages=[{"role": "user", "content": "Write a haiku about AI and humans working together"}]

Copilot uses AI. Check for mistakes.
@ultmaster ultmaster enabled auto-merge (squash) August 21, 2025 13:12
@ultmaster ultmaster merged commit d508ab7 into main Aug 21, 2025
7 checks passed
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