v0.5.2 Release Notes
Released
v0.5.1 -> v0.5.2
Summary
Replaced per-execution resource limits with centralized systemd slice management and removed Podman container dependencies, transitioning to a pure bubblewrap sandbox architecture.
翻譯
以集中式 systemd slice 取代逐次執行的資源限制設定,並移除 Podman 容器依賴,轉換為純 bubblewrap 沙箱架構。Changes
REFACTOR
- Replace per-process systemd-run resource properties with shared
go-faas-sliceunit for centralized CPU/memory limits - Remove commented-out container pool initialization code in main.go
- Remove utils import from command.go (no longer needed for inline resource config)
翻譯
- 以共用的
go-faas-slice單元取代逐次執行的 systemd-run 資源屬性,集中管理 CPU/記憶體限制 - 移除 main.go 中已註解的容器池初始化程式碼
- 移除 command.go 中的 utils import(不再需要內聯資源配置)
ADD
- Add
internal/sandbox/slice.goto create and manage systemd user slice with configurable CPU/memory limits
翻譯
- 新增
internal/sandbox/slice.go建立並管理具有可配置 CPU/記憶體限制的 systemd user slice
REMOVE
- Delete
Dockerfile.runtime(standard runtime container) - Delete
Dockerfile.runtime.gpu(CUDA-enabled runtime container)
翻譯
- 刪除
Dockerfile.runtime(標準執行環境容器) - 刪除
Dockerfile.runtime.gpu(CUDA 執行環境容器)
UPDATE
- Simplify
.env.exampleby removing container-specific variables (MAX_CONTAINERS, GPU_ENABLED, etc.)
翻譯
- 簡化
.env.example,移除容器相關變數(MAX_CONTAINERS、GPU_ENABLED 等)
Files Changed
| File | Status | Tag |
|---|---|---|
.env.example |
Modified | UPDATE |
Dockerfile.runtime |
Deleted | REMOVE |
Dockerfile.runtime.gpu |
Deleted | REMOVE |
README.md |
Modified | DOC |
README.zh.md |
Modified | DOC |
cmd/api/main.go |
Modified | REFACTOR |
internal/sandbox/command.go |
Modified | REFACTOR |
internal/sandbox/slice.go |
Added | ADD |
Generated by SKILL