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

Export initial rules subscriptions #9561

Merged

Conversation

harleend
Copy link
Contributor

@harleend harleend commented Oct 16, 2024

Microsoft Reviewers: Open in CodeFlow

@harleend
Copy link
Contributor Author

The current DTBB design in CPS is subscription based. As new subscriptions are processed, it leads to the cancellation or requeuing of builds, which can sometimes result in builds being in an invalid state. To address this issue, we've recently defined new MEF metadata in CPS, that take rule name as input to pre-identify design time build targets subscriptions to minimize the need for repeated build cancellations. This is also applicable to C# DevKit, where the logs indicate numerous cancellations.

@harleend harleend marked this pull request as ready for review October 16, 2024 17:14
@harleend harleend requested a review from a team as a code owner October 16, 2024 17:14
@drewnoakes drewnoakes added Tenet-Performance This issue affects the "Performance" tenet. Feature-Rules/Properties Performance-Scenario-Solution-Open This issue affects solution open performance. labels Oct 24, 2024
@drewnoakes drewnoakes merged commit 267e898 into dotnet:main Oct 24, 2024
5 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 17.12 milestone Oct 24, 2024
drewnoakes added a commit to drewnoakes/project-system that referenced this pull request Oct 25, 2024
Two recent PRs merged and caused a simple build break, which is fixed here.

- dotnet#9561
- dotnet#9552
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Rules/Properties Performance-Scenario-Solution-Open This issue affects solution open performance. Tenet-Performance This issue affects the "Performance" tenet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants