Allow hiding unused or automatically discovered WSL connections in the Codex Desktop App

Đang mở
#64,240 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
desktop

Hướng nghiên cứu

Start by reading the Codex Desktop App connection manager code that discovers and displays WSL distributions; the issue does not name the relevant files or tests. Decide how hide and restore controls and persistent visibility preferences fit the existing connection settings, while keeping the underlying WSL distribution unchanged. Done means users can hide and restore an automatically discovered WSL connection and its visibility choice persists across restarts.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

app enhancement remote windows-os
What variant of Codex are you using?

Codex Desktop App on Windows 11 (with WSL2 and SSH remote connections)

What feature would you like to see?

Current behavior

The Codex Desktop App automatically discovers installed WSL distributions and displays them in the WSL connections tab.

While these connections can be disabled, there is currently no visible option to hide or remove an automatically discovered WSL connection from the connection manager without affecting the underlying WSL installation.

Use case

I use Codex across multiple development and server environments, including:

  • A local WSL2 development environment accessed exclusively through SSH.
  • A remote production server.
  • A dedicated backup server with separate user connections.

All these environments are configured as individually named SSH connections.

Since my local WSL environment is intentionally accessed through SSH, the automatically discovered native WSL connection is redundant in my workflow. Even when disabled, it remains visible in the connection manager.

Proposed solution

Please consider adding the following options:

  • Hide connection: Allow individual automatically discovered WSL connections to be hidden.
  • Show hidden connections: Provide a way to view and restore previously hidden connections.
  • Disable automatic WSL discovery (optional): Allow users who exclusively rely on SSH connections to disable automatic WSL discovery entirely.
  • Persistent preferences: Preserve these visibility settings across application restarts and updates.

Hiding a WSL connection should only affect its visibility within the Codex Desktop App. It must not unregister, uninstall, modify, or otherwise affect the underlying WSL distribution.

Why this would be useful

  • Reduces unnecessary clutter in the connection manager.
  • Prevents accidental selection of the wrong execution environment.
  • Provides a clearer separation between native WSL and SSH-based workflows.
  • Improves usability for developers managing multiple local and remote environments.

Gives users more control over how their development infrastructure is represented within Codex.

When the same environment can be accessed through multiple connection methods, users should be able to decide which connections are relevant to their workflow.

This would be a small quality-of-life improvement with meaningful benefits for developers working across multiple environments.

Environment

  • Operating system: Windows 11
  • Local development environment: Ubuntu on WSL2
  • Remote access: SSH
  • Codex variant: Desktop App

Currentc onfiguration

All configured SSH connections are working correctly. The native WSL connection is disabled, and no projects are assigned to it.

The automatically discovered WSL connection nevertheless remains visible in the WSL connections tab.

The connection's context menu currently only provides a Settings option, which displays the distribution name. No hide or remove option is available.

This is not a connectivity issue or a request to remove WSL support. It is purely a request for better connection management, improved usability, and more control over the user interface.

Thank you for your continued work on Codex and its remote development capabilities!

Additional information

No response

Ngôn ngữ chính
Rust
Star
136k
Fork
21.6k
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
997

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openai/codex

Tất cả issue của openai/codex

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.