Skip to content

feat: Schedule Support #1000

feat: Schedule Support

feat: Schedule Support #1000

Triggered via pull request February 25, 2025 22:37
Status Failure
Total duration 4m 30s
Artifacts

validate-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Process completed with exit code 1.
build: test/ScheduledTasks.Tests/Entity/ScheduleTests.cs#L28
Nullability in constraints for type parameter 'TState' of method 'ScheduleTests.TestLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
build: test/ScheduledTasks.Tests/Entity/ScheduleTests.cs#L28
Nullability of reference types in return type of 'IDisposable? TestLogger.BeginScope<TState>(TState state)' doesn't match implicitly implemented member 'IDisposable ILogger.BeginScope<TState>(TState state)' (possibly because of nullability attributes).
build: test/ScheduledTasks.Tests/Client/ScheduledTaskClientImplTests.cs#L84
Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'ScheduleCreationOptions'
build: test/ScheduledTasks.Tests/Client/ScheduledTaskClientImplTests.cs#L107
Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'ScheduleCreationOptions'
build: test/ScheduledTasks.Tests/Client/ScheduledTaskClientImplTests.cs#L161
Converting null literal or possible null value to non-nullable type.
build: test/ScheduledTasks.Tests/Client/ScheduledTaskClientImplTests.cs#L161
Argument of type 'EntityMetadata<ScheduleState?>' cannot be used for parameter 'value' of type 'EntityMetadata<ScheduleState>' in 'IReturnsResult<DurableEntityClient> ReturnsExtensions.ReturnsAsync<DurableEntityClient, EntityMetadata<ScheduleState>?>(IReturns<DurableEntityClient, Task<EntityMetadata<ScheduleState>?>> mock, EntityMetadata<ScheduleState>? value)' due to differences in the nullability of reference types.