Skip to content

Resolve macOS core executable paths through symlinked directories - #50

Merged
patterniha merged 2 commits into
my-releasesfrom
copilot/fix-macos-webapi-servicelib-tests
Nov 13, 2026
Merged

patterniha merged 2 commits into
my-releasesfrom
copilot/fix-macos-webapi-servicelib-tests

Conversation

Copilot AI commented Nov 13, 2026 •

Copy link
Copy Markdown

The macOS WebAPI test job failed in ACoreIsKnownToRunFromItsOwnFolderOnly: the process executable path and expected folder could differ because of an aliased parent directory. Path normalization resolved parent symlinks on Linux, but not macOS.

  • Path normalization: Use component-by-component symlink resolution for Unix paths; retain the existing executable-link handling on Windows.
if (OperatingSystem.IsWindows())
{
    // Keep Windows executable-link handling
}
else
{
    // Resolve links in each path component
}

Co-authored-by: patterniha <71074308+patterniha@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job for macOS WebAPI and ServiceLib tests Resolve macOS core executable paths through symlinked directories Nov 13, 2026
Copilot AI requested a review from patterniha November 13, 2026 21:52
@patterniha

Copy link
Copy Markdown
Owner

@copilot

check again to make sure your changes is ok

Copilot AI commented Nov 13, 2026

Copy link
Copy Markdown
Author

@copilot

check again to make sure your changes is ok

I rechecked the change: Unix paths now resolve symlinks component-by-component, while Windows keeps its prior executable-link handling. The WebAPI suite passes locally (445/445), and the patch is limited to the intended one-line condition. No further changes appear necessary; macOS-specific CI still needs to confirm on this commit.

@patterniha
patterniha marked this pull request as ready for review November 13, 2026 22:15
@patterniha
patterniha merged commit 488f28d into my-releases Nov 13, 2026
1 check passed
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.

2 participants