fix entry sync with complex forms #434
fw-lite.yaml
on: pull_request
Build FW Lite and run tests
6m 27s
Publish FW Lite app for Mac
0s
Publish FW Lite app for Linux
0s
Publish FW Lite app for Windows
0s
Create Release
0s
Annotations
10 errors and 11 warnings
FwLiteProjectSync.Tests.EntrySyncTests.CanCreateAComplexFormAndItsComponentInOneSync:
backend/FwLite/FwLiteProjectSync.Tests/EntrySyncTests.cs#L129
System.InvalidOperationException : Sequence contains no matching element
|
FwLiteProjectSync.Tests.SyncTests.CreatingAnEntryInEachProjectSyncsAcrossBoth:
backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L114
System.ArgumentException : An item with the same key has already been added. Key: (c4985b66-7c51-42e5-88f2-127814aa3334, e5db0425-f7ee-4240-ac89-a5a661f881c9, )
|
FwLiteProjectSync.Tests.SyncTests.SemanticDomainsSyncInEntries:
backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L259
System.ArgumentException : An item with the same key has already been added. Key: (dca68e10-a03e-4056-98e2-4586648bf134, f638f7de-b6d6-4937-8af3-ea9428ce5c0c, )
|
FwLiteProjectSync.Tests.SyncTests.SemanticDomainsSyncBothWays:
backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L222
System.ArgumentException : An item with the same key has already been added. Key: (0e1bd504-843b-429e-a466-68b16fea6424, f066f6fd-a3bf-4027-a4a7-1acf7cf3f2d8, )
|
FwLiteProjectSync.Tests.SyncTests.FirstSyncJustDoesAnImport:
backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L81
System.ArgumentException : An item with the same key has already been added. Key: (8532a708-4864-4da6-b2b4-85b0c73d72c1, ed4407c0-ce68-42f7-9e7b-4dc314e17ff2, )
|
FwLiteProjectSync.Tests.SyncTests.UpdatingAnEntryInEachProjectSyncsAcrossBoth:
backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L303
System.ArgumentException : An item with the same key has already been added. Key: (17223958-4d15-48d6-ac19-0bd2624740d7, 5a345113-3444-47d9-9288-821f71d5d784, )
|
FwLiteProjectSync.Tests.SyncTests.AddingASenseToAnEntryInEachProjectSyncsAcrossBoth:
backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L365
System.ArgumentException : An item with the same key has already been added. Key: (8532a517-e124-467c-9b2b-5e80b17e189f, 0092e7bb-58b7-48b9-aa06-e0d15c7e8049, )
|
FwLiteProjectSync.Tests.SyncTests.PartsOfSpeechSyncInEntries:
backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L181
System.ArgumentException : An item with the same key has already been added. Key: (5bf24bdc-af83-4c32-be3a-1454503dc3c6, 596806ca-7dc5-412e-86d7-8cdee42e46d0, )
|
FwLiteProjectSync.Tests.SyncTests.PartsOfSpeechSyncBothWays:
backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L146
System.ArgumentException : An item with the same key has already been added. Key: (accb7337-76c6-4845-8d68-f7c8ce4627c4, c521bd5c-393f-4553-b90e-8139b9b207ea, )
|
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/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#L16
Parameter 'dbContext' is unread.
|
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/LcmCrdt/CrdtMiniLcmApi.cs#L308
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/Services/ChangeEventBus.cs#L14
Parameter 'logger' is unread.
|
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.
|