Execution and retirement tests
Section titled “Execution and retirement tests”Inno.Core.Execution.Tests verifies the Execution contracts through their public entry points. Use this page to locate relevant assertions; it is not a report that these tests passed for your current change.
Behavior covered
Section titled “Behavior covered”The suite checks LIFO binding retirement, inherited-context revocation, suspension, thread affinity, bounded admission and retention of pending work. Retirement tests preserve earlier failures through retries, classify nested terminal timeouts, attempt independent resources in reverse order and keep pending dependencies protected. Owner-thread tests verify continuation dispatch and restoration of the previous synchronization context.
Environment and execution
Section titled “Environment and execution”The project declares the domain validation layer. Use the shared validation workflow to select its actual dependencies and environment. Inspect the pinned project file for package and project references.
A focused diagnostic from the engine root is:
dotnet test tests/core/Inno.Core.Execution.Tests/Inno.Core.Execution.Tests.csproj --configuration Debug --disable-build-servers -m:1 -nodeReuse:falseUse --filter FullyQualifiedName~MethodName to investigate one case. A filtered run does not replace the obligations in the validation plan. Restore the declared SDK, packages and any tool/process prerequisites before executing; preserve cancellation, thread and cleanup requirements.
Scenario reference
Section titled “Scenario reference”These representative methods are preserved from the original reference and checked against the pinned source. The linked files contain all assertions and parameterized cases.
Execution Slot
Section titled “Execution Slot”Read the assertions. Representative entry points:
RetirementIsLifoAndRestoresParentRetiredBindingIsRevokedInInheritedAsyncContextSuspensionMasksAndRestoresParentThreadAffineBindingCannotBeReadOnWorker
Lifetime Admission
Section titled “Lifetime Admission”Read the assertions. Representative entry points:
CapacityRejectsBeforeUserCodeAndCompletedWorkReleasesAdmissionIdleLifetimeDoesNotRetainSuccessfulOperationResults
Lifetime Scope
Section titled “Lifetime Scope”Read the assertions. Representative entry points:
FailureBeforePendingRemainsObservableAfterRetryRetirementDeadlineRemainsFaultedAndDoesNotReleasePendingDependenciesRetirementBarrierRetriesOnOwnerThreadAndDoesNotRetainCompletedCallbackRetirementAttemptsEveryResourceInReverseOrder
Owner Thread Execution
Section titled “Owner Thread Execution”Read the assertions. Representative entry points:
AsynchronousContinuationsAndSendReturnToTheCallingThreadCompletedOperationsFailuresAndCancellationRestoreThePreviousContext
Retirement Failure
Section titled “Retirement Failure”Read the assertions. Representative entry points:
ClassificationFindsNestedTimeoutWithoutReplacingTheOriginalTreeLifetimeRetainsPendingResourceAndEarlierErrorsAcrossWrappedRetriesBarrierRetainsOrdinarySiblingsUntilThePendingWorkCompletesNestedTimeoutRemainsTerminalAndPreservesEveryFailure
Extend safely
Section titled “Extend safely”Follow the shared suite-maintenance guidance. Preserve this suite’s owner-thread, resource-release and failure assertions when adding cases.