Skip to content

Optimize test_delete_tmp_files by using single Docker executor#7624

Open
Maratik555 wants to merge 2 commits intomicrosoft:mainfrom
Maratik555:fix/optimize-slow-tests
Open

Optimize test_delete_tmp_files by using single Docker executor#7624
Maratik555 wants to merge 2 commits intomicrosoft:mainfrom
Maratik555:fix/optimize-slow-tests

Conversation

@Maratik555
Copy link
Copy Markdown

Summary

Partially addresses #6376

test_delete_tmp_files was creating two DockerCommandLineCodeExecutor instances (one for delete_tmp_files=False, one for delete_tmp_files=True), each requiring a Docker container startup (~10s each).

This PR reduces Docker container creation from 2 to 1 by merging all test scenarios into a single executor with delete_tmp_files=True. The delete_tmp_files=False (default) case is covered implicitly by other tests using the module-scoped executor fixture.

Impact

  • Saves ~10s on test_docker_commandline_code_executor.py runtime
  • Equivalent test coverage preserved

Add a manually curated llms.txt file following the llms.txt standard
(https://llmstxt.org/) that provides a structured index of key
documentation pages for LLM consumption.

Covers AutoGen Studio, AgentChat, Core, Extensions, and API Reference.
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.

1 participant