microsoft / microsoft/vscode-azurecontainerapps

No-op update of Scaling settings changes minReplicas from null to 0

Open
#1,097 0 comments 1 reaction 2 assignees View on GitHub

@motm32 is already working on this.

Since Jul 8, 2026.

  • #1112 by @copilot-swe-agent — 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:

  1. Create an Azure Container App.
  2. Expand the above container app -> Right-click Scaling node and select "View Properties".
  3. Verify that the configuration contains: "minReplicas": null.
  4. Expand the Scaling node and observe that it displays Min / max replicas: 0 / 10.
  5. Right-click the Scaling node and select "Edit Scaling Range...".
  6. Without making any changes, press Enter to save and deploy.
  7. 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:

  1. UI default value (0) is treated as user input during save.
  2. Leads to unintended configuration mutation.
  3. Breaks distinction between unset (null) and explicit (0) values.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.