Add sandboxed code execution capability (currently none exists)
I maintainer di solito rispondono entro 1 giorno
@devarshishimpi ci sta già lavorando.
Dal 4/7/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 125
- Fork
- 23
- Merge medio
- 2g 13h
- PR unite (30g)
- 12
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di devarshishimpi/codra
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
devarshishimpi/codra#178 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
devarshishimpi/codra#176 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
devarshishimpi/codra#186 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
devarshishimpi/codra#185 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
devarshishimpi/codra#184 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di devarshishimpi/codra
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 83/100
gofish-graphics/gofish-graphics#1384 ·
I maintainer di solito rispondono entro 1 giorno
-
adapter bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
Olanetsoft/agent-lookout#353 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
vicharanashala/vibe#1542 ·
I maintainer di solito rispondono entro 1 giorno
-
bug chore P2 size:XS
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
josephfung/curia#2666 ·
I maintainer di solito rispondono entro 1 giorno
-
area: batch
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
inabagumi/shinju-date#7294 ·
I maintainer di solito rispondono entro 1 giorno