Fix build and code structure improvements. New but essential UI functionality. CI improvements. Documentation improvements. AI module improvements.

This commit is contained in:
StellaOps Bot
2025-12-26 21:54:17 +02:00
parent 335ff7da16
commit c2b9cd8d1f
3717 changed files with 264714 additions and 48202 deletions

View File

@@ -1,4 +1,4 @@
using System.Formats.Tar;
using System.Formats.Tar;
using System.IO.Compression;
using System.Text;
using System.Text.Json;
@@ -404,7 +404,6 @@ public sealed class AttestationBundleVerifierTests : IDisposable
{
var bytes = Encoding.UTF8.GetBytes(content);
using var dataStream = new MemoryStream(bytes);
using StellaOps.TestKit;
var entry = new PaxTarEntry(TarEntryType.RegularFile, name)
{
DataStream = dataStream

View File

@@ -131,7 +131,7 @@ public class CryptoCommandTests
try
{
AnsiConsole.Console = console;
exitCode = await command.Parse("sign --input /nonexistent/file.txt").InvokeAsync(cancellationToken);
exitCode = await command.Parse("sign --input /nonexistent/file.txt").InvokeAsync();
}
finally
{
@@ -166,7 +166,7 @@ public class CryptoCommandTests
try
{
AnsiConsole.Console = console;
exitCode = await command.Parse("profiles").InvokeAsync(cancellationToken);
exitCode = await command.Parse("profiles").InvokeAsync();
}
finally
{
@@ -201,7 +201,7 @@ public class CryptoCommandTests
try
{
AnsiConsole.Console = console;
exitCode = await command.Parse("profiles").InvokeAsync(cancellationToken);
exitCode = await command.Parse("profiles").InvokeAsync();
}
finally
{

View File

@@ -152,7 +152,7 @@ public sealed class ScanCommandGoldenTests
};
// Act
await renderer.RenderTableAsync(vulns, writer, columns);
await renderer.RenderTableAsync(vulns.Vulnerabilities, writer, columns);
var actual = writer.ToString();
// Assert

View File

@@ -6,34 +6,32 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Commands\\ProofCommandTests.cs" />
<Using Include="Xunit" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="Spectre.Console.Testing" Version="0.48.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
<PackageReference Include="FluentAssertions" />
<PackageReference Include="Moq" />
<PackageReference Include="Spectre.Console.Testing" />
<PackageReference Include="xunit.runner.visualstudio" >
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" >
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../../StellaOps.Cli/StellaOps.Cli.csproj" />
<ProjectReference Include="../../__Libraries/StellaOps.Cli.Plugins.NonCore/StellaOps.Cli.Plugins.NonCore.csproj" />
<ProjectReference Include="../../../__Libraries/StellaOps.Configuration/StellaOps.Configuration.csproj" />
<ProjectReference Include="../../../__Libraries/StellaOps.Infrastructure.Postgres/StellaOps.Infrastructure.Postgres.csproj" />
<ProjectReference Include="../../../__Libraries/StellaOps.TestKit/StellaOps.TestKit.csproj" />
</ItemGroup>
</Project>
</Project>