Skip to content

chore: fix e2e tests (#1100) #54

chore: fix e2e tests (#1100)

chore: fix e2e tests (#1100) #54

Triggered via push December 18, 2025 15:55
Status Failure
Total duration 2m 0s
Artifacts 1
pack-libraries
1m 6s
pack-libraries
run-tests
47s
run-tests
publish-packages
0s
publish-packages
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
run-tests
Process completed with exit code 1.
run-tests
Process completed with exit code 1.
pack-libraries: libraries/src/AWS.Lambda.Powertools.BatchProcessing/BatchProcessorAttribute.cs#L484
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'AWS.Lambda.Powertools.BatchProcessing.BatchProcessorAttribute.TypedRecordHandlerProvider.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
pack-libraries: libraries/src/AWS.Lambda.Powertools.BatchProcessing/Internal/AotCompatibilityHelper.cs#L91
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
pack-libraries: libraries/src/AWS.Lambda.Powertools.BatchProcessing/Internal/AotCompatibilityHelper.cs#L91
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
pack-libraries: libraries/src/AWS.Lambda.Powertools.BatchProcessing/DynamoDb/DynamoDbRecordDataExtractor.cs#L41
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
pack-libraries: libraries/src/AWS.Lambda.Powertools.BatchProcessing/DynamoDb/DynamoDbRecordDataExtractor.cs#L41
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
pack-libraries: libraries/src/AWS.Lambda.Powertools.BatchProcessing/JsonDeserializationService.cs#L70
'DeserializationOptions.IgnoreDeserializationErrors' is obsolete: 'Use ErrorPolicy property instead. This property will be removed in a future version.'
pack-libraries: libraries/src/AWS.Lambda.Powertools.BatchProcessing/Internal/TypedRecordHandlerWithContextWrapperBase.cs#L41
'DeserializationOptions.IgnoreDeserializationErrors' is obsolete: 'Use ErrorPolicy property instead. This property will be removed in a future version.'
pack-libraries: libraries/src/AWS.Lambda.Powertools.BatchProcessing/Internal/TypedRecordHandlerWrapperBase.cs#L37
'DeserializationOptions.IgnoreDeserializationErrors' is obsolete: 'Use ErrorPolicy property instead. This property will be removed in a future version.'
pack-libraries: libraries/src/AWS.Lambda.Powertools.Tracing/Internal/XRayRecorder.cs#L545
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties(BindingFlags)'. The parameter 'type' of method 'AWS.Lambda.Powertools.Tracing.Internal.XRayRecorder.SanitizeComplexObject(Object, Type, Int32)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
pack-libraries: libraries/src/AWS.Lambda.Powertools.Tracing/Internal/Helpers.cs#L12
XML comment has badly formed XML -- 'Whitespace is not allowed at this location.'

Artifacts

Produced during runtime
Name Size Digest
nuget-packages Expired
743 KB
sha256:a2ecda9af983f8a67fdd2f1e8e2c299a8a0d9d79a505f8faa44995dfd9633112