Skip to content

MAX_PATH lengths on Windows environment #1052

@lukel97

Description

@lukel97

Describe the bug
I'm hitting the MAX_PATH restriction on a windows environment, which restricts file paths to 260 characters. Unfortunately in my workflow gcc here is failing to link since this rather unwieldily build file hits that limit.

It's not really a problem with the environment runner itself I guess, but it would be really handy if this limit could be disabled: I'm not a windows person myself, but apparently in newer versions of Windows 10 this limit can be overridden via a registry key

Area for Triage:
Servers

Question, Bug, or Feature?:
Feature

Virtual environments affected

  • macOS 10.15
  • Ubuntu 16.04 LTS
  • Ubuntu 18.04 LTS
  • Ubuntu 20.04 LTS
  • Windows Server 2016 R2
  • Windows Server 2019

Expected behavior
Files with long paths to be created

Actual behavior
Files with long paths go missing, and cause tooling errors

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions