Skip to content

Refactored Prioritise to AggregateHandler #779

Refactored Prioritise to AggregateHandler

Refactored Prioritise to AggregateHandler #779

GitHub Actions / Tests Results failed Feb 5, 2024 in 0s

180 passed, 9 failed and 1 skipped

Tests failed

Report Passed Failed Skipped Time
Core.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx 3✔️ 3s
Core.Kafka.Tests/bin/TestResults/net8.0/test-results.trx 2s
Core.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 2s
EventSourcing.Integration.Tests/bin/TestResults/net8.0/test-results.trx 1s
Marten.Integration.Tests/bin/TestResults/net8.0/test-results.trx 2s
Sample/decider/Decider.Tests/TestResults/test-results.trx 1✔️ 839ms
Sample/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx 5✔️ 30s
Sample/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx 4✔️ 3s
Sample/ECommerce/Orders/Orders.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 9s
Sample/ECommerce/Orders/Orders.Tests/bin/TestResults/net8.0/test-results.trx 2s
Sample/ECommerce/Payments/Payments.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 9s
Sample/ECommerce/Payments/Payments.Tests/bin/TestResults/net8.0/test-results.trx 2s
Sample/ECommerce/Shipments/Shipments.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 5s
Sample/ECommerce/Shipments/Shipments.Tests/bin/TestResults/net8.0/test-results.trx 2s
Sample/EventPipelines/EventPipelines.Tests/bin/TestResults/net8.0/test-results.trx 6✔️ 1s
Sample/EventStoreDB/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx 5✔️ 23s
Sample/EventStoreDB/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx 3✔️ 2s
Sample/EventStoreDB/Simple/ECommerce.Api.Tests/bin/TestResults/net8.0/test-results.trx 5✔️ 16s
Sample/EventsVersioning/EventsVersioning.Tests/bin/TestResults/net8.0/test-results.trx 16✔️ 2s
Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx 9❌ 3s
Sample/Helpdesk/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx 9✔️ 23s
Sample/HotelManagement/HotelManagement.Tests/TestResults/test-results.trx 39✔️ 1s
Sample/MartenMeetsElastic/MartenMeetsElastic.Tests/TestResults/test-results.trx 1✔️ 5s
Sample/MeetingsManagement/MeetingsManagement.IntegrationTests/bin/TestResults/net8.0/test-results.trx 2✔️ 12s
Sample/MeetingsManagement/MeetingsSearch.IntegrationTests/bin/TestResults/net8.0/test-results.trx 1✔️ 6s
Sample/Tickets/Tickets.Api.Tests/bin/TestResults/net8.0/test-results.trx 1✔️ 15s
Sample/Tickets/Tickets.Tests/bin/TestResults/net8.0/test-results.trx 7✔️ 1s
Sample/Warehouse/Warehouse.Api.Tests/bin/TestResults/net8.0/test-results.trx 16✔️ 5s
Workshops/BuildYourOwnEventStore/01-CreateStreamsTable/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/02-CreateEventsTable/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/03-CreateAppendEventFunction/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/03-OptimisticConcurrency/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/04-EventStoreMethods/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/05-StreamAggregation/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/06-TimeTraveling/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/07-AggregateAndRepository/TestResults/test-results.trx 2s
Workshops/BuildYourOwnEventStore/08-Snapshots/TestResults/test-results.trx 2s
Workshops/BuildYourOwnEventStore/09-Projections/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/10-ProjectionsWithMarten/TestResults/test-results.trx 1s
Workshops/BuildYourOwnEventStore/EventStoreBasics.Tests/bin/TestResults/net8.0/test-results.trx 21✔️ 1✖️ 2s
Workshops/IntroductionToEventSourcing/01-EventsDefinition/TestResults/test-results.trx 849ms
Workshops/IntroductionToEventSourcing/02-GettingStateFromEvents/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/03-AppendingEvents.Marten/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/04-AppendingEvents.EventStoreDB/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/05-GettingStateFromEvents.Marten/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/06-GettingStateFromEvents.EventStoreDB/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/07-BusinessLogic/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/08-BusinessLogic.Marten/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/09-BusinessLogic.EventStoreDB/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/10-OptimisticConcurrency.Marten/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/11-OptimisticConcurrency.EventStoreDB/TestResults/test-results.trx 1s
Workshops/IntroductionToEventSourcing/12-Projections.SingleStream/TestResults/test-results.trx 2s
Workshops/IntroductionToEventSourcing/13-Projections.SingleStream.Idempotency/TestResults/test-results.trx 2s
Workshops/IntroductionToEventSourcing/14-Projections.SingleStream.EventualConsistency/TestResults/test-results.trx 2s
Workshops/IntroductionToEventSourcing/Solved/01-EventsDefinition/bin/TestResults/net8.0/test-results.trx 1✔️ 1s
Workshops/IntroductionToEventSourcing/Solved/02-GettingStateFromEvents/bin/TestResults/net8.0/test-results.trx 3✔️ 1s
Workshops/IntroductionToEventSourcing/Solved/03-AppendingEvents.Marten/bin/TestResults/net8.0/test-results.trx 1✔️ 5s
Workshops/IntroductionToEventSourcing/Solved/04-AppendingEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx 1✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/05-GettingStateFromEvents.Marten/bin/TestResults/net8.0/test-results.trx 2✔️ 7s
Workshops/IntroductionToEventSourcing/Solved/06-GettingStateFromEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx 2✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/07-BusinessLogic/bin/TestResults/net8.0/test-results.trx 3✔️ 1s
Workshops/IntroductionToEventSourcing/Solved/08-BusinessLogic.Marten/bin/TestResults/net8.0/test-results.trx 6✔️ 9s
Workshops/IntroductionToEventSourcing/Solved/09-BusinessLogic.EventStoreDB/bin/TestResults/net8.0/test-results.trx 3✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/10-OptimisticConcurrency.Marten/bin/TestResults/net8.0/test-results.trx 3✔️ 8s
Workshops/IntroductionToEventSourcing/Solved/11-OptimisticConcurrency.EventStoreDB/bin/TestResults/net8.0/test-results.trx 3✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/12-Projections.SingleStream/bin/TestResults/net8.0/test-results.trx 1✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/13-Projections.SingleStream.Idempotency/bin/TestResults/net8.0/test-results.trx 1✔️ 2s
Workshops/IntroductionToEventSourcing/Solved/14-Projections.SingleStream.EventualConsistency/bin/TestResults/net8.0/test-results.trx 1✔️ 5s

✔️ Core.EventStoreDB.Tests/bin/TestResults/net8.0/test-results.trx

3 tests were completed in 3s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Core.EventStoreDB.Tests.Events.EventStoreDBEventMetadataJsonConverterTests 2✔️ 54ms
EventStoreDB.Integration.Tests.Commands.EventStoreDBAsyncCommandBusTests 1✔️ 1s

✔️ Core.Kafka.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Core.Tests/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Core.Tests.AggregateWithWhenTests 1✔️ 63ms

✔️ EventSourcing.Integration.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Marten.Integration.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/decider/Decider.Tests/TestResults/test-results.trx

1 tests were completed in 839ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Decider.UnionTypesTests 1✔️ 7ms

✔️ Sample/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx

5 tests were completed in 30s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Carts.Api.Tests.ShoppingCarts.AddingProduct.AddProductTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Canceling.CancelShoppingCartTests 1✔️ 11s
Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests 1✔️ 4s
Carts.Api.Tests.ShoppingCarts.RemovingProduct.RemoveProductTests 1✔️ 1s

✔️ Sample/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx

4 tests were completed in 3s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Carts.Tests.Carts.ConfirmingCart.ConfirmCartTests 2✔️ 116ms
Carts.Tests.Carts.InitializingCart.InitializeCartTests 1✔️ 71ms
Carts.Tests.Carts.InitializingCart.OpenShoppingCardCommandHandlerTests 1✔️ 72ms

✔️ Sample/ECommerce/Orders/Orders.Api.Tests/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 9s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Orders.Api.Tests.Orders.InitializingOrder.InitializeOrderTests 1✔️ 7s

✔️ Sample/ECommerce/Orders/Orders.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/ECommerce/Payments/Payments.Api.Tests/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 9s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Payments.Api.Tests.Payments.RequestingPayment.RequestPaymentsTests 1✔️ 7s

✔️ Sample/ECommerce/Payments/Payments.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/ECommerce/Shipments/Shipments.Api.Tests/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 5s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Shipments.Api.Tests.Packages.SendPackageTests 1✔️ 3s

✔️ Sample/ECommerce/Shipments/Shipments.Tests/bin/TestResults/net8.0/test-results.trx

No tests found

✔️ Sample/EventPipelines/EventPipelines.Tests/bin/TestResults/net8.0/test-results.trx

6 tests were completed in 1s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
EventPipelines.Tests.ClassesWithBuilderTest 1✔️ 48ms
EventPipelines.Tests.ClassesWithIoCTest 1✔️ 9ms
EventPipelines.Tests.ClassesWithMediatRTest 1✔️ 70ms
EventPipelines.Tests.PureFunctionsWithBuilderTest 1✔️ 45ms
EventPipelines.Tests.PureFunctionsWithIoCTest 1✔️ 70ms
EventPipelines.Tests.PureFunctionsWithMediatRTest 1✔️ 14ms

