Move build to .NET 10, still keep runtime net8/9/10#1537
Open
Thorium wants to merge 6 commits into
Open
Conversation
The previous commit narrowed the multi-targeted projects to a single TFM per CI leg via $(TargetTfm). That broke the net9/net10 legs at "Run Build": solution projects that target a fixed net8.0 and reference FsAutoComplete.Core (FsAutoComplete.Tests.TestExplorer, OptionAnalyzer) could no longer resolve a matching TFM once Core was narrowed to net9.0/net10.0 (NU1201). Keep the libraries multi-targeted as plain net8.0;net9.0;net10.0 so fixed-TFM consumers always find their framework. Every leg still builds with the .NET 10 SDK (the actual fix for the Paket-10-is-net9-only restore failure) and just runs `dotnet test -f <test_tfm>` for the framework under test. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…rocess) This test cancels a debug run without attaching, leaving the spawned debugger-waiting process parked; on the net8 runtime that orphan stalls the test host (blame-hang). Mark it pending on net8; net9/net10 still exercise the path. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The net8 branch of these tooltips still expected `obj`, but net8 now renders `objnull` (nullness-aware display) like net9/net10 — the per-TFM #if was a stale artifact from when net8 resolved a non-nullness FSharp.Core. Drop the conditional and expect `objnull` everywhere. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
waitForLatestDiagnostics buffers publishDiagnostics batches over a window and took Seq.last, which throws "input sequence was empty" when the window closes with no batch (e.g. the documentAnalyzed signal arrives first under CI load). Because this runs in the cached document setup, Helpers.Cache re-raised the crash to every test in the group (seen as flaky AdjustConstant failures on a single leg). Treat "no batch published" as empty diagnostics instead. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Author
|
The CI passes. I know this is not an ideal world, but this PR does resolve the CI issue.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move build to .NET 10, still keep runtime net8/9/10