-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: normalize Windows CLI executable paths with missing extensions #1345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
StillKnotKnown
wants to merge
99
commits into
AndyMik90:develop
from
StillKnotKnown:windows-user-path-validation
Closed
Changes from 7 commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
20a30c1
fix: normalize Windows CLI executable paths with missing extensions
StillKnotKnown 322ca16
test: add fs mocking tests for normalizeExecutablePath
StillKnotKnown 8d8211e
test: use explicit mock default instead of delegating to mocked fs
StillKnotKnown 08510d3
test: use describeUnix for Unix-generic behavior instead of describeM…
StillKnotKnown 059cb4d
fix: address multiple root causes of Windows CLI validation failures
StillKnotKnown 86468ac
fix: Windows CLI path validation - consolidate platform abstraction a…
StillKnotKnown a938921
refactor: use platform abstraction in high-priority files
StillKnotKnown 111c9ff
refactor: use platform abstraction in MEDIUM/HIGH priority files
StillKnotKnown 02ff75e
refactor: complete platform abstraction for remaining files
StillKnotKnown 8aa42a3
test: add tests for new platform utility functions
StillKnotKnown b513d97
fix: platform abstraction improvements and CodeRabbit feedback
StillKnotKnown 3d8cb65
test: fix getVenvPythonPath test for cross-platform compatibility
StillKnotKnown 52ebd6a
fix: replace direct platform checks with platform abstraction
StillKnotKnown c4641a5
fix: replace direct platform checks in index.ts and improve GitHub CL…
StillKnotKnown 4b1d2e0
test: add comprehensive test suite for platform/paths.ts
StillKnotKnown 67ea01b
test: increase timeout for flaky Windows CI test
StillKnotKnown 518c9f5
fix: replace remaining direct process.platform checks with platform a…
StillKnotKnown 3c741ff
fix: use expandWindowsEnvVars for Windows path detection in worktree-…
StillKnotKnown 6bf1776
fix: add proper environment variable fallbacks for Windows terminal p…
StillKnotKnown 945a7d5
refactor: consolidate duplicate expandWindowsEnvVars implementations
StillKnotKnown 7644dd1
test: add comprehensive test suite for windows-paths.ts
StillKnotKnown d91bb44
test: add pty-manager.test.ts with 20 passing tests
StillKnotKnown 4d557db
refactor: use environment variable expansion in COMMON_BIN_PATHS
StillKnotKnown 22b9f11
test: fix windows-paths.test.ts - 31/35 tests now passing (89%)
StillKnotKnown 2d1ef25
test: fix lint and TypeScript errors in test files
StillKnotKnown 6734179
lint: fix pre-commit hook failures
StillKnotKnown 6824658
test: fix duplicate beforeEach hook in windows-paths.test.ts
StillKnotKnown 27f44f0
Merge branch 'develop' into windows-user-path-validation
StillKnotKnown 8114f62
test: address CodeRabbit feedback - fake timers, async tests, path no…
StillKnotKnown a7b5b95
refactor: remove unused imports and variables (CodeQL alerts)
StillKnotKnown d3a9f17
docs: map existing codebase
161a9dc
docs: initialize project
62b80e0
chore: add project config
b2de1bf
Merge branch 'develop' into windows-user-path-validation
StillKnotKnown c3ad052
Merge branch 'develop' into windows-user-path-validation
StillKnotKnown 26c50f0
Merge branch 'develop' into windows-user-path-validation
StillKnotKnown 9ee39af
fix: comprehensive platform abstraction alignment for CLI path handling
StillKnotKnown f2ef1bb
fix: align remaining code with centralized platform abstraction
StillKnotKnown af5653f
fix: comprehensive platform abstraction for CLI tools and terminals
StillKnotKnown b67d69e
fix: resolve CodeQL and Biome linter issues
StillKnotKnown a5e8983
test: fix duplicate beforeEach hook linter warnings
StillKnotKnown a3a1520
fix: return normalized executable paths from CLI tool validation
StillKnotKnown 7c621a2
fix: critical security and platform compatibility fixes
StillKnotKnown 8bbd204
test: fix platform-specific test failures for cross-platform CI
StillKnotKnown 604ae7a
test: fix biome-ignore comment syntax in platform.test.ts
StillKnotKnown e781c3f
fix: i18n support for error messages and linter fixes
StillKnotKnown a72846e
fix: comprehensive platform alignment and test coverage
StillKnotKnown bed2c01
fix: comprehensive CLI tool detection and platform alignment
StillKnotKnown 88f61ff
fix: address CodeQL alerts and CI test failures
StillKnotKnown f774459
fix: address CodeRabbit feedback for platform abstraction and test qu…
StillKnotKnown 6d3fce7
refactor: consolidate platform abstraction and remove duplicate helpers
StillKnotKnown f7a95e0
test: fix platform module mocks for getEnvVar and isSecurePath
StillKnotKnown 022401e
test: update test files to use platform abstraction functions
StillKnotKnown ef2033d
test: fix platform mocks for debug-logger and remove unused import
StillKnotKnown 5bca79f
test: add comprehensive test coverage for python-detector and path ed…
StillKnotKnown ebcabb4
test: fix config-path-validator test expectations and remove unused i…
StillKnotKnown 4ec7119
fix: prevent renderer from pulling in Node.js dependencies
StillKnotKnown d9ce7c8
test: fix REDOS vulnerability in windows-paths.test.ts
StillKnotKnown da1a080
fix: comprehensive platform abstraction alignment improvements
StillKnotKnown 48e2714
test: fix REDOS vulnerability using backslash delimiter approach
StillKnotKnown 25b7c35
test: fix platform-specific path handling and test expectations
StillKnotKnown c4ac8f8
refactor: align remaining code with centralized platform abstraction
StillKnotKnown d13cfee
test: fix Windows CI test failures for path handling
StillKnotKnown 2c87bdf
test: add missing platform tests and fix skipped where.exe tests
StillKnotKnown 4cc76d5
test: fix Windows CI test failures for platform-specific paths
StillKnotKnown f316f3f
fix: security and platform alignment improvements from PR review
StillKnotKnown fbbe37f
test: fix Windows CI Homebrew Python mock
StillKnotKnown 2fc5711
feat: add GitLab CLI paths and Linux Python paths to platform module
StillKnotKnown 4fae75f
refactor: use getBinaryDirectories() instead of hardcoded /usr/bin paths
StillKnotKnown 74a1c57
refactor: use getEnvVar for case-insensitive HOME access in renderer
StillKnotKnown 1189694
Merge branch 'develop' into windows-user-path-validation
StillKnotKnown f098f95
refactor: remove unused os and execSync imports
StillKnotKnown 8464554
test: add comprehensive tests for configureTools, clearToolCache, and…
StillKnotKnown 767de21
fix: use getEnvVar() for case-insensitive Windows env access
StillKnotKnown b3b2aaa
feat: comprehensive platform alignment for CLI path detection
StillKnotKnown f02b3a8
test: fix gh_executable and git_executable test failures
StillKnotKnown 63d3c39
test: fix gh_executable and git_executable test failures
StillKnotKnown 0159729
feat: add GitLab CLI env var support and Git executable verification
StillKnotKnown f08c40a
test: fix cache pollution in test_checks_homebrew_paths_on_unix
StillKnotKnown 9c5a475
feat: add full GitLab CLI detection support to frontend
StillKnotKnown 008f6d8
test: fix CodeQL URL substring sanitization alert
StillKnotKnown 0256919
fix: platform abstraction improvements and install script bug fix
StillKnotKnown db3f2d1
test: fix Windows CI test failures with path normalization and async …
StillKnotKnown 5479fdb
test: fix Windows CI test failures with async timing and mock resets
StillKnotKnown 5a74d20
test: fix homebrew-python mock reset issue for cross-platform CI
StillKnotKnown 04a3e90
test: normalize paths in homebrew-python mock for cross-platform CI
StillKnotKnown e4cadf0
test: normalize mockValidate paths for Windows cross-platform tests
StillKnotKnown a2674fe
test: use vi.waitFor for event emission tests reliability
StillKnotKnown 4a4194f
feat: add bundled Python paths to security allowlist
StillKnotKnown 5351f3f
fix: add process polyfill for renderer in dev mode
StillKnotKnown b525b91
fix: use planner agent type for ideation to prevent stream closure
StillKnotKnown d18d2d8
feat: add comprehensive Claude CLI detection paths for Windows
StillKnotKnown f91260e
fix: use explicit where.exe with proper line ending handling
StillKnotKnown ba5ef0d
fix: use explicit commands and proper line ending handling for cross-…
StillKnotKnown 63b8e71
fix: use getCmdExecutablePath() for cmd.exe resolution in claude-code…
StillKnotKnown 186a539
fix: search multiple extensions in where.exe for Windows Claude CLI d…
StillKnotKnown f1f22f8
fix: use vi.waitFor for reliable async timing in kill task test
StillKnotKnown c7394ea
fix: add CLAUDE_CLI_PATH detection to ideation and roadmap spawns
StillKnotKnown 6791090
refactor: use centralized getToolInfo helper for CLI detection in ide…
StillKnotKnown File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.