Open MikaelMayer opened 6 months ago
Perhaps @keyboardDrummer ?
Hit that one again today https://github.com/dafny-lang/dafny/actions/runs/9098687342/job/25011441051?pr=5441
Hit this issue again here https://github.com/dafny-lang/dafny/actions/runs/9114307966/job/25059377435?pr=5440
Somehow in the final compilation, one of the sources is not considered owned by the project, so its errors are reported as "out of project" diagnostics on the project file. Caching on determining the project file of a file is turned off, and determinedRootFiles.Roots
must contain the not owned file because diagnostics coming from the file are reported by the project.
Adding extra logging in https://github.com/dafny-lang/dafny/pull/5447
Hit again https://github.com/dafny-lang/dafny/actions/runs/12032701079/job/33545154044?pr=5933: Here is the log
info: default[0]
Waited for 49 seconds for new notification.
Last received notification was CompilationStatusParams {
Uri = file:///tmp/gfmru11l.5jz/source1.dfy,
Version = 1,
Status = ResolutionFailed
}
[xUnit.net 00:03:14.65] Microsoft.Dafny.LanguageServer.IntegrationTest.Synchronization.CachingTest.DocumentAddedToExistingProjectDoesNotCrash [FAIL]
[xUnit.net 00:03:14.65] System.Threading.Tasks.TaskCanceledException : A task was canceled.
[xUnit.net 00:03:14.65] Stack Trace:
[xUnit.net 00:03:14.66] /home/runner/work/dafny/dafny/dafny/Source/DafnyLanguageServer.Test/Util/TestNotificationReceiver.cs(58,0): at
Seen here: https://github.com/dafny-lang/dafny/actions/runs/9070337566/job/24922923041?pr=5433