Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/9.0-preview2] #98551 - Regression in DI scope validation #99010

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 27, 2024

Backport of #98661 to release/9.0-preview2

/cc @carlossanlop @christiaanderidder

Description

The automated dependency update PR from runtime to aspnetcore is currently failing: dotnet/aspnetcore#54055

Two tests were failing:

In both cases the failure is of the form "expected an exception to be thrown, but no exception was thrown". Example of failing build: https://github.com/dotnet/aspnetcore/runs/21630956214

I notice that this started after #96254 was merged 2 days ago, and that PR changes the logic around service scope validation. The PR is not meant to affect the behavior (since it's only intended to add caching) but perhaps it does affect the behavior.

Reproduction Steps

Example of failing build: https://github.com/dotnet/aspnetcore/runs/21630956214

Expected behavior

Service scope validation behavior should be unchanged.

Actual behavior

It no longer throws at the same time that it did before.

Regression?

The behavior was correct in commit ad25468, which is the last one we successfully ingested to dotnet/aspnetcore. The change must have happened since then.

Testing

Unit test included in the fix: #98661

Risk

Low (?)

@ghost
Copy link

ghost commented Feb 27, 2024

Tagging subscribers to this area: @dotnet/area-extensions-dependencyinjection
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #98661 to release/9.0-preview2

/cc @carlossanlop @christiaanderidder

Customer Impact

  • Customer reported
  • Found internally

[Select one or both of the boxes. Describe how this issue impacts customers, citing the expected and actual behaviors and scope of the issue. If customer-reported, provide the issue number.]

Regression

  • Yes
  • No

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

Testing

[How was the fix verified? How was the issue missed previously? What tests were added?]

Risk

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-Extensions-DependencyInjection

Milestone: -

@carlossanlop
Copy link
Member

Failure in runtime (Build browser-wasm linux Release LibraryTests_Threading) is unrelated and pre-existing: #98406

@carlossanlop carlossanlop added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Feb 27, 2024
@carlossanlop
Copy link
Member

Approved by Tactics via email.

@carlossanlop carlossanlop merged commit 64c3513 into release/9.0-preview2 Feb 27, 2024
110 of 117 checks passed
@carlossanlop carlossanlop deleted the backport/pr-98661-to-release/9.0-preview2 branch February 27, 2024 20:39
@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants