Relax Java pipeline path length checks - #50049
Open
Weidong Xu (weidongxu-microsoft) wants to merge 2 commits into
Open
Relax Java pipeline path length checks#50049Weidong Xu (weidongxu-microsoft) wants to merge 2 commits into
Weidong Xu (weidongxu-microsoft) wants to merge 2 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: Successfully started running 1 pipeline(s). 34 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Weidong Xu (weidongxu-microsoft)
marked this pull request as ready for review
August 6, 2026 05:43
Weidong Xu (weidongxu-microsoft)
requested review from
Ben Broderick Phillips (benbp),
Mike Harder (mikeharder) and
Ray Chen (raych1)
as code owners
August 6, 2026 05:43
|
Azure Pipelines: Successfully started running 1 pipeline(s). 34 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Copilot started reviewing on behalf of
Weidong Xu (weidongxu-microsoft)
August 6, 2026 05:44
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR relaxes the Windows path-length guard used by Java CI by lowering the reserved “base checkout path length” from 38 to 18, and applies the same adjustment to the patch-release pipeline variant, allowing longer repository-relative paths to pass the check.
Changes:
- Reduced
BasePathLengthfrom 38 → 18 in the main CI Analyze job’sverify-path-lengthstep. - Reduced
BasePathLengthfrom 38 → 18 in the patch pipeline’sverify-path-lengthstep. - Updated the inline comments describing the rationale (though the “why 18” assumption could be clearer).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| eng/pipelines/templates/stages/archetype-sdk-client-patch.yml | Lowers the path-length reservation used by verify-path-length in the patch pipeline. |
| eng/pipelines/templates/jobs/ci.yml | Lowers the path-length reservation used by verify-path-length in standard CI (Analyze job). |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Alan Zimmer (alzimmermsft)
approved these changes
Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This allows repository-relative file and directory paths to be 20 characters longer while retaining the Windows 260-character file-path and 248-character directory-path checks.
Reason here Azure/azure-rest-api-specs#44457 (comment)