Repository navigation
Fix the tests CI found failing on Linux and Windows #4
Annotations
15 errors and 2 notices
|
failed AI.Infrastructure.Tests.Storage.ChatExecutionTests.HostShutdownShouldInterruptTheRunAndUserStopShouldStayPaused (130ms)
failed AI.Infrastructure.Tests.Storage.ChatExecutionTests.HostShutdownShouldInterruptTheRunAndUserStopShouldStayPaused (130ms)
from /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/bin/Debug/net10.0/AI.Server.Tests.dll (net10.0|x64)
Xunit.MicrosoftTestingPlatform.XunitException: System.InvalidOperationException : Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at AI.Infrastructure.Tests.Storage.ChatExecutionTests.HostShutdownShouldInterruptTheRunAndUserStopShouldStayPaused() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Storage/ChatExecutionTests.cs:2695
at AI.Infrastructure.Tests.Storage.ChatExecutionTests.HostShutdownShouldInterruptTheRunAndUserStopShouldStayPaused() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Storage/ChatExecutionTests.cs:2713
--- End of stack trace from previous location ---
|
|
failed AI.Infrastructure.Tests.Storage.ChatExecutionTests.ScheduledRunForksFromTheEndReportsSuccessAndDeletesItsBranch (201ms)
failed AI.Infrastructure.Tests.Storage.ChatExecutionTests.ScheduledRunForksFromTheEndReportsSuccessAndDeletesItsBranch (201ms)
from /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/bin/Debug/net10.0/AI.Server.Tests.dll (net10.0|x64)
Xunit.MicrosoftTestingPlatform.XunitException: System.InvalidOperationException : Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at AI.Infrastructure.Tests.Storage.ChatExecutionTests.ScheduledRunForksFromTheEndReportsSuccessAndDeletesItsBranch() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Storage/ChatExecutionTests.Schedules.cs:77
at AI.Infrastructure.Tests.Storage.ChatExecutionTests.ScheduledRunForksFromTheEndReportsSuccessAndDeletesItsBranch() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Storage/ChatExecutionTests.Schedules.cs:106
--- End of stack trace from previous location ---
|
|
failed AI.Infrastructure.Tests.Storage.ChatExecutionTests.WarmUpShouldRemoveReplacementTailsLeftByOlderBuilds (354ms)
failed AI.Infrastructure.Tests.Storage.ChatExecutionTests.WarmUpShouldRemoveReplacementTailsLeftByOlderBuilds (354ms)
from /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/bin/Debug/net10.0/AI.Server.Tests.dll (net10.0|x64)
Shouldly.ShouldAssertException : cleanedChat!.Messages.Select(message => message.Content)
should be
["Replacement"]
but was (case sensitive comparison)
["Original", "Original reply", "Replacement"]
difference
[*"Original"*, *"Original reply"*, *"Replacement"*]
at AI.Infrastructure.Tests.Storage.ChatExecutionTests.WarmUpShouldRemoveReplacementTailsLeftByOlderBuilds() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Storage/ChatExecutionTests.cs:2229
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at AI.Infrastructure.Tests.Storage.ChatExecutionTests.WarmUpShouldRemoveReplacementTailsLeftByOlderBuilds() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Storage/ChatExecutionTests.cs:2229
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
|
|
failed AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldRejectInvalidSchemaAndAllowCorrectedSave(field: "parameters"
failed AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldRejectInvalidSchemaAndAllowCorrectedSave(field: "parameters", schema: "{\"path\":{\"type\":\"string\"}}") (507ms)
from /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/bin/Debug/net10.0/AI.Server.Tests.dll (net10.0|x64)
Xunit.MicrosoftTestingPlatform.XunitException: System.NullReferenceException : Object reference not set to an instance of an object.
at AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldRejectInvalidSchemaAndAllowCorrectedSave(String field, String schema) in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Tools/AppSkillsToolTests.cs:198
at AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldRejectInvalidSchemaAndAllowCorrectedSave(String field, String schema) in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Tools/AppSkillsToolTests.cs:198
at AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldRejectInvalidSchemaAndAllowCorrectedSave(String field, String schema) in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Tools/AppSkillsToolTests.cs:198
--- End of stack trace from previous location ---
/home/runner/work/AI.Client/AI.Client/tests/AI.Web.Tests/bin/Debug/net10.0/AI.Web.Tests.dll (net10.0|x64) passed (7s 295ms)
/home/runner/work/AI.Client/AI.Client/tests/AI.TextCorrection.Tests/bin/Debug/net10.0/AI.TextCorrection.Tests.dll (net10.0|x64) passed (21s 657ms)
|
|
failed AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldRejectInvalidSchemaAndAllowCorrectedSave(field: "result"
failed AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldRejectInvalidSchemaAndAllowCorrectedSave(field: "result", schema: "{\"type\":\"unknown-type\"}") (414ms)
from /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/bin/Debug/net10.0/AI.Server.Tests.dll (net10.0|x64)
Xunit.MicrosoftTestingPlatform.XunitException: System.NullReferenceException : Object reference not set to an instance of an object.
at AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldRejectInvalidSchemaAndAllowCorrectedSave(String field, String schema) in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Tools/AppSkillsToolTests.cs:198
at AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldRejectInvalidSchemaAndAllowCorrectedSave(String field, String schema) in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Tools/AppSkillsToolTests.cs:198
at AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldRejectInvalidSchemaAndAllowCorrectedSave(String field, String schema) in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Tools/AppSkillsToolTests.cs:198
--- End of stack trace from previous location ---
|
|
failed AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldSaveFindAndRunProjectSkillThroughAppMcpSession (637ms)
failed AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldSaveFindAndRunProjectSkillThroughAppMcpSession (637ms)
from /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/bin/Debug/net10.0/AI.Server.Tests.dll (net10.0|x64)
Shouldly.ShouldAssertException : found.StructuredContent!.Value.GetProperty("skills").EnumerateArray()
should contain an element satisfying the condition
(item.GetProperty("id").GetString() == "short-summary")
but does not
at AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldSaveFindAndRunProjectSkillThroughAppMcpSession() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Tools/AppSkillsToolTests.cs:153
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldSaveFindAndRunProjectSkillThroughAppMcpSession() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Tools/AppSkillsToolTests.cs:160
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at AI.Infrastructure.Tests.Tools.AppSkillsToolTests.ShouldSaveFindAndRunProjectSkillThroughAppMcpSession() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Tools/AppSkillsToolTests.cs:160
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
|
|
failed AI.Infrastructure.Tests.Storage.JsonChatRepositoryTests.ShouldListChatSummaryWithoutReadingMessageNodes (14ms)
failed AI.Infrastructure.Tests.Storage.JsonChatRepositoryTests.ShouldListChatSummaryWithoutReadingMessageNodes (14ms)
from /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/bin/Debug/net10.0/AI.Server.Tests.dll (net10.0|x64)
Shouldly.ShouldAssertException : await repository.ListSummariesAsync(projectId, CancellationToken.None)
should have single item but had
0
items and was
[] (System.Collections.Generic.List`1[AI.Application.Chats.StoredChatSummary])
at AI.Infrastructure.Tests.Storage.JsonChatRepositoryTests.ShouldListChatSummaryWithoutReadingMessageNodes() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Storage/JsonChatRepositoryTests.cs:43
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
|
|
failed AI.Infrastructure.Tests.Storage.JsonChatRepositoryTests.ShouldUpgradeLegacyDemoSummaryFromItsFullDocument (9ms)
failed AI.Infrastructure.Tests.Storage.JsonChatRepositoryTests.ShouldUpgradeLegacyDemoSummaryFromItsFullDocument (9ms)
from /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/bin/Debug/net10.0/AI.Server.Tests.dll (net10.0|x64)
Shouldly.ShouldAssertException : await repository.ListSummariesAsync(projectId, CancellationToken.None)
should have single item but had
0
items and was
[] (System.Collections.Generic.List`1[AI.Application.Chats.StoredChatSummary])
at AI.Infrastructure.Tests.Storage.JsonChatRepositoryTests.ShouldUpgradeLegacyDemoSummaryFromItsFullDocument() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Storage/JsonChatRepositoryTests.cs:199
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
|
|
failed AI.Infrastructure.Tests.Storage.JsonChatRepositoryTests.ShouldMigrateBranchCountForAnOlderSummary (61ms)
failed AI.Infrastructure.Tests.Storage.JsonChatRepositoryTests.ShouldMigrateBranchCountForAnOlderSummary (61ms)
from /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/bin/Debug/net10.0/AI.Server.Tests.dll (net10.0|x64)
Shouldly.ShouldAssertException : await repository.ListSummariesAsync(projectId, CancellationToken.None)
should have single item but had
0
items and was
[] (System.Collections.Generic.List`1[AI.Application.Chats.StoredChatSummary])
at AI.Infrastructure.Tests.Storage.JsonChatRepositoryTests.ShouldMigrateBranchCountForAnOlderSummary() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Storage/JsonChatRepositoryTests.cs:162
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
|
|
failed AI.Infrastructure.Tests.Usage.TokenUsageTests.ShouldReadRecordsBackByMonthAndSkipALineCutShort (128ms)
failed AI.Infrastructure.Tests.Usage.TokenUsageTests.ShouldReadRecordsBackByMonthAndSkipALineCutShort (128ms)
from /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/bin/Debug/net10.0/AI.Server.Tests.dll (net10.0|x64)
Shouldly.ShouldAssertException : _files.Files.Keys
should satisfy the condition
path.Contains(Combine("root", "usage"), Ordinal)
but
["root\usage\2026-08.jsonl", "root\usage\2026-09.jsonl"]
do not
at AI.Infrastructure.Tests.Usage.TokenUsageTests.ShouldReadRecordsBackByMonthAndSkipALineCutShort() in /home/runner/work/AI.Client/AI.Client/tests/AI.Server.Tests/Infrastructure/Usage/TokenUsageTests.cs:165
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
|
|
Test (ubuntu-latest)
Process completed with exit code 2.
|
|
Test (macos-latest)
Process completed with exit code 2.
|
|
Test (macos-latest)
Process completed with exit code 2.
|
|
failed AI.Infrastructure.Tests.Tools.AppSubtaskToolTests.ShouldReportWhatEachSubtaskIsDoingWhileItRuns (1s 000ms)
failed AI.Infrastructure.Tests.Tools.AppSubtaskToolTests.ShouldReportWhatEachSubtaskIsDoingWhileItRuns (1s 000ms)
from D:\a\AI.Client\AI.Client\tests\AI.Server.Tests\bin\Debug\net10.0\AI.Server.Tests.dll (net10.0|x64)
Shouldly.ShouldAssertException : reports
should contain an element satisfying the condition
(value.Progress == 2)
but does not
at AI.Infrastructure.Tests.Tools.AppSubtaskToolTests.ShouldReportWhatEachSubtaskIsDoingWhileItRuns() in D:\a\AI.Client\AI.Client\tests\AI.Server.Tests\Infrastructure\Tools\AppSubtaskToolTests.cs:242
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at AI.Infrastructure.Tests.Tools.AppSubtaskToolTests.ShouldReportWhatEachSubtaskIsDoingWhileItRuns() in D:\a\AI.Client\AI.Client\tests\AI.Server.Tests\Infrastructure\Tools\AppSubtaskToolTests.cs:243
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at AI.Infrastructure.Tests.Tools.AppSubtaskToolTests.ShouldReportWhatEachSubtaskIsDoingWhileItRuns() in D:\a\AI.Client\AI.Client\tests\AI.Server.Tests\Infrastructure\Tools\AppSubtaskToolTests.cs:243
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
|
|
Test (windows-latest)
Process completed with exit code 2.
|
|
Test (ubuntu-latest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
|
Test (macos-latest)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
test-results-macos-latest
|
13.4 KB |
sha256:667df79f525a5206d0a226811f3d25531f3d26e718cc47a65cc83a0679f61983
|
|
|
test-results-ubuntu-latest
|
6.54 KB |
sha256:0535d31a59904e70057c95c6614ebb1c74d5109c2fd7c9ccf4a9c5d5fb8c33f8
|
|
|
test-results-windows-latest
|
3.21 KB |
sha256:5559b25c3ee68775cf298f91614e588520d16bd6a35c937fa2be6df375625713
|
|