Repository navigation
Description
Parent tracking issue: #5143
What happened
Desktop shows a WSL incompatibility as “The background service needs a manual update”, offers Cancel / Retry safely and keeps an elapsed timer running although no update is executing. A reported window reached 89:14, with Client epoch 136 and Host epoch 121. The local source TUI similarly reported epoch 133 vs 121.
The copy does not distinguish connection rejection, maintenance waiting and an actual update. It directs users to a WSL management action that is not available. It also assumes the Host should change, although a shared Host can be newer than Desktop. A successfully updated Desktop can still execute through an older compatible Host without the surface clearly conveying which part was updated.
How to reproduce
- Retain a managed WSL/SSH Host whose epoch differs from the connecting client.
- Connect with Desktop (or local TUI against its managed root).
- Observe the operator-required journey and retry guidance without a running update transaction.
- Test the reverse direction too: newer incompatible Host with older client. Do not interpret either direction as downgrade authorization.
The hour-long window is user-reported; it was not independently timed. Source inspection confirms the generic manual-update title and continuing-check copy.
Environment
- WSL Ubuntu / Linux x64 /
6.6.87.2-microsoft-standard-WSL2. - Host
0.2.0-dev-fe229269f0df, epoch 121; later Desktop diagnostic epoch 136, earlier source TUI epoch 133. - Source verified at
f09119884e3e640f1c10755da19a583416aed19f; installed Desktop artifact inspected separately was0.2.0-dev.25.20260908. Do not infer its epoch from the later screenshot text.
Logs, screenshots, or additional context
RUNTIME_HOST_REMOTE_INCOMPATIBLE
Client compatibility epoch 136. Host compatibility epoch 121.
Cancel / Retry safely
Elapsed 89:14
Current copy. Preserve #4958's shared decision model; adapters render facts/actions, not a separate lifecycle policy.
Expected behavior / acceptance
- Show connection compatibility, deployed Host version and client version separately. Product version mismatch alone is not incompatibility; same epoch still requires protocol/composition and any applicable generation checks.
- A deterministic incompatibility is an actionable blocked connection, not an endless progress task. Say no update is running. Use explicit recheck or state-change-driven refresh; an actual maintenance wait remains a different state with meaningful progress and cancellation.
- Close/cancel disconnects this surface only, without stopping/updating the shared Host. Other compatible clients retain service.
- Offer actual supported management/client-update routes. Connect-only SSH credentials do not grant management authority; show the limitation and actionable operator guidance instead of an unusable update button.
- Compatible older Host: continue, but do not claim new Host-side execution features are installed merely because Desktop updated. No need for per-feature negotiation or a new capability protocol.
- Newer compatible Host: connect unchanged. Newer incompatible Host: client-update guidance, never Host downgrade. If product ordering or assessment is unknown, say so; do not derive it from epoch numbers.
- When a user asks for the latest release, show the exact admissible candidate or explain why none exists. Do not silently continue on the old Host while reporting an update success. After maintenance, distinguish Host success from each client's reconnect result.
- Connected idle TUI vs active work vs unknown state are distinct. Report known target compatibility and assessment limits; never promise offline or unassessed clients will reconnect.
- Source Desktop/TUI: actionable diagnostics and explicit developer artifact selection are sufficient; full release parity/convenience is not required. No silent fallback to a bundled old TUI, PATH override or new matching-TUI launcher.
- Cover both version directions, same-epoch compatible skew, missing management access, unavailable matching artifact, cancel/recheck, and Host-update-success/client-reconnect-failure.
简体中文
确定的不兼容不是正在升级,不应以持续计时和安全重试制造“系统正在处理”的错觉。分别显示客户端版本、Host 实际版本和兼容状态;关闭只取消连接。Host 较新时不能引导降级,兼容就直接用,不兼容优先处理客户端。用户选择最新版本时,要清楚说明候选版本、维护阻塞和最终结果,不能静默继续旧 Host 却显示已更新。
保留源码开发便利,不要求源码跟发布频道同步,不增加配套 TUI 启动器。无管理权限的 SSH 客户端不能因连接失败而获得更新权限。89:14 为用户报告,不能写成已独立复现的计时结果。
AI disclosure: OpenAI Codex investigated and drafted/submitted this issue at the user's explicit request.
Activity
me2seeks commentedon Sep 10, 2026
Consolidated into #5143 following the review feedback accepted by the reporting user. The necessary WSL control-route, source-operator retirement and blocker-UI work is now one end-to-end issue. Closing this split as not planned independently, not as implemented or fixed.
已按用户接受的审查建议合并回 #5143。必要的 WSL 管理调用、旧 operator 退场和界面行为一起验收;本 issue 不再独立推进,关闭不表示已经修复。
AI disclosure: OpenAI Codex posted this consolidation notice at the user's explicit direction.