Skip to content

Revert PR #23052 behavior under new app context switch#25613

Merged
PureWeen merged 2 commits into
release/8.0.1xx-sr9from
measureinvalidated_switch
Oct 31, 2024
Merged

Revert PR #23052 behavior under new app context switch#25613
PureWeen merged 2 commits into
release/8.0.1xx-sr9from
measureinvalidated_switch

Conversation

@PureWeen

Copy link
Copy Markdown
Member

Description of Change

PR #23052 introduced some new behavior with unforeseen performance implications (reported in #24551 and #25264). It was included in a servicing release and it's currently blocking us from moving to the latest servicing update. While we already have PRs to rectify the situation (#24823, or alternatively #25291) they are quite intrusive and thus not suitable for servicing.

This leaves us with very few options. I suggest conditionally reverting the changes from #23052 under an Microsoft.Maui.RuntimeFeature.UseLegacyMeasureInvalidatedBehavior app context switch. This should allow us to optionally restore the .NET 8.0.82 behavior until a proper fix is in place.

@PureWeen PureWeen requested a review from a team as a code owner October 30, 2024 16:30
@PureWeen PureWeen requested review from Eilon and StephaneDelcroix and removed request for a team October 30, 2024 16:30
@PureWeen PureWeen added this to the .NET 8 SR9.3 milestone Oct 30, 2024
@PureWeen PureWeen added the do-not-merge Don't merge this PR label Oct 30, 2024
@PureWeen PureWeen merged commit a826952 into release/8.0.1xx-sr9 Oct 31, 2024
@PureWeen PureWeen deleted the measureinvalidated_switch branch October 31, 2024 17:15
@PureWeen

PureWeen commented Nov 4, 2024

Copy link
Copy Markdown
Member Author

/backport to release/8.0.1xx-sr10

@github-actions

github-actions Bot commented Nov 4, 2024

Copy link
Copy Markdown
Contributor

Started backporting to release/8.0.1xx-sr10: https://github.com/dotnet/maui/actions/runs/11671545378

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants