Skip to content

Isolate the non-Windows dsh discovery test - #353

Merged
cu1ch3n merged 1 commit into
mainfrom
fix/isolate-dsh-discovery-test
Nov 27, 2026
Merged

cu1ch3n merged 1 commit into
mainfrom
fix/isolate-dsh-discovery-test

Conversation

@cu1ch3n

@cu1ch3n cu1ch3n commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

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 dsh and 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/dsh installed.

  • 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.

@cu1ch3n
cu1ch3n merged commit 5185418 into main Nov 27, 2026
8 checks passed
@cu1ch3n
cu1ch3n deleted the fix/isolate-dsh-discovery-test branch November 27, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant