[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
Environment:

PDK 1.6.0 in windows


Attachments: File file.list    
Issue Links:
Relates
relates to PDK-985 `pdk validate` on large set of files:... Closed
Template:
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

 Description   

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 Sun Sep 22 06:57:37 PDT 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.