Skip to content

Complex forms in miniLcm #201

Complex forms in miniLcm

Complex forms in miniLcm #201

Triggered via pull request October 1, 2024 09:38
Status Failure
Total duration 7m 35s
Artifacts

fw-lite.yaml

on: pull_request
Build FW Lite and run tests
7m 18s
Build FW Lite and run tests
Publish FW Lite app
0s
Publish FW Lite app
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
Sign FWLite MSIX installer
0s
Sign FWLite MSIX installer
Create Release
0s
Create Release
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
FwLiteProjectSync.Tests.UpdateDiffTests.EntryDiffShouldUpdateAllFields: backend/FwLite/FwLiteProjectSync.Tests/UpdateDiffTests.cs#L23
Expected property previous.Components to be a collection with 1 item(s), but found an empty collection. Expected property previous.ComplexForms to be a collection with 1 item(s), but found an empty collection. Expected property previous.ComplexFormTypes to be a collection with 1 item(s), but found an empty collection. Expected property previous.Variants to be MiniLcm.Models.Variants { Id = {c46ec44b-ad25-9341-d3eb-47505a4356c3}, { Types = MiniLcm.Models.VariantType { Id = {936e937d-80a1-055a-9b8f-ec06c0d93732}, Name = {[MiniLcm.Models.WritingSystemId { Code = "uf" }] = "Administrator", [MiniLcm.Models.WritingSystemId { Code = "cp" }] = "Optimized", [MiniLcm.Models.WritingSystemId { Code = "jg" }] = "JSON", [MiniLcm.Models.WritingSystemId { Code = "kt" }] = "Books" } } }, VariantsOf = MiniLcm.Models.ComplexFormComponent { { ComplexFormEntryId = {455b3bb1-a1e0-45f8-13ba-c6fe758bdc18}, ComplexFormHeadword = "mint green", ComponentEntryId = {239433fb-56d5-8521-a15d-9bfd94c58b5d}, ComponentHeadword = "vortals", ComponentSenseId = {6d07c9c2-b9b2-05a8-645f-dcb9c2a79091}, Id = {f1f39670-7364-7493-f8d0-f427c82d4901} } } }, but found <null>. With configuration: - Use declared types and members - Compare enums by value - Compare tuples by their properties - Compare anonymous types by their properties - Compare records by their members - Include non-browsable members - Exclude member Id - Exclude member Senses - Match member by name (or throw) - Be strict about the order of items in byte arrays - Without automatic conversion.
FwLiteProjectSync.Tests.SyncTests.UpdatingAnEntryInEachProjectSyncsAcrossBoth: backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L129
Expected property crdtEntries[6].Components[0].ComponentHeadword to be "Pomme" with a length of 5, but "???" has a length of 3, differs near "???" (index 0). Expected property crdtEntries[7].ComplexForms[0].ComponentHeadword to be "Pomme" with a length of 5, but "???" has a length of 3, differs near "???" (index 0). With configuration: - Use declared types and members - Compare enums by value - Compare tuples by their properties - Compare anonymous types by their properties - Compare records by their members - Include non-browsable members - Include all non-private properties - Include all non-private fields - Exclude member Components[]Id - Exclude member ComplexForms[]Id - Match member by name (or throw) - Be strict about the order of items in byte arrays - Without automatic conversion.
FwLiteProjectSync.Tests.SyncTests.AddingASenseToAnEntryInEachProjectSyncsAcrossBoth: backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L156
Expected property crdtEntries[6].Components[0].ComponentHeadword to be "Pomme" with a length of 5, but "???" has a length of 3, differs near "???" (index 0). Expected property crdtEntries[9].ComplexForms[0].ComponentHeadword to be "Pomme" with a length of 5, but "???" has a length of 3, differs near "???" (index 0). With configuration: - Use declared types and members - Compare enums by value - Compare tuples by their properties - Compare anonymous types by their properties - Compare records by their members - Include non-browsable members - Include all non-private properties - Include all non-private fields - Exclude member Components[]Id - Exclude member ComplexForms[]Id - Match member by name (or throw) - Be strict about the order of items in byte arrays - Without automatic conversion.
Build FW Lite and run tests
Process completed with exit code 1.
Build FW Lite and run tests: backend/FwLite/MiniLcm/InMemoryApi.cs#L189
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/MiniLcm/InMemoryApi.cs#L194
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/MiniLcm/InMemoryApi.cs#L226
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/MiniLcm/InMemoryApi.cs#L245
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/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#L38
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#L18
Parameter 'timeProvider' 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/Changes/CreatePartOfSpeechChange.cs#L15
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.