Add sandboxed code execution capability (currently none exists)
Maintainer thường phản hồi trong vòng 1 ngày
@devarshishimpi đang làm issue này rồi.
Từ ngày 4/7/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Is your feature request related to a problem?
Codra has no way to actually execute code, it only reads diffs and sends them to an LLM. There's no sandboxing, isolation, or subprocess execution anywhere in the codebase today. This blocks any future feature that needs to run something (lint/test verification, validating AI-suggested fixes, etc.).
Describe the solution you'd like
Add a pluggable execution provider that can run untrusted commands in a real sandbox, designed to stay free by default:
- Default: delegate to GitHub Actions on the target repo (already installed via the GitHub App), real isolated execution on GitHub's free runner minutes, zero added cost to Codra's own infra.
- Optional: in-Worker WASM sandbox for trivial, dependency-free scripts, staying entirely inside the free Cloudflare Workers runtime.
- Leave room for operators to plug in a paid sandbox (Cloudflare Containers, E2B, etc.) if they want one, but never require it by default.
Architectural constraints
- Codra runs entirely on Cloudflare Workers (V8 isolates), which have no subprocess/filesystem/shell APIs, execution can't happen in-process and must be delegated somewhere.
- The natural "real" sandbox option, Cloudflare Containers/Sandbox SDK, requires a paid Workers plan, which conflicts with keeping a self-hosted Codra instance free.
- Any execution surface must treat the command/input as untrusted, the sandbox boundary itself needs to be the actual security guarantee, not operator trust.
- Ngôn ngữ chính
- TypeScript
- Star
- 125
- Fork
- 23
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của devarshishimpi/codra
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
devarshishimpi/codra#178 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
devarshishimpi/codra#176 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
devarshishimpi/codra#186 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
devarshishimpi/codra#185 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
devarshishimpi/codra#184 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của devarshishimpi/codra
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 83/100
gofish-graphics/gofish-graphics#1384 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
adapter bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Olanetsoft/agent-lookout#353 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
vicharanashala/vibe#1542 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug chore P2 size:XS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
josephfung/curia#2666 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: batch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
inabagumi/shinju-date#7294 ·
Maintainer thường phản hồi trong vòng 1 ngày