Skip to content

Conversation

@benbp
Copy link
Member

@benbp benbp commented May 20, 2025

Use correct leading slash in common.ps1 repo root resolution. You need a leading slash after $PSScriptRoot, hence why the current code has to use 4 .. instead of 3 (the first ends up getting ignored).

Copilot AI review requested due to automatic review settings May 20, 2025 20:58
@benbp benbp added the Central-EngSys This issue is owned by the Engineering System team. label May 20, 2025
@benbp benbp self-assigned this May 20, 2025
@benbp benbp requested a review from a team as a code owner May 20, 2025 20:58
@benbp benbp added the Central-EngSys This issue is owned by the Engineering System team. label May 20, 2025
@benbp benbp requested a review from weshaggard May 20, 2025 20:58
@benbp benbp moved this from 🤔 Triage to 🔬 Dev in PR in Azure SDK EngSys 📆🎇 May 20, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

The PR fixes the repository root resolution in common.ps1 by correcting the number of parent traversals and standardizing the path string.

  • Adjusts the relative path from four levels up to three to correctly target the repo root
  • Switches from backslash-based ..\..\..\.. notation to forward-slash ../../../ notation

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@benbp benbp enabled auto-merge (squash) June 3, 2025 20:22
azure-sdk added a commit to Azure/azure-sdk-for-js that referenced this pull request Jun 3, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#10694 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Ben Broderick Phillips <[email protected]>
Co-authored-by: Wes Haggard <[email protected]>
@benbp benbp merged commit 5e58310 into main Jun 3, 2025
11 checks passed
@benbp benbp deleted the benbp/fix-common-resolve branch June 3, 2025 20:28
@kurtzeborn kurtzeborn moved this from 🔬 Dev in PR to 🎊 Closed in Azure SDK EngSys 📆🎇 Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants