microsoft / microsoft/vscode-azurecontainerapps
No-op update of Scaling settings changes minReplicas from null to 0
Open
AT-CTI
bug
- Dominant language
- TypeScript
- Stars
- 42
- Forks
- 21
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 2
Description
OS: Win 11 x64
Build Version: 20260609.1
Repro Steps:
- Create an Azure Container App.
- Expand the above container app -> Right-click Scaling node and select "View Properties".
- Verify that the configuration contains:
"minReplicas": null. - Expand the Scaling node and observe that it displays
Min / max replicas: 0 / 10. - Right-click the Scaling node and select "Edit Scaling Range...".
- Without making any changes, press Enter to save and deploy.
- After deployment completes, right-click Scaling node and select "View Properties" again.
Expect:
No configuration changes should be applied when the user does not modify any scaling values. The property should remain: "minReplicas": null.
Actual:
The property is changed to "minReplicas": 0 even though no user changes were made.
More Info:
- UI default value (0) is treated as user input during save.
- Leads to unintended configuration mutation.
- Breaks distinction between unset (null) and explicit (0) values.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.