Skip to content

Conversation

@Priyanka-Microsoft
Copy link
Contributor

Purpose

  • ...
    This pull request introduces significant enhancements to the infra/scripts/quota_check_params.sh script, focusing on adding verbosity control, improving parameter handling, and refining logging mechanisms.

Key changes include:

Verbosity Control:

  • Introduced a --verbose flag to enable detailed logging. Added a log_verbose function to conditionally output logs based on the verbosity flag. [1] [2]

Parameter Handling:

  • Implemented command-line argument parsing for --models, --regions, and --verbose options, with fallback to defaults if not provided. [1] [2]

Logging Enhancements:

  • Replaced direct echo statements with log_verbose calls to ensure logs are only printed when verbosity is enabled. This change affects multiple sections of the script, including region and model checks. [1] [2] [3] [4] [5]

These updates improve the script's usability and maintainability by providing more control over logging and enhancing parameter flexibility.

Does this introduce a breaking change?

No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

- Integrated a  flag to enable detailed logging for easier troubleshooting.
@Roopan-Microsoft Roopan-Microsoft merged commit 5e425e6 into main Apr 14, 2025
5 checks passed
@github-actions
Copy link

🎉 This PR is included in version 1.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Prajwal-Microsoft Prajwal-Microsoft deleted the enhancement/azure-script-verbose-model-region-params branch May 15, 2025 05:55
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.

4 participants