You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves 12 inline comments from Copilot reviewer on PR #1009:
setup_local_dev.sh:
* Add Bash 4+ requirement check at top (macOS ships 3.2 — `declare -A`
is not available there). Fail with actionable Homebrew install hint.
* Remove silent fallback to Python <3.12 in interpreter detection; rely on
check_prerequisites to fail loudly when 3.12+ is missing.
* Make generated .vscode/settings.json `python.defaultInterpreterPath`
OS-aware (bin/python on Linux/macOS, Scripts/python.exe on Windows).
setup_local_dev.ps1:
* Add `#Requires -Version 7.0` plus runtime guard — `??` and
`Out-File -Encoding utf8NoBOM` aren't supported on Windows PowerShell 5.1.
* Remember the detected Python invocation (e.g., `py -3.12`) and reuse it
when creating the frontend venv, instead of unconditionally calling
`python -m venv` (which fails when `python` isn't on PATH).
deploy_to_azure.sh:
* Fix az_retry comment to say "up to 4 attempts" to match the loop bound.
* Correct step header in update_azure_resources from "Step 7" to "Step 8"
so log output matches docs/section structure.
* Add `_has_az_executable` helper using `type -P az` so the prereq check
isn't satisfied by the `az()` wrapper function defined earlier in the
script when the real Azure CLI isn't installed.
deploy_to_azure.ps1:
* In Configure-AcrOnResources, capture exit code of BOTH frontend
`az webapp config` calls. Previously only the second was checked, so a
failure to set DOCKER_REGISTRY_SERVER_URL could be silently masked by
a successful acrUseManagedIdentityCreds update.
docs:
* DeployLocalChanges.md — add Step 1b (Azure roles & permissions check)
to the "What It Does (in order)" list.
* AutomatedLocalSetup.md — add Step 2b (Azure roles & permissions check)
to the "What It Does (in order)" list.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments