Add sandboxed code execution capability (currently none exists)
Maintainer antworten meist innerhalb von 1 Tag
@devarshishimpi arbeitet bereits daran.
Seit 04.7.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 125
- Forks
- 23
- Ø Merge
- 2 T. 13 Std.
- Gemergte PRs (30 T.)
- 12
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus devarshishimpi/codra
-
bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
devarshishimpi/codra#178 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
devarshishimpi/codra#176 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
devarshishimpi/codra#186 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
devarshishimpi/codra#185 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 58/100
devarshishimpi/codra#184 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in devarshishimpi/codra
Ähnliche Issues
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 83/100
gofish-graphics/gofish-graphics#1384 ·
Maintainer antworten meist innerhalb von 1 Tag
-
adapter bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
Olanetsoft/agent-lookout#353 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
vicharanashala/vibe#1542 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug chore P2 size:XS
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
josephfung/curia#2666 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: batch
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
inabagumi/shinju-date#7294 ·
Maintainer antworten meist innerhalb von 1 Tag