Fix Windows/WSL startup and Bash completion stalls#189
Merged
Conversation
…indows/WSL - Move update checking out of REPL render critical path - Defer GPT-5 profile repair until first prompt input is ready - Cache parsed global config after enableConfigs() and update cache after saves - Avoid repeated global config reads in saveGlobalConfig() to preserve projects - Spawn foreground shell commands with stdin ignored instead of inherited - Use Windows overlapped stdout/stderr pipes for shell subprocesses - Add KODE_STARTUP_PROFILE-gated timings for config I/O, update checks, query prep Fixes #96
1a1ed14 to
8de29a6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #96.
This PR reduces avoidable blocking on the interactive startup path and hardens Bash subprocess handling on Windows/WSL.
Main changes:
Validation
Automated checks:
Focused tests added/updated:
Real WSL validation:
Notes
The update banner may now appear after the initial UI render instead of before it. The displayed text is unchanged; only the timing is different so startup is not blocked by npm/registry checks.