Skip to content

feat: Add Ruby and PHP support to sandbox #30

Description

@itigges22

Description

Add Ruby and PHP execution support to the sandbox service. These are common web development languages that would make ATLAS useful for a wider range of projects.

Requirements

  • Add Ruby execution (syntax check + run)
  • Add PHP execution (lint + run)
  • Add language detection and aliases in sandbox/executor_server.py
  • Install Ruby and PHP runtimes in sandbox Dockerfile
  • Add tests for both languages
  • Update docs

Context

Same pattern as existing language support in sandbox/executor_server.py. Ruby and PHP don't need a separate compilation step — just syntax checking and execution.

Activity

  1. itigges22 commented on May 12, 2026

    @itigges22
    CollaboratorAuthor

    Status — partially infrastructurally ready, not implemented. Same situation as #29: the PC-191/192/193 sandbox restructure made the executor language-agnostic in layout detection, but Ruby and PHP aren't in the executor's supported-language gate yet (sandbox/executor_server.py is still Python/JS/TS/Go/Rust/C/C++/Bash) and the runtimes aren't installed in the sandbox image.

  2. Anuj-72 commented on Jul 14, 2026

    @Anuj-72
    Contributor

    Hi! I recently added Java and Kotlin sandbox (#29) support using this same pattern in executor_server.py.

    Happy to pick up Ruby and PHP here — will follow the same structure:

    • Language detection + aliases in executor_server.py
    • Runtime install in sandbox Dockerfile
    • Syntax-check + run flow (no compile step, as noted)
    • Containerized smoke test — CI host won't have Ruby/PHP toolchains, so test runs inside sandbox image not on host
    • Tests + docs update

    Will open a PR once ready. Let me know if this works!

  3. itigges22 commented on Jul 14, 2026

    @itigges22
    CollaboratorAuthor

    LGTM 👌👍

  4. itigges22 commented on Jul 15, 2026

    @itigges22
    CollaboratorAuthor

    Ruby and PHP sandbox support landed in #141 (merge commit 36d3464) — execution, syntax-check, /languages registration, containerized CI smoke tests, and docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions