Add opt-in --file-order-auto+ for dependency-based file ordering #19647
Azure Pipelines / fsharp-ci
failed
Apr 27, 2026 in 1h 49m 31s
Build #20260427.15 had test failures
Details
- Failed: 1 (0.00%)
- Passed: 118,517 (97.50%)
- Other: 3,042 (2.50%)
- Total: 121,560
Annotations
Check failure on line 5583 in Build log
azure-pipelines / fsharp-ci
Build log #L5583
(NETCORE_ENGINEERING_TELEMETRY=Test) Failure running tests
Check failure on line 5584 in Build log
azure-pipelines / fsharp-ci
Build log #L5584
Cmd.exe exited with code '1'.
azure-pipelines / fsharp-ci
FSharpChecker.FileOrderAutoIncremental.misordered project type-checks under --file-order-auto+
System.Exception : Project TestProject_c773fd28 failed initial check:
[|D:\a\_work\1\s\artifacts\bin\FSharp.Compiler.ComponentTests\Release\net10.0\test-projects\TestProject_c773fd28\FileLast.fs (4,5)-(4,17) typecheck error The value, namespace, type or module 'ModuleSecond' is not defined.;
D:\a\_work\1\s\artifacts\bin\FSharp.Compiler.ComponentTests\Release\net10.0\test-projects\TestProject_c773fd28\FileLast.fs (5,5)-(5,16) typecheck error The value, namespace, type or module 'ModuleThird' is not defined.;
D:\a\_work\1\s\artifacts\bin\FSharp.Compiler.ComponentTests\Release\net10.0\test-projects\TestProject_c773fd28\FileSecond.fs (4,5)-(4,16) typecheck error The value, namespace, type or module 'ModuleFirst' is not defined.;
D:\a\_work\1\s\artifacts\bin\FSharp.Compiler.ComponentTests\Release\net10.0\test-projects\TestProject_c773fd28\FileThird.fs (4,5)-(4,16) typecheck error The value, namespace, type or module 'ModuleFirst' is not defined.|]
Raw output
at FSharp.Test.ProjectGeneration.SaveAndCheckProject@926-8.Invoke(FSharpCheckProjectResults results) in D:\a\_work\1\s\tests\FSharp.Test.Utilities\ProjectGeneration.fs:line 929
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 527
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
at Microsoft.FSharp.Control.AsyncResult`1.Commit() in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 453
at Microsoft.FSharp.Control.AsyncPrimitives.RunImmediate[a](CancellationToken cancellationToken, FSharpAsync`1 computation) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1158
at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronously[T](CancellationToken cancellationToken, FSharpAsync`1 computation, FSharpOption`1 timeout) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1164
at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeout, FSharpOption`1 cancellationToken) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1514
at FSharp.Test.ProjectGeneration.ProjectWorkflowBuilder.Execute(FSharpAsync`1 workflow) in D:\a\_work\1\s\tests\FSharp.Test.Utilities\ProjectGeneration.fs:line 1028
at FSharp.Test.ProjectGeneration.ProjectWorkflowBuilder.Run(FSharpAsync`1 workflow) in D:\a\_work\1\s\tests\FSharp.Test.Utilities\ProjectGeneration.fs:line 1036
at FSharpChecker.FileOrderAutoIncremental.misordered project type-checks under --file-order-auto+() in D:\a\_work\1\s\tests\FSharp.Compiler.ComponentTests\FSharpChecker\FileOrderAutoIncremental.fs:line 35
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Loading