Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 16, 2025

Backport of #8800 to release/9.2

/cc @eerhardt

Customer Impact

Customers who only want to dotnet run their app and use role assignments will no longer be blocked on using role assignments. Instead of throwing in both run mode and publish mode, changing the behavior to only throw in publish mode. This allows developers to use role assignments without explicitly adding a compute environment (like Azure Container Apps).

Testing

Manually tested the scenario logged - assigning a role to a storage account during dotnet run.

Updated automated tests to respect the new behavior.

Risk

One risk is that customers will now have apps that work in run mode, but fail during publish because the exception is only thrown in publish mode. Publish mode shouldn't be affected at all with this change.

Regression?

No. You couldn't assign role assignments before 9.2.

We are throwing too early. When users only want to dotnet run their app and use role assignments, we shouldn't be blocking them on using role assignments. Only when you go to publish, should we throw saying that your infrastructure doesn't support targeted role assignments.

Fix #8778
…sources. In those cases we still want the default role assignments to apply.
@danmoseley danmoseley requested a review from joperezr April 18, 2025 17:53
@danmoseley danmoseley enabled auto-merge (squash) April 18, 2025 17:53
@danmoseley danmoseley merged commit 8de8d4b into release/9.2 Apr 18, 2025
174 checks passed
@danmoseley danmoseley deleted the backport/pr-8800-to-release/9.2 branch April 18, 2025 17:57
@github-actions github-actions bot locked and limited conversation to collaborators May 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Re-opened Github-Action PR Servicing-consider Issue for next servicing release review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants