Skip to content

hosted chat sandbox has no package manager or build tools, and operators cannot add any #2940

Backlog

Description

@AbirAbbas

What is wrong

A hosted chat's sandbox has python3, git, curl and openssh-client, and nothing else a project usually needs to run its own tests: no pip, pytest, go, node, make or gcc. A chat's user is not root, so the chat cannot install them either. Seen in a production-style run on the hosted org line: a chat was asked to run a Python project's tests and could not, because there was no way to get pytest or any third-party dependency into the sandbox.

Today an operator has no setting that changes this. The tools come from the sessionhost image, and the only way to add one is to build a different image.

This is documented as a known limit (docs/organizations.md, "Known limits", and the operator README); this issue is for removing the limit.

What to do

Pick one, or both:

  • A way for operators to extend the image. For example a documented FROM line for the sessionhost image plus the one directory the sandbox fence must allow for added tools, or a supported build argument listing extra packages. The operator keeps control of what is installed; the default stays small.
  • A fuller default. A second, larger image tag (pip, a C toolchain, make, Node and Go) that an operator can choose with one variable, so "my team's chats can run tests" is a setting and not a fork.

Whichever is picked has to keep the fence as it is: tools live in a read-only location the chat can execute but not write, and the chat still cannot reach another chat's files or any token.

Acceptance

In a hosted chat on the compose stack with the chosen setting applied, the chat runs pytest on a small project that imports one third-party package, and the run passes. The manual page for hosted chats names the setting and the default's contents, and the "no pip, pytest, go, node, make or gcc" limit is removed from the docs in the same change.

On the org/main feature line (#2903).

Activity

  1. added
    feature
    area:session
    needs grooming
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:sessionfeatureneeds grooming

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions