Azure / Azure/static-web-apps

Cannot revert the traffic of the production environment with Traffic Splitting in Static Web Apps

Open
#1,234 7 comments 0 reactions 1 assignee Claimed by @thomasgauvin View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm currently evaluating the Traffic Splitting feature of Static Web Apps, and I've encountered the following issue:

Steps to Reproduce the Issue

1. Deploy two environments, Production, and Preview, to Static Web Apps.
2. In the Traffic Splitting settings window, set Production to 0% and Preview to 100%.
3. Attempt to revert Production back to 100% in the Traffic Splitting settings window, but find that Production is grayed out and cannot be selected.
![image](https://github.com/Azure/static-web-apps/assets/115155025/57783b44-e932-4b6c-8506-a755450ec3a1)
5. When I delete the Preview environment, the traffic for Production returns to 100%.

Is this behavior expected? Once I set the traffic for the Production environment to 0% once, is there any way to revert it back to 100% without deleting the Preview environment?

Thank you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.