Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
bc690f4
build: Dependabotchanges (#2083)
AjitPadhi-Microsoft Feb 17, 2026
8fb00c2
fix: Fix for Date Relativity issue in CWYD response (#2084)
NirajC-Microsoft Feb 17, 2026
5d729e8
fix: Fix for Repeated Citation bug (#2086)
NirajC-Microsoft Feb 18, 2026
1708fdd
ci: added USE_ADVANCED_IMAGE_PROCESSING input to deployment workflow …
Vamshi-Microsoft Feb 18, 2026
77caef8
fix: fix for ingest non-English file names and URLs (#2025)
Akhileswara-Microsoft Feb 19, 2026
55b6090
fix: Resolved the tag-related issue (#2090)
Prekshith-Microsoft Feb 19, 2026
583871e
docs: Update README with cross references and resources (#2089)
Prajwal-Microsoft Feb 19, 2026
4754c28
chore: Enable Conditional Step Skipping in Pipeline (#2076)
Priyanka-Microsoft Feb 23, 2026
45b4c52
refactor: added separate module to enable managed identity for search…
Harsh-Microsoft Feb 24, 2026
bee44c7
fix: Jailbreak error fix with prompt update (#2098)
AjitPadhi-Microsoft Feb 24, 2026
9fb1e44
fix: Regenerate poetry.lock with available virtualenv version (#2100)
AjitPadhi-Microsoft Feb 25, 2026
a7d6a2e
Potential fix for code scanning alert no. 117: Workflow does not cont…
Roopan-Microsoft Feb 25, 2026
6a2eca4
Merge branch 'main' into dev
Roopan-Microsoft Feb 25, 2026
568ae37
Correct capitalization in project name
Roopan-Microsoft Feb 25, 2026
84caf6f
Update tests.yml
Roopan-Microsoft Feb 25, 2026
51b34ce
Update README.md
Roopan-Microsoft Feb 25, 2026
6200b70
fix: reverted pipeline check implementation (#2102)
AjitPadhi-Microsoft Feb 25, 2026
2b38b32
chore: Dev to main (#2079)
NirajC-Microsoft Feb 25, 2026
17cd65c
Merge branch 'main' into dev
Roopan-Microsoft Mar 2, 2026
98d4a5b
fix: Semantic kernel updated to fix jailbreak error in teams (#2113)
AjitPadhi-Microsoft Mar 5, 2026
c71e790
chore: Dev to main (#2114)
AjitPadhi-Microsoft Mar 10, 2026
8af81cd
Merge branch 'main' into dev
Roopan-Microsoft Mar 16, 2026
7e5bd25
docs: Include note for azd version 1.23.9 deployment (#2124)
Prajwal-Microsoft Mar 17, 2026
0511564
fix: update jumpbox VM size to Standard_D2s_v5 and improve troublesho…
Harsh-Microsoft Mar 19, 2026
8215b0a
ci: Refactor pipelines and sample data upload workflows; migrate clie…
Vamshi-Microsoft Mar 26, 2026
b0f8a8a
fix: Updated azure.yaml file to exclude the 1.23.9 azd version (#2132)
AjitPadhi-Microsoft Mar 26, 2026
1cee2cd
docs: Update role name for RBAC permissions (#2134)
Thanusree-Microsoft Mar 27, 2026
f3dcdbf
Merge branch 'main' into dev
Roopan-Microsoft Mar 30, 2026
1764c3b
fix: merging dev to main (#2126)
Roopan-Microsoft Apr 6, 2026
d5f93d0
chore: upgrade Azure OpenAI embedding model to text-embedding-3-small…
Ayaz-Microsoft Apr 6, 2026
518fb9e
fix: add bicep version requirement (>= 0.33.0) to azure.yaml (#2156)
Roopan-Microsoft Apr 9, 2026
26298b8
fix: Replace Bicep DeploymentScripts with post-deployment setup scrip…
Abdul-Microsoft Apr 9, 2026
51916ac
ci: Add Bicep parameter validation workflow and script (#2149)
Harsh-Microsoft Apr 9, 2026
09095f0
fix: Filter the paths to run the pipeline (#2152)
Prekshith-Microsoft Apr 9, 2026
9c98e88
docs: Update deployment instructions in README (#2157)
Thanusree-Microsoft Apr 10, 2026
3924ba5
feat: Update azure.yaml file show post-deploy instructions (#2160)
Abdul-Microsoft Apr 10, 2026
510cd01
Merge branch 'main' into dev
Roopan-Microsoft Apr 13, 2026
d522e07
main,json updated
Roopan-Microsoft Apr 13, 2026
c7212b9
ci: Updated packaging scripts path in azure.yml (#2163)
Vamshi-Microsoft Apr 13, 2026
be3edba
fix: update frontend packaging script execution to use bash (#2164)
Vamshi-Microsoft Apr 13, 2026
51b0c77
ci: Added post-deployment workflow and script execution logic (#2168)
Vamshi-Microsoft Apr 16, 2026
ebe3d4e
feat: improve application insights logging and telemetry handling (#2…
AjitPadhi-Microsoft Apr 21, 2026
9a89ab9
fix: dependabot libs updated (#2174)
AjitPadhi-Microsoft Apr 21, 2026
75ac71d
Merge remote-tracking branch 'origin/dev' into dev-bot-update
AjitPadhi-Microsoft Apr 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ AZURE_OPENAI_RESOURCE=
AZURE_OPENAI_API_KEY=
AZURE_OPENAI_MODEL=gpt-4o
AZURE_OPENAI_MODEL_NAME=gpt-4o
AZURE_OPENAI_EMBEDDING_MODEL=text-embedding-ada-002
AZURE_OPENAI_EMBEDDING_MODEL=text-embedding-3-small
AZURE_OPENAI_TEMPERATURE=0
AZURE_OPENAI_TOP_P=1.0
AZURE_OPENAI_MAX_TOKENS=1000
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/broken-links-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Broken Link Checker

on:
pull_request:
paths:
- '**/*.md'
- '.github/workflows/broken-links-checker.yml'
workflow_dispatch:

permissions:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ on:
- main
- dev
- demo
paths:
- 'code/**'
- '!code/tests/**'
- 'docker/**'
- 'package.json'
- 'pyproject.toml'
- '.github/workflows/build-docker-images.yml'
- '.github/workflows/build-docker.yml'
types:
- opened
- ready_for_review
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/import-sample-data-cosmosdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,82 @@ jobs:
echo "SAMPLE_DATA_DIR=$SAMPLE_DATA_DIR" >> $GITHUB_ENV
echo "✅ Sample data files downloaded to $SAMPLE_DATA_DIR"

- name: Login to Azure for Sample Data Download
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Enable Public Access on Sample Data Storage (if disabled)
id: sample_storage_access
shell: bash
env:
STORAGE_ACCOUNT_NAME: ${{ vars.SAMPLE_DATA_STORAGE_ACCOUNT_NAME }}
run: |
echo "🔍 Checking public network access on sample data storage account '${STORAGE_ACCOUNT_NAME}'..."

# Discover the resource group for the sample data storage account
SAMPLE_STORAGE_RG=$(az storage account list --query "[?name=='${STORAGE_ACCOUNT_NAME}'].resourceGroup | [0]" -o tsv)
if [ -z "$SAMPLE_STORAGE_RG" ] || [ "$SAMPLE_STORAGE_RG" == "null" ]; then
echo "❌ Could not find resource group for storage account '${STORAGE_ACCOUNT_NAME}'."
exit 1
fi
echo "SAMPLE_STORAGE_RG=$SAMPLE_STORAGE_RG" >> $GITHUB_ENV
echo "SAMPLE_STORAGE_RG=$SAMPLE_STORAGE_RG" >> $GITHUB_OUTPUT

CURRENT_ACCESS=$(az storage account show --name "$STORAGE_ACCOUNT_NAME" --resource-group "$SAMPLE_STORAGE_RG" --query "publicNetworkAccess" -o tsv)
CURRENT_DEFAULT_ACTION=$(az storage account show --name "$STORAGE_ACCOUNT_NAME" --resource-group "$SAMPLE_STORAGE_RG" --query "networkRuleSet.defaultAction" -o tsv)

echo " Current publicNetworkAccess: $CURRENT_ACCESS"
echo " Current defaultAction: $CURRENT_DEFAULT_ACTION"

NEEDS_RESTORE="false"
if [ "$CURRENT_ACCESS" == "Disabled" ] || [ "$CURRENT_DEFAULT_ACTION" == "Deny" ]; then
echo "🔓 Enabling public access on sample data storage account..."
az storage account update --name "$STORAGE_ACCOUNT_NAME" --resource-group "$SAMPLE_STORAGE_RG" --public-network-access Enabled --output none
az storage account update --name "$STORAGE_ACCOUNT_NAME" --resource-group "$SAMPLE_STORAGE_RG" --default-action Allow --output none
NEEDS_RESTORE="true"

echo "⏳ Waiting 30 seconds for network changes to propagate..."
sleep 30
echo "✅ Public access enabled on sample data storage account."
else
echo "✅ Public access is already enabled."
fi

echo "NEEDS_RESTORE=$NEEDS_RESTORE" >> $GITHUB_ENV
echo "NEEDS_RESTORE=$NEEDS_RESTORE" >> $GITHUB_OUTPUT
echo "ORIGINAL_ACCESS=$CURRENT_ACCESS" >> $GITHUB_ENV
echo "ORIGINAL_DEFAULT_ACTION=$CURRENT_DEFAULT_ACTION" >> $GITHUB_ENV

- name: Download Sample Data from Azure Storage
shell: bash
env:
STORAGE_ACCOUNT_NAME: ${{ vars.SAMPLE_DATA_STORAGE_ACCOUNT_NAME }}
STORAGE_CONTAINER_NAME: ${{ vars.SAMPLE_DATA_STORAGE_CONTAINER_NAME }}
run: |
SAMPLE_DATA_DIR="${RUNNER_TEMP}/sample-data"
mkdir -p "$SAMPLE_DATA_DIR"

echo "📥 Downloading sample data files from storage account '${STORAGE_ACCOUNT_NAME}'..."
az storage blob download \
--account-name "$STORAGE_ACCOUNT_NAME" \
--container-name "$STORAGE_CONTAINER_NAME" \
--name "azure_search_data.json" \
--file "$SAMPLE_DATA_DIR/azure_search_data.json" \
--auth-mode login

az storage blob download \
--account-name "$STORAGE_ACCOUNT_NAME" \
--container-name "$STORAGE_CONTAINER_NAME" \
--name "azure_search_data_UseVectorization_SemanticSearch.json" \
--file "$SAMPLE_DATA_DIR/azure_search_data_UseVectorization_SemanticSearch.json" \
--auth-mode login

echo "SAMPLE_DATA_DIR=$SAMPLE_DATA_DIR" >> $GITHUB_ENV
echo "✅ Sample data files downloaded to $SAMPLE_DATA_DIR"

- name: Validate Workflow Input Parameters
shell: bash
env:
Expand Down
61 changes: 61 additions & 0 deletions .github/workflows/import-sample-data-postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,67 @@ jobs:
echo "SAMPLE_DATA_DIR=$SAMPLE_DATA_DIR" >> $GITHUB_ENV
echo "✅ Sample data file downloaded to $SAMPLE_DATA_DIR"

- name: Login to Azure for Sample Data Download
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Enable Public Access on Sample Data Storage (if disabled)
id: sample_storage_access
shell: bash
env:
STORAGE_ACCOUNT_NAME: ${{ vars.SAMPLE_DATA_STORAGE_ACCOUNT_NAME }}
run: |
echo "🔍 Checking public network access on sample data storage account '${STORAGE_ACCOUNT_NAME}'..."

# Discover the resource group for the sample data storage account
SAMPLE_STORAGE_RG=$(az storage account list --query "[?name=='${STORAGE_ACCOUNT_NAME}'].resourceGroup | [0]" -o tsv)
if [ -z "$SAMPLE_STORAGE_RG" ] || [ "$SAMPLE_STORAGE_RG" == "null" ]; then
echo "❌ Could not find resource group for storage account '${STORAGE_ACCOUNT_NAME}'."
exit 1
fi
echo "SAMPLE_STORAGE_RG=$SAMPLE_STORAGE_RG" >> $GITHUB_ENV

CURRENT_ACCESS=$(az storage account show --name "$STORAGE_ACCOUNT_NAME" --resource-group "$SAMPLE_STORAGE_RG" --query "publicNetworkAccess" -o tsv)
CURRENT_DEFAULT_ACTION=$(az storage account show --name "$STORAGE_ACCOUNT_NAME" --resource-group "$SAMPLE_STORAGE_RG" --query "networkRuleSet.defaultAction" -o tsv)

echo " Current publicNetworkAccess: $CURRENT_ACCESS"
echo " Current defaultAction: $CURRENT_DEFAULT_ACTION"

if [ "$CURRENT_ACCESS" == "Disabled" ] || [ "$CURRENT_DEFAULT_ACTION" == "Deny" ]; then
echo "🔓 Enabling public access on sample data storage account..."
az storage account update --name "$STORAGE_ACCOUNT_NAME" --resource-group "$SAMPLE_STORAGE_RG" --public-network-access Enabled --output none
az storage account update --name "$STORAGE_ACCOUNT_NAME" --resource-group "$SAMPLE_STORAGE_RG" --default-action Allow --output none

echo "⏳ Waiting 30 seconds for network changes to propagate..."
sleep 30
echo "✅ Public access enabled on sample data storage account."
else
echo "✅ Public access is already enabled."
fi

- name: Download Sample Data from Azure Storage
shell: bash
env:
STORAGE_ACCOUNT_NAME: ${{ vars.SAMPLE_DATA_STORAGE_ACCOUNT_NAME }}
STORAGE_CONTAINER_NAME: ${{ vars.SAMPLE_DATA_STORAGE_CONTAINER_NAME }}
run: |
SAMPLE_DATA_DIR="${RUNNER_TEMP}/sample-data"
mkdir -p "$SAMPLE_DATA_DIR"

echo "📥 Downloading sample data file from storage account '${STORAGE_ACCOUNT_NAME}'..."
az storage blob download \
--account-name "$STORAGE_ACCOUNT_NAME" \
--container-name "$STORAGE_CONTAINER_NAME" \
--name "exported_data_vector_score.csv" \
--file "$SAMPLE_DATA_DIR/exported_data_vector_score.csv" \
--auth-mode login

echo "SAMPLE_DATA_DIR=$SAMPLE_DATA_DIR" >> $GITHUB_ENV
echo "✅ Sample data file downloaded to $SAMPLE_DATA_DIR"

- name: Validate Workflow Input Parameters
shell: bash
env:
Expand Down
21 changes: 17 additions & 4 deletions .github/workflows/job-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -557,13 +557,25 @@ jobs:
DATABASE_TYPE: ${{ inputs.DATABASE_TYPE }}
secrets: inherit

# Run post-deployment setup (Function App client key + PostgreSQL tables)
post-deployment-setup:
needs: [azure-setup, deploy-linux, deploy-windows]
if: |
always() &&
(needs.deploy-linux.result == 'success' || needs.deploy-windows.result == 'success')
uses: ./.github/workflows/job-post-deployment-setup.yml
with:
RESOURCE_GROUP_NAME: ${{ needs.azure-setup.outputs.RESOURCE_GROUP_NAME }}
secrets: inherit

# Call PostgreSQL setup workflow when DATABASE_TYPE is PostgreSQL
import-sample-data-postgresql:
needs: [azure-setup, deploy-linux, deploy-windows]
needs: [azure-setup, deploy-linux, deploy-windows, post-deployment-setup]
if: |
always() &&
inputs.DATABASE_TYPE == 'PostgreSQL' &&
(needs.deploy-linux.result == 'success' || needs.deploy-windows.result == 'success')
(needs.deploy-linux.result == 'success' || needs.deploy-windows.result == 'success') &&
needs.post-deployment-setup.result == 'success'
uses: ./.github/workflows/import-sample-data-postgresql.yml
with:
RESOURCE_GROUP_NAME: ${{ needs.azure-setup.outputs.RESOURCE_GROUP_NAME }}
Expand All @@ -572,11 +584,12 @@ jobs:

# Call CosmosDB/Azure Search setup workflow when DATABASE_TYPE is CosmosDB
import-sample-data-cosmosdb:
needs: [azure-setup, deploy-linux, deploy-windows]
needs: [azure-setup, deploy-linux, deploy-windows, post-deployment-setup]
if: |
always() &&
inputs.DATABASE_TYPE == 'CosmosDB' &&
(needs.deploy-linux.result == 'success' || needs.deploy-windows.result == 'success')
(needs.deploy-linux.result == 'success' || needs.deploy-windows.result == 'success') &&
needs.post-deployment-setup.result == 'success'
uses: ./.github/workflows/import-sample-data-cosmosdb.yml
with:
RESOURCE_GROUP_NAME: ${{ needs.azure-setup.outputs.RESOURCE_GROUP_NAME }}
Expand Down
103 changes: 103 additions & 0 deletions .github/workflows/job-post-deployment-setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: Post-Deployment Setup

on:
workflow_dispatch:
inputs:
RESOURCE_GROUP_NAME:
description: 'Azure Resource Group name'
required: true
type: string
workflow_call:
inputs:
RESOURCE_GROUP_NAME:
description: 'Azure Resource Group name'
required: true
type: string

permissions:
id-token: write
contents: read

jobs:
post-deployment-setup:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install Python Dependencies
shell: bash
run: |
pip install psycopg2-binary azure-identity

- name: Run Post-Deployment Setup (Attempt 1)
id: setup1
shell: bash
env:
RESOURCE_GROUP: ${{ inputs.RESOURCE_GROUP_NAME }}
run: |
chmod +x scripts/post_deployment_setup.sh
bash scripts/post_deployment_setup.sh "$RESOURCE_GROUP"
continue-on-error: true

- name: Wait 20 seconds before retry
if: ${{ steps.setup1.outcome == 'failure' }}
shell: bash
run: sleep 20s

- name: Run Post-Deployment Setup (Attempt 2)
id: setup2
if: ${{ steps.setup1.outcome == 'failure' }}
shell: bash
env:
RESOURCE_GROUP: ${{ inputs.RESOURCE_GROUP_NAME }}
run: |
chmod +x scripts/post_deployment_setup.sh
bash scripts/post_deployment_setup.sh "$RESOURCE_GROUP"
continue-on-error: true

- name: Wait 40 seconds before final retry
if: ${{ steps.setup2.outcome == 'failure' }}
shell: bash
run: sleep 40s

- name: Run Post-Deployment Setup (Attempt 3)
id: setup3
if: ${{ steps.setup2.outcome == 'failure' }}
shell: bash
env:
RESOURCE_GROUP: ${{ inputs.RESOURCE_GROUP_NAME }}
run: |
chmod +x scripts/post_deployment_setup.sh
bash scripts/post_deployment_setup.sh "$RESOURCE_GROUP"

- name: Generate Post-Deployment Summary
if: always()
shell: bash
run: |
echo "## 🔧 Post-Deployment Setup Summary" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "| Field | Value |" >> $GITHUB_STEP_SUMMARY
echo "|-------|--------|" >> $GITHUB_STEP_SUMMARY
echo "| **Job Status** | ${{ job.status == 'success' && '✅ Success' || '❌ Failed' }} |" >> $GITHUB_STEP_SUMMARY
echo "| **Resource Group** | \`${{ inputs.RESOURCE_GROUP_NAME }}\` |" >> $GITHUB_STEP_SUMMARY

- name: Logout from Azure
if: always()
shell: bash
run: |
az logout || true
echo "Logged out from Azure."
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ on:
- '.github/workflows/tests.yml'
pull_request:
branches: [main, dev, demo]
paths:
- 'code/**'
- 'pyproject.toml'
- 'package.json'
- 'pytest.ini'
- '.github/workflows/tests.yml'
types:
- opened
- ready_for_review
Expand Down
Loading
Loading