Skip to content

feat: merging the changes from dev to main#120

Merged
Roopan-Microsoft merged 48 commits into
mainfrom
dev
Jun 5, 2025
Merged

feat: merging the changes from dev to main#120
Roopan-Microsoft merged 48 commits into
mainfrom
dev

Conversation

@Abdul-Microsoft

Copy link
Copy Markdown
Contributor

Purpose

This pull request includes significant updates to the development environment, CI/CD workflows, Azure infrastructure, and documentation. These changes enhance the automation, flexibility, and maintainability of the project. Below is a summary of the most important changes grouped by theme.

Development Environment Enhancements

  • Added the Azure CLI feature with Bicep support to the .devcontainer/devcontainer.json file, enabling easier management of Azure resources. Also added new VS Code extensions (ms-azuretools.vscode-azcli) and a post-create command to set permissions for a script.

CI/CD Workflow Additions

  • Introduced a new GitHub Actions workflow (.github/workflows/test-automation.yml) for test automation. This workflow includes scheduled runs, retries for flaky tests, and notifications for success or failure. It also starts/stops Azure Container Apps and uploads test reports.

Azure Infrastructure Updates

  • Updated infra/main.bicep and related files to improve flexibility:
    • Added new parameters for AI service location, GPT model configuration, and image versioning.
    • Introduced Application Insights to monitor deployed resources and added its connection string as an output. [1] [2] [3]
    • Standardized resource locations by replacing hardcoded locations with parameterized values. [1] [2]

Documentation Improvements

  • Enhanced documentation (docs/CustomizingAzdParameters.md) by adding a detailed parameters table and examples for customizing deployment configurations.
  • Fixed typos and clarified parameter descriptions in example files. (F2a12aa3L2R2, docs/EXAMPLE-CustomizingAzdParameters.mdL20-R23)

Azure YAML Configuration Updates

  • Renamed and restructured parameters in azure.yaml for consistency, and added pre-provision hooks to validate quotas for AI model deployments.
  • ...

Does this introduce a breaking change?

  • Yes
  • 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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request merges development changes into main that enhance our development environment, CI/CD workflows, and Azure infrastructure while updating documentation and parameter handling.

  • Development Environment: Added Azure CLI/Bicep support in devcontainer and updated VS Code extensions.
  • CI/CD Workflow: Introduced a new GitHub Actions workflow for test automation with retries and notifications.
  • Azure Infrastructure & Documentation: Updated Bicep templates, parameter definitions, and documentation to improve deployment flexibility and clarity.

Reviewed Changes

Copilot reviewed 35 out of 35 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/e2e-test/.gitignore Added common ignore rules for Python and project-related files.
src/backend/requirements.txt Added OpenTelemetry and Azure monitor dependencies (with one duplicate).
src/backend/api/event_utils.py Introduced Application Insights event tracking helper function.
src/backend/api/api_routes.py Integrated telemetry tracking and error reporting into API routes.
scripts/validate_model_quota.sh Added quota validation logic for model deployment using Azure CLI.
scripts/validate_model_quota.ps1 PowerShell version of model quota validation.
scripts/validate_model_deployment_quota.sh Added shell script for validating model deployment quotas.
scripts/validate_model_deployment_quota.ps1 PowerShell variant for validating deployment quotas.
scripts/quota_check_params.sh Updated default regions and parameter checks for quota query.
infra/main.parameters.json Added AI model deployment parameters.
infra/main.json Updated infrastructure JSON with parameterized values.
infra/main.bicepparam Enhanced Bicep parameter file with new environment parameters.
infra/main.bicep Updated Bicep template to use new parameters and location settings.
infra/deploy_ai_foundry.bicep Updated AI Foundry deployment to include Application Insights.
docs/EXAMPLE-CustomizingAzdParameters.md Fixed typos and clarified parameter instructions.
docs/CustomizingAzdParameters.md Expanded parameter table and improved instructions.
azure.yaml Renamed parameters and added preprovision hooks for quota validation.
.github/workflows/test-automation.yml Introduced workflow for test automation with scheduled and manual triggers.
.devcontainer/devcontainer.json Updated devcontainer configuration with new features and post-commands.
Comments suppressed due to low confidence (2)

src/backend/api/api_routes.py:1053

  • An HTTPException is returned instead of being raised. Replace 'return HTTPException(...)' with 'raise HTTPException(...)' to properly signal the error.
return HTTPException(status_code=404, detail="No batch history found.")

azure.yaml:28

  • The same chmod command is executed twice; consider removing the duplicate to simplify the preprovision hook commands.
chmod u+r+x ./scripts/validate_model_deployment_quota.sh; chmod u+r+x ./scripts/validate_model_deployment_quota.sh;

Comment thread src/backend/requirements.txt
@Roopan-Microsoft
Roopan-Microsoft merged commit 6abc398 into main Jun 5, 2025
10 checks passed
@github-actions

github-actions Bot commented Jun 5, 2025

Copy link
Copy Markdown

🎉 This PR is included in version 1.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Ritesh-Microsoft pushed a commit that referenced this pull request Oct 10, 2025
feat: merging the changes from dev to main
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.

7 participants