Skip to content

Conversation

@jakebailey
Copy link
Member

@jakebailey jakebailey commented Dec 14, 2025

Fixes #2375

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR replaces the use of Go's standard library filepath.EvalSymlinks with the custom osvfs.FS().Realpath() function for resolving the executable directory path, likely to fix issue #2375. The changes unify path handling to use the internal tspath and osvfs packages consistently throughout the bundled package.

Key changes:

  • Replace filepath.EvalSymlinks with osvfs.FS().Realpath for symlink resolution
  • Switch from filepath functions to tspath equivalents (e.g., GetDirectoryPath, CombinePaths)
  • Replace os.Stat with osvfs.FS().Stat for file existence checks

@jakebailey jakebailey enabled auto-merge December 17, 2025 00:33
@jakebailey jakebailey added this pull request to the merge queue Dec 17, 2025
Merged via the queue into main with commit 52be613 Dec 17, 2025
28 checks passed
@jakebailey jakebailey deleted the jabaile/fix-executable-dir-symlinks branch December 17, 2025 05:31
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.

panic: bundled: failed to evaluate symlinks: The system cannot find the path specified. [recovered, repanicked]

2 participants