[PDK-1045] `pdk validate` fails with `The filename or extension is too long. (206)` Created: 2018/06/22  Updated: 2018/07/26  Resolved: 2018/07/15

Status: Closed
Project: Puppet Development Kit
Component/s: None
Affects Version/s: PDK 1.6.0
Fix Version/s: PDK 1.6.1

Type: Bug Priority: Major
Reporter: Jarret Lavallee Assignee: Bryan Jen
Resolution: Fixed Votes: 0
Labels: resolved-issue-added
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

PDK 1.6.0 in windows

Attachments: File file.list    
Issue Links:
relates to PDK-985 `pdk validate` on large set of files:... Closed
Acceptance Criteria:

PDK validate should not fail due to the number of files being sent in. 

Team: Puppet Developer Experience
Method Found: Customer Feedback
Release Notes: Bug Fix
Release Notes Summary: File paths are now sent to the validator commands as relative paths to the module root rather than absolute paths. This cuts down on the length of the commands that PDK executes in order to work around the command length limit on windows.
QA Risk Assessment: Needs Assessment


PDK validate fails with `The filename or extension is too long. (206)` even when limited to 1000 files. This seems to occur when there are many files in a deep file structure. Attached is an example file list that causes the error. 

Generated at Sat Aug 08 16:42:46 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.