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

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