Skip to content

fix: post deployment issue fix - #2374

Merged
Roopan-Microsoft merged 1 commit into
Azure-Samples:devfrom
PadhiAjit-Microsoft:post-deploy-fix
Aug 24, 2026
Merged

Roopan-Microsoft merged 1 commit into
Azure-Samples:devfrom
PadhiAjit-Microsoft:post-deploy-fix

Conversation

@PadhiAjit-Microsoft

Copy link
Copy Markdown
Contributor

Purpose

  • This pull request updates the way dependencies are installed before running post_provision.py in both the PowerShell (post_deployment_setup.ps1) and Bash (post_deployment_setup.sh) post-provision scripts. The main improvement is to ensure only the necessary dependencies are installed, and any existing packages are left unchanged, increasing reliability and efficiency in different provisioning scenarios.

Dependency installation improvements:

  • Updated both post_deployment_setup.ps1 and post_deployment_setup.sh to use uv run --only-group provision --inexact instead of uv run --no-sync when running post_provision.py. This change ensures exactly the required dependencies (httpx, psycopg2-binary, azure-identity, azure-search-documents) are present, and existing packages are not modified unnecessarily. [1] [2]
  • Improved comments in both scripts to clarify the purpose and behavior of the new dependency installation command. [1] [2]

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@Roopan-Microsoft
Roopan-Microsoft merged commit 3113a19 into Azure-Samples:dev Aug 24, 2026
1 of 2 checks passed
@PadhiAjit-Microsoft
PadhiAjit-Microsoft deleted the post-deploy-fix branch August 24, 2026 08:02

This branch had an error being deployed

1 failed deployment
production — f4538484 Deployed Aug 24, 2026 by PadhiAjit-Microsoft via azd template validation #92
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.

2 participants