-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Enable Code Fixes in F# (RC3 regression) #16799
Enable Code Fixes in F# (RC3 regression) #16799
Conversation
Hi @saul, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution! TTYL, DNFBOT; |
@saul, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR. |
Tagging @CyrusNajmabadi as this is a result of #15961 |
I think the better fix would be to just go back to: [VisualStudio.Utilities.ContentType(ContentTypeNames.RoslynContentType)] @cartermp Do we have F# code actions now? I disabled this a while back because of an F# bug that said this should be disabled due to it having no code actions. |
I'm happy to do that too. If I make that change will this PR be good to go into RTM? See @cartermp's comment on dotnet/fsharp#2329 for confirmation. |
@cartermp Can you talk to @natidea and @MattGertz about if this meets the bar at this point? Thanks! |
@saul Please make the change. I cannot guarantee anything unfortunately. However, my hope is that we would take this as it's very low risk, and clearly provides a lot of value for the F# user base. |
Can I get clarification on how this regressed? As Cyrus says, the bar is extremely high at this point -- basically major perf issues and crashes. I might be able to sell a regression, but I'd need to know a lot more about what happened. Thanks. |
@MattGertz The timeline:
So, prior to the change made in December (#15961), F# would have been able to finish up their code-action work, and ship it, and it would just light up. Now, it won't even light up, even though they've done their side. The fix is very simple, and is essentially just returning us to the state we were at prior to my change. -- Note: I cannot determine if this should be classified as a 'regression' or not. In one sense, it's not. F# code actions have never shipped. So there is no user visible diminishing of features. However, in another sense it is. The product was previously setup so that F# could ship their Code-Action features if they felt they were ready. Then, we changed it so that even if they got ready, they could not ship it. So, we regressed the 'ability' for them to ship this stuff on their own. |
Thanks, @CyrusNajmabadi , that helps a lot, and reverting to previous state is also a happy solution in Shiproom -- less risky. Any chance this is ready for today's Shiproom? This would be much easier to take today as well -- bar next week will be into nosebleed territory. |
👍 |
let me get another signoff @MattGertz |
Great. Gimme a VSO bug w/template copied & set to Submit, and we're all set to go, then. |
@MattGertz Making VSO bug now. |
Thanks for taking a look at this so quickly @CyrusNajmabadi and @MattGertz. As requested I've reverted to the state prior to Cyrus's #15961 PR. |
Perfect, & good timing. Leaving for Shiproom in a few minutes. |
Approved! :-) |
Thanks! |
Thanks for the quick turnaround - the rest of the F# community will really appreciate it :) |
Thanks for the contribution! Note: we're basically almost completely shut down. But we'll still be totally happy to accept more stuff, just off of the post-dev15 branch. Thanks! |
Big thanks @saul! |
Great that this is going back in - thanks all for doing it. To be fair, it seems the original request seems to have been to provide an option to disable the code fixes, not to actually disable it permanently, so there seems to have been a misunderstanding at some point - but it's a relief that this has been undone. Thanks all. |
Customer scenario
In RC3, Code Fixes no longer work in F#. The F# community has put in a significant amount of effort to add new Roslyn-based Code Fixes and it would be a great shame if we can't get this fixed for RTM.
Bugs this fixes:
Fixes dotnet/fsharp#2329
Workarounds, if any
No workaround
Risk
No risk
Performance impact
Low. Will act the same as RC2
Is this a regression from a previous update?
This is a regression from RC3
How was the bug found?
F# contributor testing