Summary
Investigate and stabilize the steering harness test
SteerableLongRunningIntegrationTests.ActiveMafTurn_QueuesSteeringThenRunsItOnTheSameSessionAsync.
It has failed repeatedly in the .NET CI suite while earlier runs passed. The root cause
is not yet established; determine whether this is a test synchronization problem or a
runtime behavior regression rather than assuming the assertion is wrong.
Affected test
dotnet/tests/Microsoft.Agents.AI.Foundry.Hosting.UnitTests/SteerableLongRunningIntegrationTests.cs
The assertion immediately after submitting a steering request expects
agent.RunCount == 1, but CI observes 2. The test subsequently verifies sequential
execution and reuse of the same session.
CI evidence
Environment: net10.0, ubuntu-latest, Release.
Both runs report Assert.Equal() Failure: Values differ, expected 1, actual 2,
at SteerableLongRunningIntegrationTests.cs:57. The second failure persisted after
the branch update in #8263.
Temporary mitigation
Temporarily skip only this test using the repository's existing xUnit skip convention,
with the skip reason linking to this tracking issue. Preserve its body and assertions.
Do not disable the test class, project, CI workflow, or other tests.
The temporary skip is not the final fix. Keep this issue open after that change.
Resolution criteria
- Reproduce and identify the cause under relevant CI scheduling/parallelism conditions.
- Fix the test synchronization or runtime behavior as appropriate, without weakening
the intended sequential-execution and session-continuity guarantees.
- Remove the temporary skip and demonstrate repeated passing execution of the test
and the affected suite.
Summary
Investigate and stabilize the steering harness test
SteerableLongRunningIntegrationTests.ActiveMafTurn_QueuesSteeringThenRunsItOnTheSameSessionAsync.It has failed repeatedly in the .NET CI suite while earlier runs passed. The root cause
is not yet established; determine whether this is a test synchronization problem or a
runtime behavior regression rather than assuming the assertion is wrong.
Affected test
dotnet/tests/Microsoft.Agents.AI.Foundry.Hosting.UnitTests/SteerableLongRunningIntegrationTests.csThe assertion immediately after submitting a steering request expects
agent.RunCount == 1, but CI observes2. The test subsequently verifies sequentialexecution and reuse of the same session.
CI evidence
Environment:
net10.0,ubuntu-latest,Release.Both runs report
Assert.Equal() Failure: Values differ, expected1, actual2,at
SteerableLongRunningIntegrationTests.cs:57. The second failure persisted afterthe branch update in #8263.
Temporary mitigation
Temporarily skip only this test using the repository's existing xUnit skip convention,
with the skip reason linking to this tracking issue. Preserve its body and assertions.
Do not disable the test class, project, CI workflow, or other tests.
The temporary skip is not the final fix. Keep this issue open after that change.
Resolution criteria
the intended sequential-execution and session-continuity guarantees.
and the affected suite.