Skip to content

Add 'and' keyword autoformatting #236

Add 'and' keyword autoformatting

Add 'and' keyword autoformatting #236

Triggered via pull request January 24, 2025 12:24
Status Failure
Total duration 10m 18s
Artifacts 2

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 24 warnings
[@traits.Category] Misformatted feature file is cleaned up: Tests/Reqnroll.VisualStudio.Specs/Features/Editor/Commands/AutoFormatDocumentCommand.feature#L55
Expected tagged.WaitOne(TimeSpan.FromSeconds(5)) to be True because Auto Format Document() haven't triggered a text change, but found False. at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc) at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs) at Reqnroll.VisualStudio.Specs.StepDefinitions.ProjectSystemSteps.PerformCommand(String commandName, String parameter, Nullable`1 commandTargetKey, Boolean waitForTager) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\ProjectSystemSteps.cs:line 491 at Reqnroll.VisualStudio.Specs.StepDefinitions.ProjectSystemSteps.WhenIInvokeTheCommand(String commandName) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\StepDefinitions\ProjectSystemSteps.cs:line 341 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Reqnroll.Bindings.BindingInvoker.<InvokeBindingAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.Infrastructure.TestExecutionEngine.<ExecuteStepMatchAsync>d__59.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.Infrastructure.TestExecutionEngine.<ExecuteStepAsync>d__56.MoveNext() at Reqnroll.Infrastructure.TestExecutionEngine.<OnAfterLastStepAsync>d__38.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Reqnroll.TestRunner.<CollectScenarioErrorsAsync>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Reqnroll.VisualStudio.Specs.Features.Editor.Commands.AutoFormatDocumentCommandFeature.<ScenarioCleanupAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Reqnroll.VisualStudio.Specs.Features.Editor.Commands.AutoFormatDocumentCommandFeature.<MisformattedFeatureFileIsCleanedUp>d__13.MoveNext() in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Tests\Reqnroll.VisualStudio.Specs\Features\Editor\Commands\AutoFormatDocumentCommand.feature:line 55 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
build
Process completed with exit code 1.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L14
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L10
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.V1/Discovery/RemotingBaseDiscoverer.cs#L40
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L14
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector/Discovery/NoInvokeDependencyProvider.cs#L10
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.V1/Discovery/RemotingBaseDiscoverer.cs#L40
'IBindingInvoker' is obsolete: 'Use async version of the interface (IAsyncBindingInvoker) whenever you can'
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.Generic/AssemblyLoading/AspNetCoreAssemblyResolver.cs#L5
Nullability of reference types in type of parameter 'assemblies' of 'bool AspNetCoreAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string> assemblies)' doesn't match implicitly implemented member 'bool ICompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies)' (possibly because of nullability attributes).
build: Connectors/Reqnroll.VisualStudio.ReqnrollConnector.Generic/AssemblyLoading/NugetCacheAssemblyResolver.cs#L5
Nullability of reference types in type of parameter 'assemblies' of 'bool NugetCacheAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string> assemblies)' doesn't match implicitly implemented member 'bool ICompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies)' (possibly because of nullability attributes).
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build: Reqnroll.VisualStudio/Editor/Services/StepFinderBase.cs#L61
Cannot convert null literal to non-nullable reference type.
build: Reqnroll.VisualStudio/Editor/Commands/RenameStepStepDefinitionClassAction.cs#L50
Dereference of a possibly null reference.
build: Reqnroll.VisualStudio/Editor/Commands/FindUnusedStepDefinitionsCommand.cs#L111
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: Reqnroll.VisualStudio/Editor/Services/DeveroomTaggerProvider.cs#L37
Possible null reference argument for parameter 'projectScope' in 'IDeveroomConfigurationProvider ConfigurationProjectSystemExtensions.GetDeveroomConfigurationProvider(IProjectScope projectScope)'.
build: Reqnroll.VisualStudio/Discovery/ProjectBindingRegistry.cs#L219
Dereference of a possibly null reference.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.

Artifacts

Produced during runtime
Name Size
build-trx-v2024.9.236-ci20250124-236
423 KB
vsix-v2024.9.236-ci20250124-236
19.8 MB