✔️ Sample/EventStoreDB/ECommerce/Carts/Carts.Api.Tests/bin/TestResults/net8.0/test-results.trx

5 tests were completed in 23s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Carts.Api.Tests.ShoppingCarts.AddingProduct.AddProductTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Canceling.CancelShoppingCartTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests 1✔️ 3s
Carts.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests 1✔️ 2s
Carts.Api.Tests.ShoppingCarts.RemovingProduct.RemoveProductTests 1✔️ 1s

✔️ Sample/EventStoreDB/ECommerce/Carts/Carts.Tests/bin/TestResults/net8.0/test-results.trx

3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Carts.Tests.Carts.ConfirmingCart.ConfirmCartTests 1✔️ 58ms
Carts.Tests.Carts.OpeningCart.OpenCartCommandHandlerTests 1✔️ 55ms
Carts.Tests.Carts.OpeningCart.OpenCartTests 1✔️ 54ms

✔️ Sample/EventStoreDB/Simple/ECommerce.Api.Tests/bin/TestResults/net8.0/test-results.trx

5 tests were completed in 16s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ECommerce.Api.Tests.ShoppingCarts.AddingProduct.AddProductTests 1✔️ 6s
ECommerce.Api.Tests.ShoppingCarts.Canceling.CancelShoppingCartTests 1✔️ 2s
ECommerce.Api.Tests.ShoppingCarts.Confirming.ConfirmShoppingCartTests 1✔️ 1s
ECommerce.Api.Tests.ShoppingCarts.Opening.OpenShoppingCartTests 1✔️ 1s
ECommerce.Api.Tests.ShoppingCarts.RemovingProduct.RemoveProductTests 1✔️ 1s

✔️ Sample/EventsVersioning/EventsVersioning.Tests/bin/TestResults/net8.0/test-results.trx

16 tests were completed in 2s with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
EventsVersioning.Tests.Downcasters.ChangedStructure 2✔️ 3ms
EventsVersioning.Tests.ExplicitSerialization.ExplicitSerializationTests 2✔️ 171ms
EventsVersioning.Tests.SimpleMappings.NewNotRequiredProperty 2✔️ 58ms
EventsVersioning.Tests.SimpleMappings.NewRequiredProperty 2✔️ 205ms
EventsVersioning.Tests.SimpleMappings.RenamedProperty 2✔️ 19ms
EventsVersioning.Tests.Transformations.MergeEvents 1✔️ 207ms
EventsVersioning.Tests.Transformations.MultipleTransformationsWithDifferentEventTypes 1✔️ 244ms
EventsVersioning.Tests.Upcasters.ChangedStructure 2✔️ 92ms
EventsVersioning.Tests.Upcasters.NewRequiredPropertyFromMetadata 2✔️ 113ms

❌ Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx

9 tests were completed in 3s with 0 passed, 9 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Helpdesk.Api.Tests.Incidents.AcknowledgeResolutionIncidentTests 1❌ 1ms
Helpdesk.Api.Tests.Incidents.AssignAgentToIncidentTests 1❌ 1ms
Helpdesk.Api.Tests.Incidents.CategoriseIncidentTests 1❌ 1ms
Helpdesk.Api.Tests.Incidents.CloseIncidentTests 1❌ 1ms
Helpdesk.Api.Tests.Incidents.LogIncidentsTests 1❌ 207ms
Helpdesk.Api.Tests.Incidents.PrioritiseIncidentTests 1❌ 1ms
Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests 1❌ 1ms
Helpdesk.Api.Tests.Incidents.RecordCustomerResponseToIncidentTests 1❌ 1ms
Helpdesk.Api.Tests.Incidents.ResolveIncidentTests 1❌ 1ms

❌ Helpdesk.Api.Tests.Incidents.AcknowledgeResolutionIncidentTests

❌ ResolveCommand_Succeeds
	System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute

❌ Helpdesk.Api.Tests.Incidents.AssignAgentToIncidentTests

❌ AssignAgentCommand_ChangesIncidentCategory
	System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute

❌ Helpdesk.Api.Tests.Incidents.CategoriseIncidentTests

❌ CategoriseCommand_ChangesIncidentCategory
	System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute

❌ Helpdesk.Api.Tests.Incidents.CloseIncidentTests

❌ ResolveCommand_Succeeds
	System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute

❌ Helpdesk.Api.Tests.Incidents.LogIncidentsTests

❌ LogIncident_ShouldSucceed
	System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute)))
	---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute))
	-------- System.AggregateException : One or more errors occurred. (Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute)
	------------ System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute

❌ Helpdesk.Api.Tests.Incidents.PrioritiseIncidentTests

❌ PrioritiseCommand_ChangesIncidentPriority
	System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute

❌ Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests

