Repository navigation
Set PowerShell 7.6 as the default version - #1171
Francisco Gamino (Francisco-Gamino) wants to merge 2 commits into
Conversation
Update src/worker.config.json so PowerShell 7.6 is selected when FUNCTIONS_WORKER_RUNTIME_VERSION is not explicitly specified.
…set-default-ps-version-7.6
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The reviewed configuration change has no unresolved issues.
Review effort: Lite
Findings: None
What changed in this PR
Updates the default PowerShell worker runtime to version 7.6 when unspecified.
Changes:
- Changes
defaultRuntimeVersionfrom7.4to7.6.
| File | Description |
|---|---|
src/worker.config.json |
Sets PowerShell 7.6 as the default runtime. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "defaultWorkerPath":"%FUNCTIONS_WORKER_RUNTIME_VERSION%/Microsoft.Azure.Functions.PowerShellWorker.dll", | ||
| "supportedRuntimeVersions":["7", "7.2", "7.4", "7.6"], | ||
| "defaultRuntimeVersion": "7.4", | ||
| "defaultRuntimeVersion": "7.6", |
There was a problem hiding this comment.
Asked GHCP on the impact on this change and below was flagged. Can you review?
Question on Durable impact: Apps without FUNCTIONS_WORKER_RUNTIME_VERSION will move from the 7.4 to the 7.6 worker. When ExternalDurablePowerShellSDK is unset, 7.4 defaults to the built-in Durable SDK (?? false). 7.6 defaults to the external one (?? true) and throws ExternalSDKWasNotLoaded if the module isn't imported. So unpinned Durable apps on the built-in SDK would break.
- Which scenarios actually fall back to
defaultRuntimeVersion(deployed apps, or mainly local Core Tools)? - If this break is expected, could we add a
release_notes.mdentry with the fix (pin7.4, import the SDK, or setExternalDurablePowerShellSDK=false)?
Issue describing the changes in this PR
Set PowerShell 7.6 as the default language worker version when
FUNCTIONS_WORKER_RUNTIME_VERSIONis not explicitly specified.Resolves #1165
defaultRuntimeVersionfrom7.4to7.6.Pull request checklist
release_notes.mdAdditional information
Additional PR information