Skip to content

[codex] refactor HTTP MCP client operation#885

Merged
burtenshaw merged 3 commits into
huggingface:mainfrom
burtenshaw:codex/refactor-http-mcp-client-operation
Jul 1, 2026
Merged

[codex] refactor HTTP MCP client operation#885
burtenshaw merged 3 commits into
huggingface:mainfrom
burtenshaw:codex/refactor-http-mcp-client-operation

Conversation

@burtenshaw

Copy link
Copy Markdown
Collaborator

Refactors repeated MCP client transport handling in HTTPEnvServer into one private helper. No behavior change.

Validation:

  • uv run ruff check src/openenv/core/env_server/http_server.py
  • uv run ruff format --check src/openenv/core/env_server/http_server.py
  • uv run usort check src/openenv/core/env_server/http_server.py
  • PYTHONPATH=src:envs uv run python -m pytest tests/core/test_production_mode_mcp.py tests/core/test_production_mode_routes.py tests/core/test_simulation_mode_preserves_api.py tests/core/test_mcp/test_mcp_integration.py -q
  • PYTHONPATH=src:envs uv run python -m pytest tests/ --ignore=tests/envs/test_browsergym_environment.py --ignore=tests/envs/test_dipg_environment.py --ignore=tests/envs/test_websearch_environment.py --ignore=tests/envs/test_python_codeact_reset.py --ignore=tests/envs/test_python_codeact_rewards.py --ignore=tests/envs/test_textarena_environment.py -m "not integration and not network and not docker" -q

@burtenshaw burtenshaw force-pushed the codex/refactor-http-mcp-client-operation branch from 0444e65 to c538188 Compare June 30, 2026 07:43
@burtenshaw burtenshaw marked this pull request as ready for review July 1, 2026 09:01
@bot-ci-comment

bot-ci-comment Bot commented Jul 1, 2026

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@burtenshaw burtenshaw merged commit eff8ac7 into huggingface:main Jul 1, 2026
7 checks passed
@burtenshaw burtenshaw deleted the codex/refactor-http-mcp-client-operation branch July 1, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant