Skip to content

Complex forms in miniLcm #185

Complex forms in miniLcm

Complex forms in miniLcm #185

Triggered via pull request September 25, 2024 09:09
Status Failure
Total duration 7m 7s
Artifacts

fw-lite.yaml

on: pull_request
Build FW Lite and run tests
6m 52s
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

10 errors and 10 warnings
LcmCrdt.Tests.EntityCopyMethodTests.EntityCopyMethodShouldCopyAllFields(type: typeof(LcmCrdt.Objects.Entry)): backend/FwLite/LcmCrdt.Tests/EntityCopyMethodTests.cs#L35
Expected property copy.ComplexForm to be MiniLcm.Models.ComplexForm { { Components = MiniLcm.Models.EntryReference { EntryId = {68cd5b47-4d65-cca1-4204-31c655add897}, Headword = "input", SenseId = {36b1406d-59f8-0f63-7d32-87f59360f2cf} } }, Id = {75f1d451-2e97-54a3-dd73-9ea90e342ca6}, Types = MiniLcm.Models.ComplexFormType { { Id = {1dc4017b-417d-5af4-ca3d-5f7c1919a018}, Name = <null> } } }, but found <null>. Expected property copy.Variants to be MiniLcm.Models.Variants { Id = {2adb7788-f6aa-b7ec-959a-1cd6367f539e}, { Types = MiniLcm.Models.VariantType { Id = {838e2967-5198-3c71-e93f-55d8358bf93b}, Name = <null> } }, VariantsOf = MiniLcm.Models.EntryReference { { EntryId = {6f228003-4087-34e4-a748-55d43fda4858}, Headword = "discrete", SenseId = {48290813-d2ed-c737-a83c-70b0fc53e692} } } }, but found <null>. With configuration: - Use runtime 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 - Match member by name (or throw) - Be strict about the order of items in byte arrays - Without automatic conversion.
LcmCrdt.Tests.BasicApiTests.UpdateExampleSentenceTranslation
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.GetEntriesWithOptions
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.CreateEntry
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.GetEntry
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.GetEntries
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.CreateSense_WontCreateMissingDomains
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.CreateSense_WillCreateWithExistingDomains
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.UpdateExampleSentence
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.UpdateEntryNote
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
Build FW Lite and run tests: backend/FwLite/MiniLcm/InMemoryApi.cs#L179
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#L184
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#L216
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#L235
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/LcmCrdtKernel.cs#L4
The using directive for 'SIL.Harmony' appeared previously in this namespace
Build FW Lite and run tests: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L15
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.