Skip to content

Conversation

baronfel
Copy link
Member

@baronfel baronfel commented Sep 8, 2025

Fix #50680

This looks like a regression caused by #50455 - clearly we have some testing gaps.

If this Target ever executes in a context where no single-RID is specified, some RID-specific assets shouldn't be processed for that single-RID. Instead, processing for any passed-in RIDs should wait until the part of the processing where all of the RuntimeIdentifiers are iterated over.

To make this easier to see/check, I enabled nullability for this Target and supporting logic.

@baronfel baronfel requested a review from a team September 8, 2025 15:43
Copy link
Member

@joeloff joeloff left a comment

Choose a reason for hiding this comment

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

LGTM, but I don't know this part of the SDK that well.

Copy link
Member

@dsplaisted dsplaisted left a comment

Choose a reason for hiding this comment

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

Is it possible to add a test case for the case that was crashing? Or does that require workloads installed which we won't have in the test environment?

@baronfel
Copy link
Member Author

baronfel commented Sep 8, 2025

Is it possible to add a test case for the case that was crashing? Or does that require workloads installed which we won't have in the test environment?

definitely - working on boosting coverage of this Task right now. Copilot's doing a great job helping synthesize some test cases.

@baronfel baronfel force-pushed the fix-process-framework-references-ridless-crash branch from ee40d57 to bbb2c31 Compare September 8, 2025 20:24
@baronfel
Copy link
Member Author

baronfel commented Sep 8, 2025

Added a bunch of additional test coverage

@baronfel baronfel enabled auto-merge (squash) September 8, 2025 20:44
@baronfel baronfel merged commit 1a50cd4 into dotnet:release/10.0.1xx Sep 8, 2025
26 of 27 checks passed
@baronfel baronfel deleted the fix-process-framework-references-ridless-crash branch September 8, 2025 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants