Skip to content

refactor: 完成项目多维度优化与功能完善 #124

refactor: 完成项目多维度优化与功能完善

refactor: 完成项目多维度优化与功能完善 #124

Triggered via push July 11, 2026 03:54
Status Failure
Total duration 1m 11s
Artifacts

ci.yml

on: push
Matrix: 单元测试
Matrix: Demo 构建
构建与发布
0s
构建与发布
发布到 NuGet
0s
发布到 NuGet
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 77 warnings
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj)
Process completed with exit code 1.
Demo 构建 (Demos/HttpClientApiPublicDemo/HttpClientApiPublicDemo.csproj)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-dotnet@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Demo 构建 (Demos/HttpClientApiPublicDemo/HttpClientApiPublicDemo.csproj)
Cannot convert null literal to non-nullable reference type.
Demo 构建 (Demos/HttpClientApiPublicDemo/HttpClientApiPublicDemo.csproj)
Cannot convert null literal to non-nullable reference type.
Demo 构建 (Demos/HttpClientApiPublicDemo/HttpClientApiPublicDemo.csproj): Demos/CommonClassLibrary.Share/IUserManager.cs#L15
Missing XML comment for publicly visible type or member 'IUserService'
Demo 构建 (Demos/HttpClientApiPublicDemo/HttpClientApiPublicDemo.csproj): Demos/CommonClassLibrary.Share/IUserManager.cs#L10
Missing XML comment for publicly visible type or member 'IUserManager'
Demo 构建 (Demos/HttpClientApiPublicDemo/HttpClientApiPublicDemo.csproj): Demos/CommonClassLibrary.Share/ITokenManager.cs#L20
Missing XML comment for publicly visible type or member 'IAppTokenManager'
Demo 构建 (Demos/HttpClientApiPublicDemo/HttpClientApiPublicDemo.csproj): Demos/CommonClassLibrary.Share/ITokenManager.cs#L15
Missing XML comment for publicly visible type or member 'ITenantTokenManager'
Demo 构建 (Demos/HttpClientApiPublicDemo/HttpClientApiPublicDemo.csproj): Demos/CommonClassLibrary.Share/IFeishuEventDeduplicator.cs#L10
Missing XML comment for publicly visible type or member 'IFeishuEventDeduplicator'
Demo 构建 (Demos/ResilienceDemo/ResilienceDemo.csproj)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-dotnet@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Demo 构建 (Demos/ResilienceDemo/ResilienceDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L30
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.Timestamp'
Demo 构建 (Demos/ResilienceDemo/ResilienceDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L29
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.ElapsedMs'
Demo 构建 (Demos/ResilienceDemo/ResilienceDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L28
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.IsFallback'
Demo 构建 (Demos/ResilienceDemo/ResilienceDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L27
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.Success'
Demo 构建 (Demos/ResilienceDemo/ResilienceDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L26
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.TokenManagerKey'
Demo 构建 (Demos/ResilienceDemo/ResilienceDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Models/Response{T}.cs#L23
XML comment has cref attribute 'AllowAnyStatusCodeAttribute' that could not be resolved
Demo 构建 (Demos/ResilienceDemo/ResilienceDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Models/ApiException.cs#L18
XML comment has cref attribute 'AllowAnyStatusCodeAttribute' that could not be resolved
Demo 构建 (Demos/ResilienceDemo/ResilienceDemo.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L80
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ConcurrentDictionaryTokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
Demo 构建 (Demos/ResilienceDemo/ResilienceDemo.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L88
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ITokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
Demo 构建 (Demos/ResilienceDemo/ResilienceDemo.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L20
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ITokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
Demo 构建 (Demos/HttpClientDemo/HttpClientDemo.csproj)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-dotnet@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Demo 构建 (Demos/HttpClientDemo/HttpClientDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L30
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.Timestamp'
Demo 构建 (Demos/HttpClientDemo/HttpClientDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L29
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.ElapsedMs'
Demo 构建 (Demos/HttpClientDemo/HttpClientDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L28
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.IsFallback'
Demo 构建 (Demos/HttpClientDemo/HttpClientDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L27
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.Success'
Demo 构建 (Demos/HttpClientDemo/HttpClientDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L26
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.TokenManagerKey'
Demo 构建 (Demos/HttpClientDemo/HttpClientDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Models/Response{T}.cs#L23
XML comment has cref attribute 'AllowAnyStatusCodeAttribute' that could not be resolved
Demo 构建 (Demos/HttpClientDemo/HttpClientDemo.csproj): Mud.HttpUtils.Abstractions/HttpClient/Models/ApiException.cs#L18
XML comment has cref attribute 'AllowAnyStatusCodeAttribute' that could not be resolved
Demo 构建 (Demos/HttpClientDemo/HttpClientDemo.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L80
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ConcurrentDictionaryTokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
Demo 构建 (Demos/HttpClientDemo/HttpClientDemo.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L88
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ITokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
Demo 构建 (Demos/HttpClientDemo/HttpClientDemo.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L20
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ITokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
单元测试 (Tests/Mud.HttpUtils.Resilience.Tests/Mud.HttpUtils.Resilience.Tests.csproj)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-dotnet@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
单元测试 (Tests/Mud.HttpUtils.Resilience.Tests/Mud.HttpUtils.Resilience.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L30
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.Timestamp'
单元测试 (Tests/Mud.HttpUtils.Resilience.Tests/Mud.HttpUtils.Resilience.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L29
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.ElapsedMs'
单元测试 (Tests/Mud.HttpUtils.Resilience.Tests/Mud.HttpUtils.Resilience.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L28
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.IsFallback'
单元测试 (Tests/Mud.HttpUtils.Resilience.Tests/Mud.HttpUtils.Resilience.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L27
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.Success'
单元测试 (Tests/Mud.HttpUtils.Resilience.Tests/Mud.HttpUtils.Resilience.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L26
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.TokenManagerKey'
单元测试 (Tests/Mud.HttpUtils.Resilience.Tests/Mud.HttpUtils.Resilience.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Models/Response{T}.cs#L23
XML comment has cref attribute 'AllowAnyStatusCodeAttribute' that could not be resolved
单元测试 (Tests/Mud.HttpUtils.Resilience.Tests/Mud.HttpUtils.Resilience.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Models/ApiException.cs#L18
XML comment has cref attribute 'AllowAnyStatusCodeAttribute' that could not be resolved
单元测试 (Tests/Mud.HttpUtils.Resilience.Tests/Mud.HttpUtils.Resilience.Tests.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L80
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ConcurrentDictionaryTokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
单元测试 (Tests/Mud.HttpUtils.Resilience.Tests/Mud.HttpUtils.Resilience.Tests.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L88
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ITokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
单元测试 (Tests/Mud.HttpUtils.Resilience.Tests/Mud.HttpUtils.Resilience.Tests.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L20
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ITokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
单元测试 (Tests/Mud.HttpUtils.Generator.Tests/Mud.HttpUtils.Generator.Tests.csproj)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-dotnet@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
单元测试 (Tests/Mud.HttpUtils.Generator.Tests/Mud.HttpUtils.Generator.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L29
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.ElapsedMs'
单元测试 (Tests/Mud.HttpUtils.Generator.Tests/Mud.HttpUtils.Generator.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L28
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.IsFallback'
单元测试 (Tests/Mud.HttpUtils.Generator.Tests/Mud.HttpUtils.Generator.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L27
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.Success'
单元测试 (Tests/Mud.HttpUtils.Generator.Tests/Mud.HttpUtils.Generator.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L26
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.TokenManagerKey'
单元测试 (Tests/Mud.HttpUtils.Generator.Tests/Mud.HttpUtils.Generator.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Models/Response{T}.cs#L23
XML comment has cref attribute 'AllowAnyStatusCodeAttribute' that could not be resolved
单元测试 (Tests/Mud.HttpUtils.Generator.Tests/Mud.HttpUtils.Generator.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Models/ApiException.cs#L18
XML comment has cref attribute 'AllowAnyStatusCodeAttribute' that could not be resolved
单元测试 (Tests/Mud.HttpUtils.Generator.Tests/Mud.HttpUtils.Generator.Tests.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L80
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ConcurrentDictionaryTokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
单元测试 (Tests/Mud.HttpUtils.Generator.Tests/Mud.HttpUtils.Generator.Tests.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenResult.cs#L137
Possible null reference argument for parameter 'accessToken' in 'TokenResult.TokenResult(string accessToken, long expireTime, string? scope = null)'.
单元测试 (Tests/Mud.HttpUtils.Generator.Tests/Mud.HttpUtils.Generator.Tests.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L88
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ITokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
单元测试 (Tests/Mud.HttpUtils.Generator.Tests/Mud.HttpUtils.Generator.Tests.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L20
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ITokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-dotnet@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L30
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.Timestamp'
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L29
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.ElapsedMs'
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L28
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.IsFallback'
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L27
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.Success'
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Observability/DiagnosticPayloads.cs#L26
Missing XML comment for publicly visible type or member 'TokenRefreshDiagnosticPayload.TokenManagerKey'
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Models/Response{T}.cs#L23
XML comment has cref attribute 'AllowAnyStatusCodeAttribute' that could not be resolved
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj): Mud.HttpUtils.Abstractions/HttpClient/Models/ApiException.cs#L18
XML comment has cref attribute 'AllowAnyStatusCodeAttribute' that could not be resolved
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L80
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ConcurrentDictionaryTokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L88
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ITokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
单元测试 (Tests/Mud.HttpUtils.Client.Tests/Mud.HttpUtils.Client.Tests.csproj): Mud.HttpUtils.Abstractions/TokenManager/TokenManagerBase.cs#L20
The type 'Mud.HttpUtils.CredentialToken?' cannot be used as type parameter 'T' in the generic type or method 'ITokenCache<T>'. Nullability of type argument 'Mud.HttpUtils.CredentialToken?' doesn't match 'class' constraint.
Demo 构建 (Demos/HttpClientApiDemo/HttpClientApiDemo.csproj)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-dotnet@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Demo 构建 (Demos/HttpClientApiDemo/HttpClientApiDemo.csproj): Mud.HttpUtils.Generator/Helper/TypeSymbolHelper.cs#L263
Possible null reference argument for parameter 'item' in 'void List<string>.Add(string item)'.
Demo 构建 (Demos/HttpClientApiDemo/HttpClientApiDemo.csproj): Mud.HttpUtils.Generator/Helper/TypeSymbolHelper.cs#L143
Possible null reference argument for parameter 'excludedInterfaces' in 'IEnumerable<IMethodSymbol> TypeSymbolHelper.GetAllRecursive(INamedTypeSymbol interfaceSymbol, HashSet<INamedTypeSymbol> visitedInterfaces, bool includeParentInterfaces, HashSet<string> excludedInterfaces)'.
Demo 构建 (Demos/HttpClientApiDemo/HttpClientApiDemo.csproj): Mud.HttpUtils.Generator/Models/Metadata/HttpClientApiInfoBase.cs#L28
Non-nullable property 'BaseUrl' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Demo 构建 (Demos/HttpClientApiDemo/HttpClientApiDemo.csproj): Mud.HttpUtils.Generator/Helper/TypeSymbolHelper.cs#L76
Cannot convert null literal to non-nullable reference type.
Demo 构建 (Demos/HttpClientApiDemo/HttpClientApiDemo.csproj): Mud.HttpUtils.Generator/Helper/TypeSymbolHelper.cs#L670
XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'
Demo 构建 (Demos/HttpClientApiDemo/HttpClientApiDemo.csproj): Mud.HttpUtils.Generator/Helper/TypeSymbolHelper.cs#L670
XML comment has badly formed XML -- 'Expected an end tag for element 'T'.'
Demo 构建 (Demos/HttpClientApiDemo/HttpClientApiDemo.csproj): Mud.HttpUtils.Generator/Helper/TypeSymbolHelper.cs#L667
XML comment has badly formed XML -- 'End tag 'summary' does not match the start tag 'T'.'