Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
b700a81
refactor: migrate from Create React App to Vite, update dependencies …
Dhanushree-Microsoft May 11, 2026
ef3fc30
Potential fix for pull request finding
Dhanushree-Microsoft May 11, 2026
0a77286
Potential fix for pull request finding
Dhanushree-Microsoft May 11, 2026
3a1e7f8
Potential fix for pull request finding
Dhanushree-Microsoft May 11, 2026
b78c2f8
Potential fix for pull request finding
Dhanushree-Microsoft May 11, 2026
da7e601
docs: update Local Development Setup for Vite migration, adjust termi…
Dhanushree-Microsoft May 11, 2026
053af08
Merge branch 'km-gen-depdh' of https://github.com/microsoft/Conversat…
Dhanushree-Microsoft May 11, 2026
bbc6dc7
chore: update package dependencies and remove unused entries; add .en…
Dhanushree-Microsoft May 11, 2026
c4ad7e6
fix: add dev script alias to package.json for npm run dev support
Copilot May 15, 2026
b1cab0d
chore: add 'dev' script to package.json for Vite development
Dhanushree-Microsoft May 15, 2026
f5d50b6
Merge branch 'km-gen-depdh' of https://github.com/microsoft/Conversat…
Dhanushree-Microsoft May 15, 2026
b09a51c
Merge branch 'dev' of https://github.com/microsoft/Conversation-Knowl…
Dhanushree-Microsoft May 18, 2026
a676d83
fix: uncomment metadata section in azure.yaml
Dhanushree-Microsoft May 18, 2026
6676241
Potential fix for pull request finding
Dhanushree-Microsoft May 18, 2026
cd469db
Updated Foundry Roles name
AjitPadhi-Microsoft May 18, 2026
0861906
Merge pull request #919 from microsoft/PSL-US-43670
AjitPadhi-Microsoft May 18, 2026
65fb133
fix: update frontend description and port numbers in LocalDevelopment…
Dhanushree-Microsoft May 18, 2026
69d9d7f
Merge branch 'km-gen-depdh' of https://github.com/microsoft/Conversat…
Dhanushree-Microsoft May 18, 2026
29479a1
fix: update environment variable names to VITE_API_BASE_URL in README…
Dhanushree-Microsoft May 19, 2026
88b1868
fix: sanitize CU output to prevent Unicode corruption in citations
Yamini-Microsoft May 19, 2026
e9f9903
Enhance email template, add RG owner tag, scalability input
Vamshi-Microsoft May 20, 2026
d806651
feat: add ENABLE_SCALABILITY output to Azure deploy job
Vamshi-Microsoft May 20, 2026
f73b6ed
refactor: move sanitize_cu_output to shared module and fix \u001a map…
Copilot May 20, 2026
e081526
fix: Sanitize CU output to prevent Unicode corruption in Citation Panel
Avijit-Microsoft May 20, 2026
f2c2e3d
docs: downmerge to dev from main- Update and improve architecture dia…
Avijit-Microsoft May 21, 2026
4b2af3f
Merge pull request #921 from microsoft/psl-workflowchanges
Roopan-Microsoft May 21, 2026
6d72d85
app page loading issue fix
AjitPadhi-Microsoft May 21, 2026
00d58ae
Merge pull request #908 from microsoft/km-gen-depdh
Roopan-Microsoft May 22, 2026
a175037
fix: Update log analytics destination name variable in Bicep and JSON…
Harsh-Microsoft May 22, 2026
9e0695a
fixed page loading issue
AjitPadhi-Microsoft May 22, 2026
138f1de
fixed the suggestion
AjitPadhi-Microsoft May 22, 2026
12d5053
fix: app page loading issue fix
Avijit-Microsoft May 22, 2026
ea8901d
fix: hoist sanitize mapping to module constant, fix U+001E em-dash mi…
Yamini-Microsoft May 22, 2026
f619b80
Merge pull request #926 from microsoft/psl-hb-dcrdestname-fix
Prajwal-Microsoft May 22, 2026
e68f85f
fix: hoist sanitize mapping to module constant, fix U+001E em-dash mi…
Avijit-Microsoft May 22, 2026
29f993b
cp-e2e-fix-dev
Ritesh-Microsoft May 25, 2026
da2cb6c
ckm-copilot-comments-fixed
Ritesh-Microsoft May 25, 2026
8972abf
test: ckm chat history locator updated
Avijit-Microsoft May 25, 2026
be1f7ed
Merge pull request #922 from microsoft/dev
Prajwal-Microsoft May 26, 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
14 changes: 9 additions & 5 deletions .github/workflows/deploy-KMGeneric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,18 @@ jobs:
- name: Check and Create Resource Group
id: check_create_rg
run: |
set -e
echo "Checking if resource group exists..."
set -e
OWNER_TAG_VALUE="${{ github.actor }}"
echo "🔍 Checking if resource group '${{ env.RESOURCE_GROUP_NAME }}' exists..."
rg_exists=$(az group exists --name ${{ env.RESOURCE_GROUP_NAME }})
if [ "$rg_exists" = "false" ]; then
echo "Resource group does not exist. Creating..."
az group create --name ${{ env.RESOURCE_GROUP_NAME }} --location ${{ env.AZURE_LOCATION }} || { echo "Error creating resource group"; exit 1; }
echo "📦 Resource group does not exist. Creating..."
echo "🏷️ Adding Owner tag: Owner=${OWNER_TAG_VALUE}"
az group create --name ${{ env.RESOURCE_GROUP_NAME }} --location ${{ env.AZURE_LOCATION }} --tags "Owner=${OWNER_TAG_VALUE}" || { echo "❌ Error creating resource group"; exit 1; }
else
echo "Resource group already exists."
echo "✅ Resource group already exists."
echo "🏷️ Adding Owner tag on existing resource group: Owner=${OWNER_TAG_VALUE}"
az group update --name "${{ env.RESOURCE_GROUP_NAME }}" --set tags.Owner="${OWNER_TAG_VALUE}" --output none || echo "⚠️ Warning: failed to update Owner tag on existing resource group '${{ env.RESOURCE_GROUP_NAME }}'."
fi
echo "RESOURCE_GROUP_NAME=${{ env.RESOURCE_GROUP_NAME }}" >> $GITHUB_OUTPUT
- name: Generate Unique Solution Prefix
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/deploy-orchestrator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ on:
required: false
default: false
type: boolean
enable_scalability:
description: 'Enable scalability features for WAF deployments (opt-in)'
required: false
default: false
type: boolean
exp:
description: 'Enable EXP'
required: false
Expand Down Expand Up @@ -88,6 +93,7 @@ jobs:
azure_location: ${{ inputs.azure_location }}
resource_group_name: ${{ inputs.resource_group_name }}
waf_enabled: ${{ inputs.waf_enabled }}
enable_scalability: ${{ inputs.enable_scalability }}
exp: ${{ inputs.exp }}
build_docker_image: ${{ inputs.build_docker_image }}
existing_webapp_url: ${{ inputs.existing_webapp_url }}
Expand Down
46 changes: 32 additions & 14 deletions .github/workflows/deploy-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,41 +31,46 @@ on:
default: 'codespace'

