Skip to content

CRDT sync handles semantic domains #365

CRDT sync handles semantic domains

CRDT sync handles semantic domains #365

Triggered via pull request November 11, 2024 02:49
Status Failure
Total duration 6m 4s
Artifacts

fw-lite.yaml

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

10 errors and 11 warnings
FwLiteProjectSync.Tests.SyncTests.CanSyncAnyEntryWithDeletedComplexForm
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key "" ---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details 1.) new LcmMetaDataCache() 2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache 3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache) 4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*) 5.) SIL.LCModel.Infrastructure.Impl.IdentityMap 6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap 7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*) 8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider 9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider) 10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup) -------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
FwLiteProjectSync.Tests.SyncTests.SyncFailsWithMismatchedProjectIds
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key "" ---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details 1.) new LcmMetaDataCache() 2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache 3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache) 4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*) 5.) SIL.LCModel.Infrastructure.Impl.IdentityMap 6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap 7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*) 8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider 9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider) 10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup) -------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
FwLiteProjectSync.Tests.SyncTests.CreatingAnEntryInEachProjectSyncsAcrossBoth
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key "" ---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details 1.) new LcmMetaDataCache() 2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache 3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache) 4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*) 5.) SIL.LCModel.Infrastructure.Impl.IdentityMap 6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap 7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*) 8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider 9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider) 10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup) -------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
FwLiteProjectSync.Tests.SyncTests.SemanticDomainsSyncInEntries
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key "" ---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details 1.) new LcmMetaDataCache() 2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache 3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache) 4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*) 5.) SIL.LCModel.Infrastructure.Impl.IdentityMap 6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap 7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*) 8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider 9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider) 10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup) -------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
FwLiteProjectSync.Tests.SyncTests.SemanticDomainsSyncBothWays
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key "" ---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details 1.) new LcmMetaDataCache() 2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache 3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache) 4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*) 5.) SIL.LCModel.Infrastructure.Impl.IdentityMap 6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap 7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*) 8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider 9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider) 10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup) -------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
FwLiteProjectSync.Tests.SyncTests.FirstSyncJustDoesAnImport
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key "" ---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details 1.) new LcmMetaDataCache() 2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache 3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache) 4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*) 5.) SIL.LCModel.Infrastructure.Impl.IdentityMap 6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap 7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*) 8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider 9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider) 10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup) -------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
FwLiteProjectSync.Tests.SyncTests.UpdatingAnEntryInEachProjectSyncsAcrossBoth
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key "" ---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details 1.) new LcmMetaDataCache() 2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache 3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache) 4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*) 5.) SIL.LCModel.Infrastructure.Impl.IdentityMap 6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap 7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*) 8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider 9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider) 10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup) -------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
FwLiteProjectSync.Tests.SyncTests.AddingASenseToAnEntryInEachProjectSyncsAcrossBoth
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key "" ---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details 1.) new LcmMetaDataCache() 2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache 3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache) 4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*) 5.) SIL.LCModel.Infrastructure.Impl.IdentityMap 6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap 7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*) 8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider 9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider) 10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup) -------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
FwLiteProjectSync.Tests.SyncTests.PartsOfSpeechSyncInEntries
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key "" ---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details 1.) new LcmMetaDataCache() 2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache 3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache) 4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*) 5.) SIL.LCModel.Infrastructure.Impl.IdentityMap 6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap 7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*) 8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider 9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider) 10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup) -------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
FwLiteProjectSync.Tests.SyncTests.PartsOfSpeechSyncBothWays
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key "" ---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details 1.) new LcmMetaDataCache() 2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache 3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache) 4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*) 5.) SIL.LCModel.Infrastructure.Impl.IdentityMap 6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap 7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*) 8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider 9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider) 10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup) -------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
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/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#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/CrdtHttpSyncService.cs#L64
Parameter 'originDomain' is unread.
Build FW Lite and run tests: backend/FwLite/LocalWebApp/SyncService.cs#L14
Parameter 'factory' is unread.