Skip to content

Add test for syncing complex forms twice #460

Add test for syncing complex forms twice

Add test for syncing complex forms twice #460

Triggered via pull request November 28, 2024 03:24
Status Failure
Total duration 8m 4s
Artifacts

fw-lite.yaml

on: pull_request
Build FW Lite and run tests
7m 50s
Build FW Lite and run tests
Publish FW Lite app for Mac
0s
Publish FW Lite app for Mac
Publish FW Lite app for Linux
0s
Publish FW Lite app for Linux
Publish FW Lite app for Windows
0s
Publish FW Lite app for Windows
Create Release
0s
Create Release
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 13 warnings
FwLiteProjectSync.Tests.Sena3SyncTests.DryRunImport_MakesTheSameChangesAsImport
System.IO.InvalidDataException : Central Directory corrupt. ---- System.IO.IOException : An attempt was made to move the position before the beginning of the stream.
FwLiteProjectSync.Tests.Sena3SyncTests.SecondSena3SyncDoesNothing
System.IO.InvalidDataException : Central Directory corrupt. ---- System.IO.IOException : An attempt was made to move the position before the beginning of the stream.
FwLiteProjectSync.Tests.Sena3SyncTests.DryRunImport_MakesNoChanges
System.IO.InvalidDataException : Central Directory corrupt. ---- System.IO.IOException : An attempt was made to move the position before the beginning of the stream.
FwLiteProjectSync.Tests.Sena3SyncTests.DryRunSync_MakesNoChanges
System.IO.InvalidDataException : Central Directory corrupt. ---- System.IO.IOException : An attempt was made to move the position before the beginning of the stream.
FwLiteProjectSync.Tests.Sena3SyncTests.FirstSena3SyncJustDoesAnSync
System.IO.InvalidDataException : Central Directory corrupt. ---- System.IO.IOException : An attempt was made to move the position before the beginning of the stream.
Build FW Lite and run tests
Process completed with exit code 1.
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/LcmUtils/LcmThreadedProgress.cs#L10
The event 'LcmThreadedProgress.Canceling' is never used
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/Api/UpdateProxy/UpdateSenseProxy.cs#L121
Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD110.md)
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/Api/UpdateProxy/UpdateEntryProxy.cs#L53
Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD110.md)
Build FW Lite and run tests: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L16
Parameter 'dbContext' is unread.
Build FW Lite and run tests: backend/FwLite/LcmCrdt/Changes/RemoveSemanticDomainChange.cs#L11
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 FW Lite and run tests: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L319
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 FW Lite and run tests: backend/FwLite/LcmCrdt/RemoteSync/CrdtHttpSyncService.cs#L53
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 FW Lite and run tests: backend/FwLite/FwLiteProjectSync/DryRunMiniLcmApi.cs#L30
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(MiniLcm.Models.WritingSystemType)2' is not covered.
Build FW Lite and run tests: backend/FwLite/LocalWebApp/Routes/HistoryRoutes.cs#L45
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge.Tests/Fixtures/MockFwProjectList.cs#L6
Parameter 'IOptions<FwDataBridgeConfig> config' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Build FW Lite and run tests: backend/FwLite/FwLiteProjectSync.Tests/Sena3SyncTests.cs#L18
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 FW Lite and run tests: backend/FwLite/FwLiteProjectSync.Tests/Sena3SyncTests.cs#L22
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.