❌ RecordAgentResponseCommand_RecordsResponse
	System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute

❌ Helpdesk.Api.Tests.Incidents.RecordCustomerResponseToIncidentTests

❌ RecordCustomerResponseCommand_RecordsResponse
	System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute

❌ Helpdesk.Api.Tests.Incidents.ResolveIncidentTests

❌ ResolveCommand_Succeeds
	System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute

✔️ Sample/Helpdesk/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx

9 tests were completed in 23s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Helpdesk.Api.Tests.Incidents.AcknowledgeResolutionIncidentTests 1✔️ 14ms
Helpdesk.Api.Tests.Incidents.AssignAgentToIncidentTests 1✔️ 301ms
Helpdesk.Api.Tests.Incidents.CategoriseIncidentTests 1✔️ 376ms
Helpdesk.Api.Tests.Incidents.CloseIncidentTests 1✔️ 12ms
Helpdesk.Api.Tests.Incidents.LogIncidentsTests 1✔️ 2s
Helpdesk.Api.Tests.Incidents.PrioritiseIncidentTests 1✔️ 204ms
Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests 1✔️ 377ms
Helpdesk.Api.Tests.Incidents.RecordCustomerResponseToIncidentTests 1✔️ 348ms
Helpdesk.Api.Tests.Incidents.ResolveIncidentTests 1✔️ 423ms

✔️ Sample/HotelManagement/HotelManagement.Tests/TestResults/test-results.trx

39 tests were completed in 1s with 39 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
HotelManagement.Tests.Sagas.GroupCheckouts.GroupCheckoutSagaTests 5✔️ 27ms
HotelManagement.Tests.Sagas.GroupCheckouts.GroupCheckoutTests 17✔️ 284ms
HotelManagement.Tests.Sagas.GuestStayAccounts.GuestStayAccountTests 17✔️ 287ms

✔️ Sample/MartenMeetsElastic/MartenMeetsElastic.Tests/TestResults/test-results.trx

1 tests were completed in 5s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
MartenMeetsElastic.Tests.MeetsElasticTest 1✔️ 4s

✔️ Sample/MeetingsManagement/MeetingsManagement.IntegrationTests/bin/TestResults/net8.0/test-results.trx

2 tests were completed in 12s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
MeetingsManagement.IntegrationTests.Meetings.CreatingMeeting.CreateMeetingTests 1✔️ 3s
MeetingsManagement.IntegrationTests.Meetings.SchedulingMeetings.ScheduleMeetingTests 1✔️ 8s

✔️ Sample/MeetingsManagement/MeetingsSearch.IntegrationTests/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 6s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
MeetingsSearch.IntegrationTests.Meetings.CreatingMeeting.CreateMeetingTests 1✔️ 4s

✔️ Sample/Tickets/Tickets.Api.Tests/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 15s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Tickets.Api.Tests.Reservations.CreatingTentativeReservation.CreateTentativeReservationTests 1✔️ 13s

✔️ Sample/Tickets/Tickets.Tests/bin/TestResults/net8.0/test-results.trx

7 tests were completed in 1s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Tickets.Tests.Reservations.CancellingReservation.CancelReservationTests 3✔️ 20ms
Tickets.Tests.Reservations.ChangingReservationSeat.ChangeSeatTests 1✔️ 43ms
Tickets.Tests.Reservations.ConfirmingReservation.ConfirmReservationTests 1✔️ 17ms
Tickets.Tests.Reservations.CreatingTentativeReservation.CreateTentativeReservationCommandHandlerTests 1✔️ 14ms
Tickets.Tests.Reservations.CreatingTentativeReservation.CreateTentativeReservationTests 1✔️ 47ms

✔️ Sample/Warehouse/Warehouse.Api.Tests/bin/TestResults/net8.0/test-results.trx

16 tests were completed in 5s with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Warehouse.Api.Tests.Products.GettingProductDetails.GetProductDetailsTests 4✔️ 262ms
Warehouse.Api.Tests.Products.GettingProducts.GetProductsTests 6✔️ 257ms
Warehouse.Api.Tests.Products.RegisteringProduct.RegisterProductTests 6✔️ 3s

✔️ Workshops/BuildYourOwnEventStore/01-CreateStreamsTable/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/02-CreateEventsTable/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/03-CreateAppendEventFunction/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/03-OptimisticConcurrency/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/04-EventStoreMethods/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/05-StreamAggregation/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/06-TimeTraveling/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/07-AggregateAndRepository/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/08-Snapshots/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/09-Projections/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/10-ProjectionsWithMarten/TestResults/test-results.trx

No tests found

✔️ Workshops/BuildYourOwnEventStore/EventStoreBasics.Tests/bin/TestResults/net8.0/test-results.trx

22 tests were completed in 2s with 21 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
EventStoreBasics.Tests.Exercise01CreateStreamsTable 4✔️ 526ms
EventStoreBasics.Tests.Exercise02CreateEventsTable 7✔️ 221ms
EventStoreBasics.Tests.Exercise03CreateAppendEventFunction 2✔️ 105ms
EventStoreBasics.Tests.Exercise04EventStoreMethods 2✔️ 609ms
EventStoreBasics.Tests.Exercise05StreamAggregation 1✔️ 72ms
EventStoreBasics.Tests.Exercise06TimeTravelling 1✔️ 545ms
EventStoreBasics.Tests.Exercise07AggregateAndRepository 1✔️ 546ms
EventStoreBasics.Tests.Exercise08Snapshots 2✔️ 419ms
EventStoreBasics.Tests.Exercise09Projections 1✔️ 354ms
EventStoreBasics.Tests.Exercise10ProjectionsWithMarten 1✖️ 1ms

✔️ Workshops/IntroductionToEventSourcing/01-EventsDefinition/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/02-GettingStateFromEvents/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/03-AppendingEvents.Marten/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/04-AppendingEvents.EventStoreDB/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/05-GettingStateFromEvents.Marten/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/06-GettingStateFromEvents.EventStoreDB/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/07-BusinessLogic/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/08-BusinessLogic.Marten/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/09-BusinessLogic.EventStoreDB/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/10-OptimisticConcurrency.Marten/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/11-OptimisticConcurrency.EventStoreDB/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/12-Projections.SingleStream/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/13-Projections.SingleStream.Idempotency/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/14-Projections.SingleStream.EventualConsistency/TestResults/test-results.trx

No tests found

✔️ Workshops/IntroductionToEventSourcing/Solved/01-EventsDefinition/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.EventsDefinition.EventsDefinitionTests 1✔️ 15ms

✔️ Workshops/IntroductionToEventSourcing/Solved/02-GettingStateFromEvents/bin/TestResults/net8.0/test-results.trx

3 tests were completed in 1s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.Solution1.GettingStateFromEventsTests 1✔️ 33ms
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.Solution2.GettingStateFromEventsTests 1✔️ 33ms
IntroductionToEventSourcing.GettingStateFromEvents.Mutable.GettingStateFromEventsTests 1✔️ 39ms

✔️ Workshops/IntroductionToEventSourcing/Solved/03-AppendingEvents.Marten/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 5s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.AppendingEvents.GettingStateFromEventsTests 1✔️ 4s

✔️ Workshops/IntroductionToEventSourcing/Solved/04-AppendingEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.AppendingEvents.GettingStateFromEventsTests 1✔️ 486ms

✔️ Workshops/IntroductionToEventSourcing/Solved/05-GettingStateFromEvents.Marten/bin/TestResults/net8.0/test-results.trx

2 tests were completed in 7s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.GettingStateFromEventsTests 1✔️ 5s
IntroductionToEventSourcing.GettingStateFromEvents.Mutable.GettingStateFromEventsTests 1✔️ 5s

✔️ Workshops/IntroductionToEventSourcing/Solved/06-GettingStateFromEvents.EventStoreDB/bin/TestResults/net8.0/test-results.trx

2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.Immutable.GettingStateFromEventsTests 1✔️ 462ms
IntroductionToEventSourcing.GettingStateFromEvents.Mutable.GettingStateFromEventsTests 1✔️ 480ms

✔️ Workshops/IntroductionToEventSourcing/Solved/07-BusinessLogic/bin/TestResults/net8.0/test-results.trx

3 tests were completed in 1s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.BusinessLogic.Immutable.BusinessLogicTests 1✔️ 74ms
IntroductionToEventSourcing.BusinessLogic.Mutable.Solution1.BusinessLogicTests 1✔️ 77ms
IntroductionToEventSourcing.BusinessLogic.Mutable.Solution2.BusinessLogicTests 1✔️ 82ms

✔️ Workshops/IntroductionToEventSourcing/Solved/08-BusinessLogic.Marten/bin/TestResults/net8.0/test-results.trx

6 tests were completed in 9s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.BusinessLogic.Immutable.Solution1.BusinessLogicTests 1✔️ 7s
IntroductionToEventSourcing.BusinessLogic.Immutable.Solution2.BusinessLogicTests 1✔️ 7s
IntroductionToEventSourcing.BusinessLogic.Immutable.Solution3.BusinessLogicTests 1✔️ 4s
IntroductionToEventSourcing.BusinessLogic.Immutable.Solution4.BusinessLogicTests 1✔️ 4s
IntroductionToEventSourcing.BusinessLogic.Mixed.BusinessLogicTests 1✔️ 7s
IntroductionToEventSourcing.BusinessLogic.Mutable.BusinessLogicTests 1✔️ 7s

✔️ Workshops/IntroductionToEventSourcing/Solved/09-BusinessLogic.EventStoreDB/bin/TestResults/net8.0/test-results.trx

3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.BusinessLogic.Immutable.BusinessLogicTests 1✔️ 525ms
IntroductionToEventSourcing.BusinessLogic.Mixed.BusinessLogicTests 1✔️ 527ms
IntroductionToEventSourcing.BusinessLogic.Mutable.BusinessLogicTests 1✔️ 571ms

✔️ Workshops/IntroductionToEventSourcing/Solved/10-OptimisticConcurrency.Marten/bin/TestResults/net8.0/test-results.trx

3 tests were completed in 8s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.OptimisticConcurrency.Immutable.OptimisticConcurrencyTests 1✔️ 7s
IntroductionToEventSourcing.OptimisticConcurrency.Mixed.OptimisticConcurrencyTests 1✔️ 7s
IntroductionToEventSourcing.OptimisticConcurrency.Mutable.OptimisticConcurrencyTests 1✔️ 7s

✔️ Workshops/IntroductionToEventSourcing/Solved/11-OptimisticConcurrency.EventStoreDB/bin/TestResults/net8.0/test-results.trx

3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.OptimisticConcurrency.Immutable.OptimisticConcurrencyTests 1✔️ 688ms
IntroductionToEventSourcing.OptimisticConcurrency.Mixed.OptimisticConcurrencyTests 1✔️ 717ms
IntroductionToEventSourcing.OptimisticConcurrency.Mutable.OptimisticConcurrencyTests 1✔️ 688ms

✔️ Workshops/IntroductionToEventSourcing/Solved/12-Projections.SingleStream/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.ProjectionsTests 1✔️ 254ms

✔️ Workshops/IntroductionToEventSourcing/Solved/13-Projections.SingleStream.Idempotency/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.ProjectionsTests 1✔️ 163ms

✔️ Workshops/IntroductionToEventSourcing/Solved/14-Projections.SingleStream.EventualConsistency/bin/TestResults/net8.0/test-results.trx

1 tests were completed in 5s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
IntroductionToEventSourcing.GettingStateFromEvents.ProjectionsTests 1✔️ 4s

Annotations

Check failure on line 101 in Sample/Helpdesk.Wolverine/Helpdesk.Api/Program.cs

See this annotation in the file changed.

@github-actions github-actions / Tests Results

Helpdesk.Api.Tests.Incidents.AcknowledgeResolutionIncidentTests ► ResolveCommand_Succeeds

Failed test found in:
  Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx
Error:
  System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute
