Repository navigation
fix: scope holder discovery on windows - #534
Open
petrofahed wants to merge 1 commit into
Open
petrofahed wants to merge 1 commit into
petrofahed wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Problem
On one Windows workstation with a busy named-pipe namespace, core 0.1.23 took 209.4 seconds from a fresh launch to a successful
hc server status. Startup enumerates the entire named-pipe namespace before it can adopt holders.Change
Query for the exact legacy holder and the current session’s holder pattern with Win32 file enumeration. Keep the existing name filter and adoption flow. Preserve Unix directory enumeration behind the same platform interface. A Windows regression test exercises absent holders, the legacy name, both observed generation lengths, an unrelated session, and a non-holder suffix.
Windows verification
Tested on Jupiter with Herdr App 0.1.20, the bundled ConPTY files, and a local Windows GNU build of this branch. The desktop was launched in fresh isolated profiles without prestarting core.
hc server restartand a forced core stop. The recovered shell executed a fresh commandhc server startcalls returned the same core PIDcargo fmt --all --check, the Windows holder-discovery regression, the locked build, and both CLI documentation tests passed. The candidate was a local build. A signed-release rerun is pending.