azure_location:
description: 'Azure Location For Deployment'
description: 'Azure Region (Non-AI Services)'
required: false
default: 'australiaeast'
type: choice
options:
- 'australiaeast'
- 'eastus'
- 'centralus'
- 'eastasia'
- 'eastus2'
- 'japaneast'
- 'swedencentral'
- 'northeurope'
- 'southeastasia'
- 'uksouth'
- 'westus'
- 'westus2'
resource_group_name:
description: 'Resource Group Name (Optional)'
required: false
default: ''
type: string
build_docker_image:
description: 'Build & Use Custom Images (Optional)'
required: false
default: false
type: boolean
waf_enabled:
description: 'Enable WAF'
description: 'Deploy WAF'
required: false
default: false
type: boolean
EXP:
description: 'Enable EXP'
enable_scalability:
description: 'Enable Scalability (WAF only)'
required: false
default: false
type: boolean
build_docker_image:
description: 'Build And Push Docker Image (Optional)'
EXP:
description: 'Deploy EXP'
required: false
default: false
type: boolean
cleanup_resources:
description: 'Cleanup Deployed Resources'
description: 'Auto Delete RG'
required: false
default: false
type: boolean
Expand All @@ -87,17 +92,17 @@ on:
- 'Smoke-Testing'
- 'None'
AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID:
description: 'Log Analytics Workspace ID (Optional)'
description: 'Existing Log Analytics Workspace Resource ID (Optional)'
required: false
default: ''
type: string
AZURE_EXISTING_AIPROJECT_RESOURCE_ID:
description: 'AI Project Resource ID (Optional)'
description: 'Existing AI Project Resource ID (Optional)'
required: false
default: ''
type: string
existing_webapp_url:
description: 'Existing WebApp URL (Skips Deployment)'
description: 'Run Tests Against Existing RG (Provide Web App URL)'
required: false
default: ''
type: string
Expand All @@ -117,6 +122,7 @@ jobs:
azure_location: ${{ steps.validate.outputs.azure_location }}
resource_group_name: ${{ steps.validate.outputs.resource_group_name }}
waf_enabled: ${{ steps.validate.outputs.waf_enabled }}
enable_scalability: ${{ steps.validate.outputs.enable_scalability }}
exp: ${{ steps.validate.outputs.exp }}
build_docker_image: ${{ steps.validate.outputs.build_docker_image }}
cleanup_resources: ${{ steps.validate.outputs.cleanup_resources }}
Expand All @@ -135,6 +141,7 @@ jobs:
INPUT_AZURE_LOCATION: ${{ github.event.inputs.azure_location }}
INPUT_RESOURCE_GROUP_NAME: ${{ github.event.inputs.resource_group_name }}
INPUT_WAF_ENABLED: ${{ github.event.inputs.waf_enabled }}
INPUT_ENABLE_SCALABILITY: ${{ github.event.inputs.enable_scalability }}
INPUT_EXP: ${{ github.event.inputs.EXP }}
INPUT_BUILD_DOCKER_IMAGE: ${{ github.event.inputs.build_docker_image }}
INPUT_CLEANUP_RESOURCES: ${{ github.event.inputs.cleanup_resources }}
Expand Down Expand Up @@ -197,6 +204,15 @@ jobs:
echo "✅ waf_enabled: '$WAF_ENABLED' is valid"
fi