Raw output
System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute
   at Wolverine.Marten.AggregateHandlerAttribute.DetermineAggregateIdMember(Type aggregateType, Type commandType)
   at Wolverine.Marten.AggregateHandlerAttribute.Modify(IChain chain, GenerationRules rules, IContainer container)
   at Wolverine.Configuration.Chain`2.applyAttributesAndConfigureMethods(GenerationRules rules, IContainer container)
   at Wolverine.Http.HttpChain..ctor(MethodCall method, HttpGraph parent)
   at Wolverine.Http.HttpGraph.<DiscoverEndpoints>b__31_1(MethodCall x)
   at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
   at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
   at Wolverine.Http.HttpGraph.DiscoverEndpoints(WolverineHttpOptions wolverineHttpOptions)
   at Wolverine.Http.WolverineHttpEndpointRouteBuilderExtensions.MapWolverineEndpoints(IEndpointRouteBuilder endpoints, Action`1 configure)
   at Program.<Main>$(String[] args) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api/Program.cs:line 101
   at Program.<Main>(String[] args)
   at InvokeStub_Program.<Main>(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.DeferredHost.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Start(IHost host)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.EnsureServer()
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
   at Ogooreck.API.WhenApiSpecificationBuilder.Then(IEnumerable`1 thens, CancellationToken ct)
   at Ogooreck.API.ApiSpecification`1.Scenario(Task`1 first, Func`2[] following)
   at Helpdesk.Api.Tests.Incidents.Fixtures.Scenarios.LoggedIncident(ApiSpecification`1 api) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/Scenarios.cs:line 32
   at Helpdesk.Api.Tests.Incidents.Fixtures.Scenarios.ResolvedIncident(ApiSpecification`1 api) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/Scenarios.cs:line 46
   at Helpdesk.Api.Tests.Incidents.Fixtures.ApiWithResolvedIncident.InitializeAsync() in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/ApiWithResolvedIncident.cs:line 11

Check failure on line 101 in Sample/Helpdesk.Wolverine/Helpdesk.Api/Program.cs

See this annotation in the file changed.

@github-actions github-actions / Tests Results

Helpdesk.Api.Tests.Incidents.AssignAgentToIncidentTests ► AssignAgentCommand_ChangesIncidentCategory

Failed test found in:
  Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx
  Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx
  Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx
  Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx
  Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx
Error:
  System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute
Raw output
System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute
   at Wolverine.Marten.AggregateHandlerAttribute.DetermineAggregateIdMember(Type aggregateType, Type commandType)
   at Wolverine.Marten.AggregateHandlerAttribute.Modify(IChain chain, GenerationRules rules, IContainer container)
   at Wolverine.Configuration.Chain`2.applyAttributesAndConfigureMethods(GenerationRules rules, IContainer container)
   at Wolverine.Http.HttpChain..ctor(MethodCall method, HttpGraph parent)
   at Wolverine.Http.HttpGraph.<DiscoverEndpoints>b__31_1(MethodCall x)
   at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
   at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
   at Wolverine.Http.HttpGraph.DiscoverEndpoints(WolverineHttpOptions wolverineHttpOptions)
   at Wolverine.Http.WolverineHttpEndpointRouteBuilderExtensions.MapWolverineEndpoints(IEndpointRouteBuilder endpoints, Action`1 configure)
   at Program.<Main>$(String[] args) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api/Program.cs:line 101
   at Program.<Main>(String[] args)
   at InvokeStub_Program.<Main>(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.DeferredHost.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Start(IHost host)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.EnsureServer()
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
   at Ogooreck.API.WhenApiSpecificationBuilder.Then(IEnumerable`1 thens, CancellationToken ct)
   at Ogooreck.API.ApiSpecification`1.Scenario(Task`1 first, Func`2[] following)
   at Helpdesk.Api.Tests.Incidents.Fixtures.Scenarios.LoggedIncident(ApiSpecification`1 api) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/Scenarios.cs:line 32
   at Helpdesk.Api.Tests.Incidents.Fixtures.ApiWithLoggedIncident.InitializeAsync() in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/ApiWithLoggedIncident.cs:line 11

Check failure on line 101 in Sample/Helpdesk.Wolverine/Helpdesk.Api/Program.cs

See this annotation in the file changed.

@github-actions github-actions / Tests Results

Helpdesk.Api.Tests.Incidents.CloseIncidentTests ► ResolveCommand_Succeeds

Failed test found in:
  Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx
Error:
  System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute
Raw output
System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute
   at Wolverine.Marten.AggregateHandlerAttribute.DetermineAggregateIdMember(Type aggregateType, Type commandType)
   at Wolverine.Marten.AggregateHandlerAttribute.Modify(IChain chain, GenerationRules rules, IContainer container)
   at Wolverine.Configuration.Chain`2.applyAttributesAndConfigureMethods(GenerationRules rules, IContainer container)
   at Wolverine.Http.HttpChain..ctor(MethodCall method, HttpGraph parent)
   at Wolverine.Http.HttpGraph.<DiscoverEndpoints>b__31_1(MethodCall x)
   at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
   at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
   at Wolverine.Http.HttpGraph.DiscoverEndpoints(WolverineHttpOptions wolverineHttpOptions)
   at Wolverine.Http.WolverineHttpEndpointRouteBuilderExtensions.MapWolverineEndpoints(IEndpointRouteBuilder endpoints, Action`1 configure)
   at Program.<Main>$(String[] args) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api/Program.cs:line 101
   at Program.<Main>(String[] args)
   at InvokeStub_Program.<Main>(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.DeferredHost.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Start(IHost host)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.EnsureServer()
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
   at Ogooreck.API.WhenApiSpecificationBuilder.Then(IEnumerable`1 thens, CancellationToken ct)
   at Ogooreck.API.ApiSpecification`1.Scenario(Task`1 first, Func`2[] following)
   at Helpdesk.Api.Tests.Incidents.Fixtures.Scenarios.LoggedIncident(ApiSpecification`1 api) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/Scenarios.cs:line 32
   at Helpdesk.Api.Tests.Incidents.Fixtures.Scenarios.ResolvedIncident(ApiSpecification`1 api) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/Scenarios.cs:line 46
   at Helpdesk.Api.Tests.Incidents.Fixtures.Scenarios.AcknowledgedIncident(ApiSpecification`1 api) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/Scenarios.cs:line 58
   at Helpdesk.Api.Tests.Incidents.Fixtures.ApiWithAcknowledgedIncident.InitializeAsync() in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/ApiWithAcknowledgedIncident.cs:line 11

Check failure on line 101 in Sample/Helpdesk.Wolverine/Helpdesk.Api/Program.cs

See this annotation in the file changed.

@github-actions github-actions / Tests Results

Helpdesk.Api.Tests.Incidents.LogIncidentsTests ► LogIncident_ShouldSucceed

Failed test found in:
  Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx
Error:
  System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute)))
  ---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute))
  -------- System.AggregateException : One or more errors occurred. (Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute)
  ------------ System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute
Raw output
System.AggregateException : One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute)))
---- System.AggregateException : One or more errors occurred. (One or more errors occurred. (Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute))
-------- System.AggregateException : One or more errors occurred. (Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute)
------------ System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Ogooreck.API.ApiSpecification.<>c__DisplayClass37_0.<Then>b__0(Task`1 t)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Ogooreck.API.ApiSpecification.<>c__DisplayClass34_0.<When>b__0(Task`1 _)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
----- Inner Stack Trace -----
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Ogooreck.API.ApiSpecification.<>c__DisplayClass28_0.<And>b__0(Task`1 _)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
----- Inner Stack Trace -----
   at Wolverine.Marten.AggregateHandlerAttribute.DetermineAggregateIdMember(Type aggregateType, Type commandType)
   at Wolverine.Marten.AggregateHandlerAttribute.Modify(IChain chain, GenerationRules rules, IContainer container)
   at Wolverine.Configuration.Chain`2.applyAttributesAndConfigureMethods(GenerationRules rules, IContainer container)
   at Wolverine.Http.HttpChain..ctor(MethodCall method, HttpGraph parent)
   at Wolverine.Http.HttpGraph.<DiscoverEndpoints>b__31_1(MethodCall x)
   at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
   at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
   at Wolverine.Http.HttpGraph.DiscoverEndpoints(WolverineHttpOptions wolverineHttpOptions)
   at Wolverine.Http.WolverineHttpEndpointRouteBuilderExtensions.MapWolverineEndpoints(IEndpointRouteBuilder endpoints, Action`1 configure)
   at Program.<Main>$(String[] args) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api/Program.cs:line 101
   at Program.<Main>(String[] args)
   at InvokeStub_Program.<Main>(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.DeferredHost.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Start(IHost host)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.EnsureServer()
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
   at Ogooreck.API.WhenApiSpecificationBuilder.Then(IEnumerable`1 thens, CancellationToken ct)

Check failure on line 101 in Sample/Helpdesk.Wolverine/Helpdesk.Api/Program.cs

See this annotation in the file changed.

@github-actions github-actions / Tests Results

Helpdesk.Api.Tests.Incidents.RecordAgentResponseToIncidentTests ► RecordAgentResponseCommand_RecordsResponse

Failed test found in:
  Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/bin/TestResults/net8.0/test-results.trx
Error:
  System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute
Raw output
System.InvalidOperationException : Unable to determine the aggregate id for aggregate type Helpdesk.Api.Incidents.Incident on command type Helpdesk.Api.Incidents.Prioritising.PrioritiseIncidentRequest. Either make a property or field named 'IncidentId', or decorate a member with the Marten.Schema.IdentityAttribute attribute
   at Wolverine.Marten.AggregateHandlerAttribute.DetermineAggregateIdMember(Type aggregateType, Type commandType)
   at Wolverine.Marten.AggregateHandlerAttribute.Modify(IChain chain, GenerationRules rules, IContainer container)
   at Wolverine.Configuration.Chain`2.applyAttributesAndConfigureMethods(GenerationRules rules, IContainer container)
   at Wolverine.Http.HttpChain..ctor(MethodCall method, HttpGraph parent)
   at Wolverine.Http.HttpGraph.<DiscoverEndpoints>b__31_1(MethodCall x)
   at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
   at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
   at Wolverine.Http.HttpGraph.DiscoverEndpoints(WolverineHttpOptions wolverineHttpOptions)
   at Wolverine.Http.WolverineHttpEndpointRouteBuilderExtensions.MapWolverineEndpoints(IEndpointRouteBuilder endpoints, Action`1 configure)
   at Program.<Main>$(String[] args) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api/Program.cs:line 101
   at Program.<Main>(String[] args)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.DeferredHost.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Start(IHost host)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.EnsureServer()
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
   at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient()
   at Ogooreck.API.WhenApiSpecificationBuilder.Then(IEnumerable`1 thens, CancellationToken ct)
   at Ogooreck.API.ApiSpecification`1.Scenario(Task`1 first, Func`2[] following)
   at Helpdesk.Api.Tests.Incidents.Fixtures.Scenarios.LoggedIncident(ApiSpecification`1 api) in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/Scenarios.cs:line 32
   at Helpdesk.Api.Tests.Incidents.Fixtures.ApiWithLoggedIncident.InitializeAsync() in /home/runner/work/EventSourcing.NetCore/EventSourcing.NetCore/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/Fixtures/ApiWithLoggedIncident.cs:line 11