Skip to content

Update threshold for long path shortening to be MAX_PATH - 4#12941

Closed
mai93 wants to merge 1 commit intobazelbuild:masterfrom
mai93:long-path
Closed

Update threshold for long path shortening to be MAX_PATH - 4#12941
mai93 wants to merge 1 commit intobazelbuild:masterfrom
mai93:long-path

Conversation

@mai93
Copy link
Copy Markdown
Contributor

@mai93 mai93 commented Feb 1, 2021

This PR applies the suggested fix for #12310. Although I could not reproduce it.

Fixes: #12310

@google-cla google-cla Bot added the cla: yes label Feb 1, 2021
@mai93 mai93 changed the title Update threshold for long path shortening to be 158 not 160 Update threshold for long path shortening to be MAX_PATH -2 Feb 2, 2021
@mai93 mai93 requested a review from meteorcloudy February 2, 2021 13:26
@jin jin added area-Windows Windows-specific issues and feature requests team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website labels Mar 1, 2021
Copy link
Copy Markdown
Member

@meteorcloudy meteorcloudy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: We still don't have a reproduce case without RBE? Otherwise, adding a test would be a good idea.

@mai93 mai93 changed the title Update threshold for long path shortening to be MAX_PATH -2 Update threshold for long path shortening to be MAX_PATH - 4 Mar 11, 2021
@mai93
Copy link
Copy Markdown
Contributor Author

mai93 commented Mar 11, 2021

Yes, I could not reproduce it without RBE.

@mai93 mai93 marked this pull request as ready for review March 11, 2021 15:45
Copy link
Copy Markdown
Member

@meteorcloudy meteorcloudy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for confirming, let's import this!

@bazel-io bazel-io closed this in 42e05db Mar 11, 2021
katre pushed a commit that referenced this pull request Jul 12, 2021
This PR applies the suggested fix for #12310. Although I could not reproduce it.

Fixes: #12310

Closes #12941.

PiperOrigin-RevId: 362327025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Windows Windows-specific issues and feature requests cla: yes team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bazel+RBE failure on Windows with target of length 89 or 90

3 participants