Repository navigation
Make the test suite pass on macOS and with OpenCode v2 installed - #60
Merged
Merged
Conversation
Six tests failed on macOS with OpenCode v2.1.1 on PATH: - Four OpenCode installer tests inherited the real PATH, so a v2 opencode switched the installer to the v2 plugin layout. They now run with an empty PATH (v1 layout) unless they pass fakeOpencode(). - The VS Code Copilot mcp.json test assumed the XDG/APPDATA folder; on macOS VS Code uses ~/Library/Application Support. - The symlinked state root test compared a realpath with an unresolved tmpdir path; on macOS /var is a link to /private/var.
|
@JYunth is attempting to deploy a commit to the jaypokale35gmailcom's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Six tests fail on macOS for me with OpenCode v2 installed. CI only runs on Ubuntu without OpenCode, so it doesn't hit them. Test-only changes, same idea as #50:
PATH, so a v2opencodeswitches the installer to the v2 plugin layout and four tests fail. They now run with an emptyPATH(v1) unless they passfakeOpencode(). This one isn't macOS-specific.mcp.jsontest assumed the XDG folder, but on macOS VS Code uses~/Library/Application Support, same asbin/lib/mcp.js./varlinks to/private/var.Before: 263 pass, 6 fail. After: 269 pass. I haven't run it on Windows, though.
Unrelated, but
test_mcp_proxy.js:63failed for me about once in six runs, onmaintoo.