# Validate enable_scalability (boolean)
ENABLE_SCALABILITY="${INPUT_ENABLE_SCALABILITY:-false}"
if [[ "$ENABLE_SCALABILITY" != "true" && "$ENABLE_SCALABILITY" != "false" ]]; then
echo "❌ ERROR: enable_scalability must be 'true' or 'false', got: '$ENABLE_SCALABILITY'"
VALIDATION_FAILED=true
else
echo "✅ enable_scalability: '$ENABLE_SCALABILITY' is valid"
fi

# Validate EXP (boolean)
EXP_ENABLED="${INPUT_EXP:-false}"
if [[ "$EXP_ENABLED" != "true" && "$EXP_ENABLED" != "false" ]]; then
Expand Down Expand Up @@ -297,6 +313,7 @@ jobs:
echo "azure_location=$LOCATION" >> $GITHUB_OUTPUT
echo "resource_group_name=$INPUT_RESOURCE_GROUP_NAME" >> $GITHUB_OUTPUT
echo "waf_enabled=$WAF_ENABLED" >> $GITHUB_OUTPUT
echo "enable_scalability=$ENABLE_SCALABILITY" >> $GITHUB_OUTPUT
echo "exp=$EXP_ENABLED" >> $GITHUB_OUTPUT
echo "build_docker_image=$BUILD_DOCKER" >> $GITHUB_OUTPUT
echo "cleanup_resources=$CLEANUP_RESOURCES" >> $GITHUB_OUTPUT
Expand All @@ -317,6 +334,7 @@ jobs:
azure_location: ${{ needs.validate-inputs.outputs.azure_location || 'australiaeast' }}
resource_group_name: ${{ needs.validate-inputs.outputs.resource_group_name || '' }}
waf_enabled: ${{ needs.validate-inputs.outputs.waf_enabled == 'true' }}
enable_scalability: ${{ needs.validate-inputs.outputs.enable_scalability == 'true' }}
exp: ${{ needs.validate-inputs.outputs.exp == 'true' }}
build_docker_image: ${{ needs.validate-inputs.outputs.build_docker_image == 'true' }}
cleanup_resources: ${{ needs.validate-inputs.outputs.cleanup_resources == 'true' }}
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/job-azure-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ on:
required: false
default: false
type: boolean
enable_scalability:
description: 'Enable scalability features for WAF deployments (opt-in)'
required: false
default: false
type: boolean
exp:
description: 'Enable EXP'
required: false
Expand Down Expand Up @@ -412,15 +417,19 @@ jobs:
id: check_create_rg
shell: bash
run: |
set -e
set -e
OWNER_TAG_VALUE="${{ github.actor }}"
echo "🔍 Checking if resource group '$RESOURCE_GROUP_NAME' exists..."
rg_exists=$(az group exists --name $RESOURCE_GROUP_NAME)
if [ "$rg_exists" = "false" ]; then
echo "📦 Resource group does not exist. Creating new resource group '$RESOURCE_GROUP_NAME' in location '$AZURE_LOCATION'..."
az group create --name $RESOURCE_GROUP_NAME --location $AZURE_LOCATION --tags ${{ env.RG_TAGS }} || { echo "❌ Error creating resource group"; exit 1; }
echo "🏷️ Adding Owner tag: Owner=${OWNER_TAG_VALUE}"
az group create --name $RESOURCE_GROUP_NAME --location $AZURE_LOCATION --tags ${{ env.RG_TAGS }} "Owner=${OWNER_TAG_VALUE}" || { echo "❌ Error creating resource group"; exit 1; }
echo "✅ Resource group '$RESOURCE_GROUP_NAME' created successfully."
else
echo "✅ Resource group '$RESOURCE_GROUP_NAME' already exists. Deploying to existing resource group."
echo "🏷️ Adding Owner tag on existing resource group: Owner=${OWNER_TAG_VALUE}"
az group update --name "$RESOURCE_GROUP_NAME" --set tags.Owner="${OWNER_TAG_VALUE}" --output none || echo "⚠️ Warning: failed to update Owner tag on existing resource group '$RESOURCE_GROUP_NAME'."
fi
echo "RESOURCE_GROUP_NAME=$RESOURCE_GROUP_NAME" >> $GITHUB_OUTPUT
echo "RESOURCE_GROUP_NAME=$RESOURCE_GROUP_NAME" >> $GITHUB_ENV
Expand Down Expand Up @@ -551,6 +560,7 @@ jobs:
BUILD_DOCKER_IMAGE: ${{ github.event.inputs.build_docker_image || 'false' }}
EXP: ${{ needs.azure-setup.outputs.EXP_ENABLED }}
WAF_ENABLED: ${{ inputs.waf_enabled == true && 'true' || 'false' }}
ENABLE_SCALABILITY: ${{ inputs.enable_scalability == true && 'true' || 'false' }}
AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID: ${{ inputs.azure_env_existing_log_analytics_workspace_rid }}
AZURE_EXISTING_AIPROJECT_RESOURCE_ID: ${{ inputs.azure_existing_aiproject_resource_id }}
USE_CASE: ${{ inputs.use_case }}
Expand All @@ -570,6 +580,7 @@ jobs:
BUILD_DOCKER_IMAGE: ${{ github.event.inputs.build_docker_image || 'false' }}
EXP: ${{ needs.azure-setup.outputs.EXP_ENABLED }}
WAF_ENABLED: ${{ inputs.waf_enabled == true && 'true' || 'false' }}
ENABLE_SCALABILITY: ${{ inputs.enable_scalability == true && 'true' || 'false' }}
AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID: ${{ inputs.azure_env_existing_log_analytics_workspace_rid }}
AZURE_EXISTING_AIPROJECT_RESOURCE_ID: ${{ inputs.azure_existing_aiproject_resource_id }}
USE_CASE: ${{ inputs.use_case }}
Expand Down
25 changes: 23 additions & 2 deletions .github/workflows/job-deploy-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ on:
required: false
type: string
default: 'false'
ENABLE_SCALABILITY:
required: false
type: string
default: 'false'
description: 'Enable scalability features for WAF deployments (true|false)'
AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID:
required: false
type: string
Expand Down Expand Up @@ -206,11 +211,27 @@ jobs:
- name: Configure Parameters Based on WAF Setting
shell: bash
env:
WAF_ENABLED: ${{ inputs.WAF_ENABLED }}
INPUT_WAF_ENABLED: ${{ inputs.WAF_ENABLED }}
INPUT_ENABLE_SCALABILITY: ${{ inputs.ENABLE_SCALABILITY }}
run: |
if [[ "$WAF_ENABLED" == "true" ]]; then
set -euo pipefail
if [[ "$INPUT_WAF_ENABLED" == "true" ]]; then
cp infra/main.waf.parameters.json infra/main.parameters.json
echo "✅ Successfully copied WAF parameters to main parameters file"
SCALABILITY_VALUE="${INPUT_ENABLE_SCALABILITY:-false}"
if [[ "$SCALABILITY_VALUE" != "true" && "$SCALABILITY_VALUE" != "false" ]]; then
echo "❌ ERROR: ENABLE_SCALABILITY must be 'true' or 'false', got: '$SCALABILITY_VALUE'"
exit 1
fi
echo "🔧 Setting enableScalability=${SCALABILITY_VALUE}"
tmpfile=$(mktemp)
if ! jq --argjson v "$SCALABILITY_VALUE" '.parameters.enableScalability.value = $v' infra/main.parameters.json > "$tmpfile"; then
echo "❌ ERROR: jq failed to update enableScalability in infra/main.parameters.json"
rm -f "$tmpfile"
exit 1
fi
mv "$tmpfile" infra/main.parameters.json
echo "✅ enableScalability set to ${SCALABILITY_VALUE}"
else
echo "🔧 Configuring Non-WAF deployment - using default main.parameters.json..."
fi
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/job-deploy-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ on:
required: false
type: string
default: 'false'
ENABLE_SCALABILITY:
required: false
type: string
default: 'false'
description: 'Enable scalability features for WAF deployments (true|false)'
AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID:
required: false
type: string
Expand Down Expand Up @@ -210,10 +215,26 @@ jobs:
shell: bash
env:
INPUT_WAF_ENABLED: ${{ inputs.WAF_ENABLED }}
INPUT_ENABLE_SCALABILITY: ${{ inputs.ENABLE_SCALABILITY }}
run: |
set -euo pipefail
if [[ "$INPUT_WAF_ENABLED" == "true" ]]; then
cp infra/main.waf.parameters.json infra/main.parameters.json
echo "✅ Successfully copied WAF parameters to main parameters file"
SCALABILITY_VALUE="${INPUT_ENABLE_SCALABILITY:-false}"
if [[ "$SCALABILITY_VALUE" != "true" && "$SCALABILITY_VALUE" != "false" ]]; then
echo "❌ ERROR: ENABLE_SCALABILITY must be 'true' or 'false', got: '$SCALABILITY_VALUE'"
exit 1
fi
echo "🔧 Setting enableScalability=${SCALABILITY_VALUE}"
tmpfile=$(mktemp)
if ! jq --argjson v "$SCALABILITY_VALUE" '.parameters.enableScalability.value = $v' infra/main.parameters.json > "$tmpfile"; then
echo "❌ ERROR: jq failed to update enableScalability in infra/main.parameters.json"
rm -f "$tmpfile"
exit 1
fi
mv "$tmpfile" infra/main.parameters.json
echo "✅ enableScalability set to ${SCALABILITY_VALUE}"
else
echo "🔧 Configuring Non-WAF deployment - using default main.parameters.json..."
fi
Expand Down
Loading
Loading