Skip to content

Migrate mini_swe_agent off Ray #6437

Open

Description

@linear-code

responses_api_agents/mini_swe_agent declares ray_enabled = True in app.py.

How it uses Ray: the SWE-Gym /run pipeline runs each instance in a Ray task (runner_ray_remote in app.py, scheduling_strategy="SPREAD"). It waits with asyncio.to_thread(ray.get, future).

Already without Ray: agent sessions run mini-SWE in the task sandbox through sessions_app.py (#5654), started by configs/mini_swe_agent_sandboxed.yaml. That entrypoint does not use Ray and refuses /run.

Proposed replacement: move the remaining /run users to the sandboxed session path, then retire the Ray /run pipeline.

Done when: the server no longer declares ray_enabled = True on main. Alternatively, its README documents which distributed-systems requirement Ray satisfies and why a sandbox, bounded local concurrency or a persistent endpoint is not enough. Tracked in the checklist on #3669.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions