Skip to content

Conversation

@JennyPng
Copy link
Member

@JennyPng JennyPng commented Dec 1, 2025

closes #13001
closes #13240
related to point 2 in #13248 (python installs should be specifically from python SDK directory)

  • clearly organize missing requirements by category
  • allow copilot to alter/improve installation instructions based on the user's shell
  • add reason to tool response for checks that are confusing, e.g. why is Python a core requirement?

Only checking core requirements in tools repo with gpt-4o in WSL (note that reason is explained for Python):
image

checking go reqs with claude sonnet 4
image

checking python reqs w claude sonnet 4.5 (note that reason for azpysdk is given):
image

@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

@JennyPng JennyPng changed the title Improve VerifySetup Prompt for Better Instructional Output Improve VerifySetup Output Clarity Dec 9, 2025
@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

@JennyPng JennyPng marked this pull request as ready for review December 10, 2025 01:02
@JennyPng JennyPng requested a review from a team as a code owner December 10, 2025 01:02
Copilot AI review requested due to automatic review settings December 10, 2025 01:02
@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

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

This PR improves the clarity of the VerifySetup tool's output by adding support for requirement explanations and enhancing installation instructions. The changes enable Copilot to provide better context about why specific requirements exist and tailor installation guidance to the user's shell environment.

  • Adds a reason field to explain why certain requirements are needed (e.g., why Python is a core requirement)
  • Updates Python tool installation instructions to specifically reference the Python SDK repository directory
  • Enhances Copilot instructions to organize output into categorical sections and provide shell-specific commands

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/Verify/VerifySetupTool.cs Adds Reason field population when requirement checks fail with messages
tools/azsdk-cli/Azure.Sdk.Tools.Cli/Models/SetupRequirements.cs Defines nullable reason property in the Requirement model
tools/azsdk-cli/Azure.Sdk.Tools.Cli/Models/Responses/VerifySetupResponse.cs Adds nullable Reason property to RequirementCheckResult response model
tools/azsdk-cli/Azure.Sdk.Tools.Cli/Configuration/RequirementsV1.json Adds reason explanations for Python and azpysdk requirements; clarifies Python tool installation instructions to specify Python SDK directory
eng/common/instructions/azsdk-tools/verify-setup.instructions.md Updates output instructions to explain reasons, organize by categories, and provide shell-specific commands

Copy link
Member

@praveenkuttappan praveenkuttappan left a comment

Choose a reason for hiding this comment

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

Looks good. One nit suggestion from copilot about ?? operator is good to take.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@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

JennyPng added a commit to Azure/azure-sdk-for-js that referenced this pull request Dec 11, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#13100 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: jennypng <63012604+JennyPng@users.noreply.github.com>
JennyPng added a commit to Azure/azure-sdk-for-rust that referenced this pull request Dec 11, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#13100 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: jennypng <63012604+JennyPng@users.noreply.github.com>
@JennyPng JennyPng merged commit 3536ab8 into Azure:main Dec 11, 2025
16 checks passed
@JennyPng JennyPng deleted the env-setup-instr-improve branch December 11, 2025 18:51
JiaqiZhang-Dev pushed a commit that referenced this pull request Dec 22, 2025
* prompt improvement

* minor

* test making copilot install for you

* add reason field

* minor

* remove unnecessary null operator

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[azsdk_verify_setup] Why Go setup need to install Python? [azsdk_verify_setup] refine prompts to improve installation instruction output

3 participants