Skip to content

Migrate harbor_agent_general off Ray #6436

Open

Description

@linear-code

responses_api_agents/harbor_agent_general declares ray_enabled = True, in app.py and again in skillsbench_app.py.

How it uses Ray: each Harbor job runs in a Ray task (harbor_job_worker in app.py, scheduling_strategy="SPREAD", runtime_env={"py_executable": sys.executable}). Jobs are stopped with ray.cancel(..., force=True).

Proposed replacement: the same as harbor_agent. Run Harbor jobs with bounded async concurrency, with task environments provided through the Sandbox API. Cancellation then becomes stopping the sandbox.

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