Skip to content

x/build: no error for missing file in windows workspace #55145

@findleyr

Description

@findleyr

CL 430915 failed mysteriously with a seemingly missing file:
https://storage.googleapis.com/go-build-log/706d84fc/windows-386-2008_7e064017.log

The reason, we discovered after testing on a local windows machine, is that AUX (including aux.go) is a reserved name on windows:
https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions

Git produces "error: invalid path 'gopls/internal/lsp/generator/aux.go'". I don't think the windows TryBots use git directly, but it is surprising to me that the trybot run did not fail eagerly if it was unable to write a file to the workspace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buildersx/build issues (builders, bots, dashboards)NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-Windows

    Type

    No type

    Projects

    Status

    Planned

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions