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

Fix inlining regression: https://github.com/dotnet/fsharp/issues/17161 #17189

Merged
merged 1 commit into from
May 21, 2024

Conversation

KevinRansom
Copy link
Member

@KevinRansom KevinRansom commented May 20, 2024

Description
A recent feature impacting the IL Visibility of some F# types had an unintended impact to the F# optimization feature. The optimizer is incorrectly unable to inline some code that has "private" visibility, even when the inlined variables are "in-scope". The fix removes the code that aggressively and incorrectly detects this private visibility.

Regression? (was it working in a previous release or preview?)
Yes
this is a regression, it has been observed internally, as well as by external developers using the 8.0.300 preview SDK.

Risk (see taxonomy)
Low: it removes an unnecessary, incorrect warning.

Testing

New automated regression tests added.

Original issue: #17161

PR into main: 9d05359

Copy link
Contributor

github-actions bot commented May 20, 2024

⚠️ Release notes required, but author opted out

Warning

Author opted out of release notes, check is disabled for this pull request.
cc @dotnet/fsharp-team-msft

@KevinRansom KevinRansom added the NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes label May 20, 2024
@KevinRansom KevinRansom reopened this May 20, 2024
@dotnet dotnet deleted a comment from github-actions bot May 21, 2024
@vzarytovskii vzarytovskii merged commit 565e08f into dotnet:release/dev17.10 May 21, 2024
34 of 36 checks passed
@baronfel
Copy link
Member

Y'all, you gotta stop merging PRs that are waiting for servicing approval 😅

Now this needs to be reverted again and a new PR prepped so that Tactics can review at today's servicing meeting.

@vzarytovskii
Copy link
Member

vzarytovskii commented May 21, 2024

Y'all, you gotta stop merging PRs that are waiting for servicing approval 😅

Now this needs to be reverted again and a new PR prepped so that Tactics can review at today's servicing meeting.

Reverting PRs back and forth messed up our CI, previous mergws were to revert this change in main. This fixes it. I cancelled the build for insertion. If it's not approved, we will revert it and deal with merges.

@baronfel
Copy link
Member

The problem is that merging this makes is disappear from the list that Tactics reviews during the meeting - https://tacticsview.azurewebsites.net/ is powered by looking for PRs that are open with the servicing-consider label. The typical process would be to do the work in main, cherry pick to a release branch, get tactics approval on that PR, then merge and let code flow happen to SDK.

@vzarytovskii
Copy link
Member

The typical process would be to do the work in main, cherry pick to a release branch, get tactics approval on that PR, then merge and let code flow happen to SDK.

Yes, and it wasn't done like that, hence issues with code flow. Revert was undoing the fix in both 17.11 and main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes Servicing-consider
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants