Repository navigation
Isolate the non-Windows dsh discovery test - #353
Merged
Merged
Conversation
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.
What and why
The non-Windows registry test expects executable lookup to miss. An empty fixture PATH still lets Papilot search system directories such as Homebrew's bin directory. On a Mac with DeepSeek Harness installed, the lookup finds the real
dshand the test fails before checking for registry calls.Mock filesystem probes to miss in this test. Keep both the missing-executable assertion and the check for zero registry queries.
How it was checked
Reproduced the failure on a Mac with
/opt/homebrew/bin/dshinstalled.Ran the DeepSeek discovery test file with Node 22. Both macOS cases passed.
Ran the DeepSeek discovery, Codex binary and Codex desktop test files with Node 24. All 21 applicable tests passed.
Ran the complete local application test suite with Node 24 and four test workers. 1,515 passed and 20 were skipped.