Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Aug 19, 2024

Backport of #106511 to release/9.0

/cc @ericstj @tarekgh

Customer Impact

  • Customer reported

When using the configuration source generator on a type that has a cycle in it's generic parameter the source generator will crash with a stack overflow, eg:

public sealed class TreeElement : Dictionary<string, TreeElement>;

Regression

  • No

Testing

Validated customer reported type, unit tests added.

Risk

Low, only impacts users of source generator and only paths where we inspect element types.

@dotnet-policy-service
Copy link
Contributor

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

Copy link
Member

@jeffhandley jeffhandley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for RC2. Reliability issue that we'd service for.

@ericstj ericstj added the Servicing-approved Approved for servicing release label Aug 22, 2024
@ericstj
Copy link
Member

ericstj commented Aug 22, 2024

/azp run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@ericstj
Copy link
Member

ericstj commented Aug 22, 2024

Build had the failure due to ILC problem. Rerunning to ensure we get a complete build.

@ericstj ericstj merged commit 5ec43e0 into release/9.0 Aug 23, 2024
@jkotas jkotas deleted the backport/pr-106511-to-release/9.0 branch August 24, 2024 04:46
@github-actions github-actions bot locked and limited conversation to collaborators Sep 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants