aws-codepipeline-actions: Problem Cloning the AWS CDK Repository on Windows #32808
Labels
@aws-cdk/assets
Related to the @aws-cdk/assets package
@aws-cdk/aws-codepipeline-actions
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
Describe the bug
When cloning the AWS CDK repository on a Windows system, I encountered issues where certain files appear in the Git index but are not present on the filesystem. This causes
git status
to show these files as deleted, and attempts to restore or interact with them fail. The issue might be related to Windows' filesystem limitations, but the root cause remains unclear.To fix the issue, I cloned the repository using Windows Subsystem for Linux (WSL) in VS Code, the Bash terminal in VS Code, and Git Desktop's Bash, but none of these helped. I also changed case sensitivity (through
core.ignorecase
), enabled long file paths (throughcore.longpaths
), and modified the Windows registry, but this did not resolve the problem.Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
The repository should clone successfully on Windows, with all files checked out to the filesystem as expected. Running
git status
andgit diff
after merging updates fromupstream/main
should not show any unexpected deletions or errors related to file handling. Cross-platform compatibility issues, if present, should be handled gracefully to allow contributors to work seamlessly regardless of their operating system.Current Behavior
Also,
Also,
Reproduction Steps
Possible Solution
_
or-
).Additional Information/Context
No response
CDK CLI Version
2.173.2 (build f8e6207)
Framework Version
No response
Node.js Version
v22.9.0
OS
Windows 11 Home Single Language - version 23H2 - OS build 22631.4602
Language
TypeScript
but seems this issue is agnostic of language.
Language Version
No response
Other information
Git: Version 2.42
Cloning method: Git Bash / WSL / GitHub Desktop
Repository: AWS CDK (main branch)
The text was updated successfully, but these errors were encountered: