feat: Sandbox-Limits in config.toml und Image cb-python

Speicher-, CPU- und Runtime-Angabe in config.toml, Standard podman, 2g, 2.
Containerfile für cb-python (Python 3.12, pytest). Echter Sandbox-Test
mit cb-python:latest grün.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-06 19:15:04 +01:00
parent e7e0ad558d
commit 173be01279
4 changed files with 51 additions and 7 deletions

View File

@ -31,8 +31,9 @@ pub fn run() {
.path()
.app_data_dir()
.map_err(|e| format!("Datenordner nicht ermittelbar: {e}"))?;
let paths = config::load_or_create(&config_dir, &default_data_dir)?;
let (paths, cfg) = config::load_or_create(&config_dir, &default_data_dir)?;
app.manage(AppPaths(paths));
app.manage(cfg);
Ok(())
})
.invoke_handler(tauri::generate_handler![get_paths, load_tasks])