Skip to content

optimize mongodb use async method #1148

optimize mongodb use async method

optimize mongodb use async method #1148

Triggered via pull request December 29, 2025 14:19
Status Failure
Total duration 1m 33s
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 20 warnings
build (macos-latest): tests/BotSharp.LLM.Tests/Core/NullConversationStateService.cs#L8
'NullConversationStateService' does not implement interface member 'IConversationStateService.Load(string, bool)'. 'NullConversationStateService.Load(string, bool)' cannot implement 'IConversationStateService.Load(string, bool)' because it does not have the matching return type of 'Task<Dictionary<string, string>>'.
build (macos-latest): src/Plugins/BotSharp.Plugin.TencentCos/Services/TencentCosService.cs#L8
'TencentCosService' does not implement interface member 'IFileStorageService.SaveUserAvatar(FileDataModel)'. 'TencentCosService.SaveUserAvatar(FileDataModel)' cannot implement 'IFileStorageService.SaveUserAvatar(FileDataModel)' because it does not have the matching return type of 'Task<bool>'.
build (macos-latest): src/Plugins/BotSharp.Plugin.TencentCos/Services/TencentCosService.cs#L8
'TencentCosService' does not implement interface member 'IFileStorageService.GetUserAvatar()'. 'TencentCosService.GetUserAvatar()' cannot implement 'IFileStorageService.GetUserAvatar()' because it does not have the matching return type of 'Task<string>'.
build (macos-latest): tests/BotSharp.LLM.Tests/Core/TestAgentService.cs#L13
'TestAgentService' does not implement interface member 'IAgentService.GetPlugin(string)'. 'TestAgentService.GetPlugin(string)' cannot implement 'IAgentService.GetPlugin(string)' because it does not have the matching return type of 'Task<PluginDef>'.
build (macos-latest): tests/BotSharp.LLM.Tests/Core/NullFileStorageService.cs#L7
'NullFileStorageService' does not implement interface member 'IFileStorageService.SaveUserAvatar(FileDataModel)'. 'NullFileStorageService.SaveUserAvatar(FileDataModel)' cannot implement 'IFileStorageService.SaveUserAvatar(FileDataModel)' because it does not have the matching return type of 'Task<bool>'.
build (macos-latest): tests/BotSharp.LLM.Tests/Core/NullFileStorageService.cs#L7
'NullFileStorageService' does not implement interface member 'IFileStorageService.GetUserAvatar()'. 'NullFileStorageService.GetUserAvatar()' cannot implement 'IFileStorageService.GetUserAvatar()' because it does not have the matching return type of 'Task<string>'.
build (macos-latest): tests/BotSharp.LLM.Tests/Core/NullConversationStateService.cs#L8
'NullConversationStateService' does not implement interface member 'IConversationStateService.Save()'. 'NullConversationStateService.Save()' cannot implement 'IConversationStateService.Save()' because it does not have the matching return type of 'Task'.
build (macos-latest): tests/BotSharp.LLM.Tests/Core/NullConversationStateService.cs#L8
'NullConversationStateService' does not implement interface member 'IConversationStateService.Load(string, bool)'. 'NullConversationStateService.Load(string, bool)' cannot implement 'IConversationStateService.Load(string, bool)' because it does not have the matching return type of 'Task<Dictionary<string, string>>'.
build (macos-latest): src/Plugins/BotSharp.Plugin.TencentCos/Services/TencentCosService.cs#L8
'TencentCosService' does not implement interface member 'IFileStorageService.SaveUserAvatar(FileDataModel)'. 'TencentCosService.SaveUserAvatar(FileDataModel)' cannot implement 'IFileStorageService.SaveUserAvatar(FileDataModel)' because it does not have the matching return type of 'Task<bool>'.
build (macos-latest): src/Plugins/BotSharp.Plugin.TencentCos/Services/TencentCosService.cs#L8
'TencentCosService' does not implement interface member 'IFileStorageService.GetUserAvatar()'. 'TencentCosService.GetUserAvatar()' cannot implement 'IFileStorageService.GetUserAvatar()' because it does not have the matching return type of 'Task<string>'.
build (windows-latest)
The strategy configuration was canceled because "build.macos-latest" failed
build (windows-latest)
The operation was canceled.
build (ubuntu-latest)
The strategy configuration was canceled because "build.macos-latest" failed
build (ubuntu-latest): tests/BotSharp.LLM.Tests/Core/NullConversationStateService.cs#L8
'NullConversationStateService' does not implement interface member 'IConversationStateService.Load(string, bool)'. 'NullConversationStateService.Load(string, bool)' cannot implement 'IConversationStateService.Load(string, bool)' because it does not have the matching return type of 'Task<Dictionary<string, string>>'.
build (ubuntu-latest): src/Plugins/BotSharp.Plugin.TencentCos/Services/TencentCosService.cs#L8
'TencentCosService' does not implement interface member 'IFileStorageService.SaveUserAvatar(FileDataModel)'. 'TencentCosService.SaveUserAvatar(FileDataModel)' cannot implement 'IFileStorageService.SaveUserAvatar(FileDataModel)' because it does not have the matching return type of 'Task<bool>'.
build (ubuntu-latest): src/Plugins/BotSharp.Plugin.TencentCos/Services/TencentCosService.cs#L8
'TencentCosService' does not implement interface member 'IFileStorageService.GetUserAvatar()'. 'TencentCosService.GetUserAvatar()' cannot implement 'IFileStorageService.GetUserAvatar()' because it does not have the matching return type of 'Task<string>'.
build (ubuntu-latest): tests/BotSharp.LLM.Tests/Core/NullFileStorageService.cs#L7
'NullFileStorageService' does not implement interface member 'IFileStorageService.SaveUserAvatar(FileDataModel)'. 'NullFileStorageService.SaveUserAvatar(FileDataModel)' cannot implement 'IFileStorageService.SaveUserAvatar(FileDataModel)' because it does not have the matching return type of 'Task<bool>'.
build (ubuntu-latest): tests/BotSharp.LLM.Tests/Core/NullFileStorageService.cs#L7
'NullFileStorageService' does not implement interface member 'IFileStorageService.GetUserAvatar()'. 'NullFileStorageService.GetUserAvatar()' cannot implement 'IFileStorageService.GetUserAvatar()' because it does not have the matching return type of 'Task<string>'.
build (ubuntu-latest): tests/BotSharp.LLM.Tests/Core/TestAgentService.cs#L13
'TestAgentService' does not implement interface member 'IAgentService.GetPlugin(string)'. 'TestAgentService.GetPlugin(string)' cannot implement 'IAgentService.GetPlugin(string)' because it does not have the matching return type of 'Task<PluginDef>'.
build (ubuntu-latest): tests/BotSharp.LLM.Tests/Core/NullConversationStateService.cs#L8
'NullConversationStateService' does not implement interface member 'IConversationStateService.Save()'. 'NullConversationStateService.Save()' cannot implement 'IConversationStateService.Save()' because it does not have the matching return type of 'Task'.
build (ubuntu-latest): tests/BotSharp.LLM.Tests/Core/NullConversationStateService.cs#L8
'NullConversationStateService' does not implement interface member 'IConversationStateService.Load(string, bool)'. 'NullConversationStateService.Load(string, bool)' cannot implement 'IConversationStateService.Load(string, bool)' because it does not have the matching return type of 'Task<Dictionary<string, string>>'.
build (ubuntu-latest): src/Plugins/BotSharp.Plugin.TencentCos/Services/TencentCosService.cs#L8
'TencentCosService' does not implement interface member 'IFileStorageService.SaveUserAvatar(FileDataModel)'. 'TencentCosService.SaveUserAvatar(FileDataModel)' cannot implement 'IFileStorageService.SaveUserAvatar(FileDataModel)' because it does not have the matching return type of 'Task<bool>'.
build (ubuntu-latest): src/Plugins/BotSharp.Plugin.TencentCos/Services/TencentCosService.cs#L8
'TencentCosService' does not implement interface member 'IFileStorageService.GetUserAvatar()'. 'TencentCosService.GetUserAvatar()' cannot implement 'IFileStorageService.GetUserAvatar()' because it does not have the matching return type of 'Task<string>'.
build (macos-latest): src/Infrastructure/BotSharp.Abstraction/Agents/AgentHookBase.cs#L16
Non-nullable field '_agent' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (macos-latest): src/Infrastructure/BotSharp.Abstraction/Repositories/IBotSharpRepository.cs#L51
Cannot convert null literal to non-nullable reference type.
build (macos-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L25
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (macos-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L23
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (macos-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L22
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (macos-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L21
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (macos-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L20
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (macos-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L19
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (macos-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L18
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (macos-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L17
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (ubuntu-latest): src/Infrastructure/BotSharp.Abstraction/Users/Models/UserActivationModel.cs#L5
Non-nullable property 'UserName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (ubuntu-latest): src/Infrastructure/BotSharp.Abstraction/Repositories/IBotSharpRepository.cs#L51
Cannot convert null literal to non-nullable reference type.
build (ubuntu-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L25
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (ubuntu-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L23
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (ubuntu-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L22
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (ubuntu-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L21
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (ubuntu-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L20
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (ubuntu-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L19
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (ubuntu-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L18
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'
build (ubuntu-latest): src/Infrastructure/BotSharp.Abstraction/Browsing/IWebBrowser.cs#L17
'BrowserActionParams' is obsolete: 'This class is deprecated, use BrowserActionArgs instead.'