Skip to content

Conversation

@RoxyFarhad
Copy link
Collaborator

@RoxyFarhad RoxyFarhad commented Oct 15, 2025

⏺ Summary of Changes: Testing Infrastructure for AgentEx Python SDK

Overview

  • Added comprehensive testing infrastructure for AgentEx tutorial agents with CI/CD automation. 61 files changed with
    ~4,984 additions and ~214 deletions.

  • These tests are going to be use for integration tests for the Agentex and agentex-python repositories on merging to main to prevent breaking changes. Right now they are not used anywhere.

    What Was Added

    1. Test Files
    • ✅ Complete tests for all sync tutorials (3) and non-temporal agentic tutorials (7)
    • ⚠️ Placeholder tests for temporal tutorials (8) - contain TODO comments and need implementation
    1. Test Utilities (examples/tutorials/test_utils/)
    • sync.py - Helpers for testing sync agents (response validation, streaming)
    • agentic.py - Helpers for testing agentic agents (event polling, streaming)
    • ⚠️ Need cleanup before open source release - as there is a lot of duplicate logic as I was trying to write this quickly
    1. CI/CD Infrastructure
    • run_all_agentic_tests.sh - Parallel test runner script (385 lines)
    • TEST_RUNNER_README.md - Comprehensive testing documentation
    1. Docker & Dependencies
    • Updated all tutorial Dockerfiles to use pyproject.toml
    • Added pytest and pytest-xdist dependencies
    • Added .dockerignore files for OpenAI SDK tutorials

    Known Gaps

    🚨 Temporal agent tests are incomplete - 8 test files are placeholder stubs with TODO comments that need full
    implementation
    🧹 Test utility functions need cleanup - Remove debug code, generalize Scale-specific logic, and improve
    documentation before open source release

@RoxyFarhad RoxyFarhad force-pushed the adding-workflow branch 14 times, most recently from f9bb238 to d15d696 Compare October 16, 2025 14:16
@RoxyFarhad RoxyFarhad changed the title the tutorial workflow Adding tests for tutorials Oct 22, 2025
@danielmillerp
Copy link
Contributor

high level question, but what is our source of truth for tutorials (I would assume here but just wanna confirm)? Should it be in here or agentex-agents? Or agentex haha?

@jasonyang101
Copy link
Collaborator

high level question, but what is our source of truth for tutorials (I would assume here but just wanna confirm)? Should it be in here or agentex-agents? Or agentex haha?

Here for any public examples

Agentex-agents for any internal examples

@danielmillerp
Copy link
Contributor

danielmillerp commented Oct 22, 2025

high level question, but what is our source of truth for tutorials (I would assume here but just wanna confirm)? Should it be in here or agentex-agents? Or agentex haha?

Here for any public examples

Agentex-agents for any internal examples

gotcha so then when we have repeated stuff (tutorials), this is the source of truth right? let's say someone wants to learn how to do things.

Copy link
Contributor

@danielmillerp danielmillerp left a comment

Choose a reason for hiding this comment

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

this is great work !!

@RoxyFarhad RoxyFarhad merged commit eaea8fe into main Oct 22, 2025
9 of 10 checks passed
@RoxyFarhad RoxyFarhad deleted the adding-workflow branch October 22, 2025 21:22
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.

4 participants