Terminal Phase 1 [Windows]: own ConPTY layer in atlas-host with bundled OpenConsole
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 10/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Rust
- Étoiles
- 3
- Forks
- 1
- Merge moyen
- 9 h 51 min
- PR mergées (30 j)
- 310
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de codeatlasdev/atlas
-
type: bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
codeatlasdev/atlas#597 ·
Les mainteneurs répondent en général sous 1 jour
-
area: ci os: linux type: bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
codeatlasdev/atlas#496 ·
Les mainteneurs répondent en général sous 1 jour
-
area: ci type: bug
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
codeatlasdev/atlas#596 ·
Les mainteneurs répondent en général sous 1 jour
-
os: linux type: bug
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
codeatlasdev/atlas#591 ·
Les mainteneurs répondent en général sous 1 jour
-
flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)Ouvertearea: ci os: windows type: bug
Difficulté 3/5 1-2 jours Accessibilité débutants 56/100
codeatlasdev/atlas#550 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de codeatlasdev/atlas
Issues similaires
-
marketing
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
kinqsradio/orbyn-engineering#729 ·
-
Plans page scenario races Shift+Tab against the plan list being drawn again in Firefox and WebKitOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
nledford/Ladderback#1091 ·
Les mainteneurs répondent en général sous 1 jour
-
bug fix packaging ui user-sprint
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Vondor/KassenSturz#1197 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour