Terminal Phase 1 [Windows]: own ConPTY layer in atlas-host with bundled OpenConsole
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read discussion #237 and the Phase 0 probe first, then the existing Windows path that portable-pty replaces before touching crates/atlas-host/src/pty/conpty.rs. The work spans loader flags, IOCP-backed overlapped pipes, close ordering, installer bundling and a self-test fallback ladder, so start by reproducing the Phase 0 matrix measurements on a Win10 1809 box. Done means no throughput regression, byte-exact DCS/sixel/kitty output, and no hangs on resize, mouse or close.
索引モデルが issue の本文から書いたものです。
説明
Part of the native GPU terminal roadmap. Design and evidence: discussion #237. Uses the Phase 0 probe.
Why
Win10 never gets ConPTY fixes (microsoft/terminal discussion #17608); only the redistributable Microsoft.Windows.Console.ConPTY (MIT, 17763+) brings the #17510 passthrough (DCS, sixel, kitty APC, ordered sync output, mouse). portable-pty 0.9 and alacritty_terminal load conpty.dll by bare name (DLL planting), have no overlapped pipes, no ReleasePseudoConsole, and cannot set GLYPH_WIDTH_GRAPHEMES.
Change
crates/atlas-host/src/pty/conpty.rsoverwindows-sys, replacingportable-ptyon Windows only.LoadLibraryExW(<exe dir>\\conpty.dll, LOAD_LIBRARY_SEARCH_APPLICATION_DIR); resolveConptyCreate/Resize/Close/ReleasePseudoConsole; kernel32 fallback.- Flags:
GLYPH_WIDTH_GRAPHEMES, neverINHERIT_CURSOR.Releaseright afterCreateProcess. - Output: overlapped named pipe, one IOCP reader for all PTYs in hostd. Input stays synchronous until overlapped input is proven on 1809.
- Close order: drop writer →
Closeoff the reader thread → drain to EOF → join (close blocks before Win11 24H2). - Ship a pinned stable pair (x64 + arm64) in the NSIS installer with licence notices; deliberate updates.
- First-use self-test (10 MB burst + DSR) picks bundled vs inbox per machine; setting
terminal.conpty = auto | bundled | system. - Fallback ladder: bundled → inbox → xterm.js.
Done when
On the Phase 0 matrix: no throughput regression vs inbox; DCS/sixel/kitty bytes byte-exact; resize, mouse and close without hangs; regression tests on real ptys.
- 主要言語
- Rust
- スター
- 3
- フォーク
- 1
- 平均マージ
- 9時間 51分
- マージ済み PR(30日)
- 310
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codeatlasdev/atlas のほかの issue
-
type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
codeatlasdev/atlas#597 ·
メンテナーはふだん 1 日以内に返信
-
area: ci os: linux type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
codeatlasdev/atlas#496 ·
メンテナーはふだん 1 日以内に返信
-
area: ci type: bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
codeatlasdev/atlas#596 ·
メンテナーはふだん 1 日以内に返信
-
os: linux type: bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
codeatlasdev/atlas#591 ·
メンテナーはふだん 1 日以内に返信
-
flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)オープンarea: ci os: windows type: bug
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
codeatlasdev/atlas#550 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
codeatlasdev/atlas の issue をすべて見る
似ている issue
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
kinqsradio/orbyn-engineering#729 ·
-
Plans page scenario races Shift+Tab against the plan list being drawn again in Firefox and WebKitオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
nledford/Ladderback#1091 ·
メンテナーはふだん 1 日以内に返信
-
bug fix packaging ui user-sprint
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Vondor/KassenSturz#1197 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信