[fix]:[FL-48][it looks like wine32 is missing]

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
chengkai3
2026-06-08 22:16:02 +08:00
parent de63459173
commit 23980a3cf3
7 changed files with 146 additions and 26 deletions
+2 -1
View File
@@ -242,7 +242,8 @@
- `WINE_DEFAULT_TIMEOUT_SECONDS` / `WINE_MAX_TIMEOUT_SECONDS`:默认与最大执行超时。
- 后端执行必须使用 `asyncio.create_subprocess_exec` 参数数组,不走 shell;EXE 路径与工作目录必须限制在 `WINE_ALLOWED_ROOT` 下。
- 实时日志通过 `StreamingResponse` + SSE 事件输出;前端使用 `fetchWithAuth` 读取 `ReadableStream`,避免原生 `EventSource` 无法携带现有 Bearer Token 的鉴权问题。
- `api/Dockerfile` 构建出的共享后端镜像已内置 `wine``api/celery-worker/celery-beat/flower` 当前都复用该镜像,若需切换二进制仍可通过 `WINE_BINARY_PATH` 覆盖。
- `api/Dockerfile` 构建出的共享后端镜像已内置 `wine + wine32:i386``api/celery-worker/celery-beat/flower` 当前都复用该镜像,若需切换二进制仍可通过 `WINE_BINARY_PATH` 覆盖。
- Wine / ATP 的状态探测口径中,若 `wine --version` 输出包含 `wine32 is missing`,必须标记为不可用,避免前端把半可用环境误显示为“可用”。
## 前端菜单交互口径(2026-04-19