AppImage freezes when opening any workspace on Linux, while local --no-bundle build works correctly

未關閉
#544 2 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
38/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
git, linux, tauri, typescript

研究方向

Reproduce the freeze by launching the AppImage with fresh XDG_CONFIG_HOME and XDG_DATA_HOME directories, then compare it with the npm run tauri -- build --no-bundle binary. Investigate differences in the bundled AppImage runtime and workspace-opening entry path. Done means opening an empty or existing workspace without freezing on the reported Linux setup.

由索引模型根據 Issue 內容生成。

描述

Description

Codex Monitor AppImage launches successfully, but freezes as soon as I open a project/workspace.

This reproduces even with:

  • a brand new empty git repository
  • a completely fresh config/data directory
  • X11 backend forced
  • WebKit DMA-BUF renderer disabled

However, a local source build works correctly on the same machine and in the same environment.

Environment
  • OS: CachyOS / Linux
  • WM/Compositor: niri
  • GPU: NVIDIA GeForce RTX 4070
  • Install type affected: AppImage
Reproduction
  1. Launch Codex Monitor AppImage
  2. Add/open any workspace
  3. UI freezes immediately after opening the project

Also reproduces with a fresh state:
mkdir -p /tmp/cm-test-config /tmp/cm-test-data
env XDG_CONFIG_HOME=/tmp/cm-test-config
XDG_DATA_HOME=/tmp/cm-test-data
./Codex.Monitor_*.AppImage

Also reproduces with:
env GDK_BACKEND=x11 WEBKIT_DISABLE_DMABUF_RENDERER=1 ./Codex.Monitor_*.AppImage

Also reproduces with a brand new repo:
mkdir -p /tmp/cm-empty-test
cd /tmp/cm-empty-test
git init

codex app-server itself does not immediately crash when run manually in that repo.

What works

A local build from source works correctly on the same system:

export RUSTUP_TOOLCHAIN=stable
export LIBSSH2_SYS_USE_PKG_CONFIG=1
cd CodexMonitor
npm ci
npm run tauri -- build --no-bundle

The binary produced this way does not freeze when opening projects/workspaces.

Expected behavior

Opening a workspace should not freeze the UI.

Notes

This appears to be specific to the AppImage build or its bundled runtime/environment, rather than a general Codex Monitor logic failure, because:

  • it reproduces with a completely fresh config/data directory
  • it reproduces with an empty repo
  • it still reproduces with X11 forced and DMA-BUF disabled
  • a local --no-bundle build works correctly on the same machine
主要語言
TypeScript
星號
4.4k
分支
418
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

Dimillian/CodexMonitor 的其他 Issue

查看 Dimillian/CodexMonitor 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。