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

update FCS and FSharp.Core for new release #208

Merged
merged 1 commit into from
May 15, 2024
Merged

update FCS and FSharp.Core for new release #208

merged 1 commit into from
May 15, 2024

Conversation

baronfel
Copy link
Collaborator

No description provided.

Comment on lines +24 to +25
FSharp.Compiler.Service (43.8.300)
FSharp.Core (8.0.300)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@TheAngryByrd two questions here:

  • This is quite a bump in terms of allowed FSharp.Core versions. Library guidelines suggest using the lowest-available FSharp.Core to help compat, but F.C is tightly bound to FCS. Is this fine for the ecosystem of consumers we have?
  • Since this FCS provides snapshots, do we want to grab/copy/modify the code you have in FSAC and provide helper functions here for mapping cracked projects to snapshots so that others can make use of it?

Copy link
Member

Choose a reason for hiding this comment

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

This is quite a bump in terms of allowed FSharp.Core versions. Library guidelines suggest using the lowest-available FSharp.Core to help compat, but F.C is tightly bound to FCS. Is this fine for the ecosystem of consumers we have?

Yeah this part always kind of sucks.

The amount of surface area of FCS we use is pretty small and almost feels like it should be delivered as a source dependency. However if we want ProjectSnapshot we have to bump it and just deal with it unless we want to ship versions based on TFM or something. Speaking of ProjectSnapshot...

Since this FCS provides snapshots, do we want to grab/copy/modify the code you have in FSAC and provide helper functions here for mapping cracked projects to snapshots so that others can make use of it?

While I don't necessarily have a problem with it there's a few things to consider:

  1. FCS already provides a F# Options -> ProjectSnapshot which might be enough for most people's needs. It's another call but not really that detrimental.
  2. FSAC's implementation heavily tied to F# Data Adaptive. The Adaptive stuff is beneficial for longer lived services like FSAC, but for shorter one shot tools it's less necessary. And for longer lived services, I think that's what ProjectSystem is supposed to be.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Excellent - I did a quick spike of the adaptive stuff and came to the same conclusions. Thanks for sanity-checking me. I'll go ahead with this as it is then so we can continue the rollout.

@baronfel baronfel merged commit 9b5e592 into main May 15, 2024
9 checks passed
@baronfel baronfel deleted the fcs-bump branch May 15, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants