Linux sandbox for model-written tests (bubblewrap or container recipe)

Aperta
#8 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
54/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, typescript

Direzione di ricerca

Start with SECURITY.md and packages/engine/src/test-runner.ts, especially testSandboxAvailable and inTestSandbox, to understand the current macOS isolation path and Linux behavior. Then add a tested bubblewrap or firejail path, or document and test a container recipe, and add --require-sandbox so execution refuses to proceed without isolation. Done means the selected Linux isolation path and the required-sandbox behavior are covered by tests or a tested recipe.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted

On macOS the engine runs tests and checks in a Seatbelt profile (best effort). On Linux there is no isolation (SECURITY.md). Add a bubblewrap/firejail path in packages/engine/src/test-runner.ts (see testSandboxAvailable, inTestSandbox) with tests, or a documented, tested container recipe, plus a --require-sandbox flag that refuses to run without isolation.

Lingua principale
TypeScript
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apex-context-dev/apex-engine

Tutte le issue di apex-context-dev/apex-engine

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.