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.Collections.Generic;
using System.Collections.Generic;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
using StellaOps.Cryptography;
@@ -39,8 +39,7 @@ public sealed class PostgresProofSpineRepositoryTests
}
};
await using var dataSource = new ScannerDataSource(Options.Create(options), NullLogger<ScannerDataSource>.Instance);
using StellaOps.TestKit;
await using var dataSource = new ScannerDataSource(Microsoft.Extensions.Options.Options.Create(options), NullLogger<ScannerDataSource>.Instance);
var repository = new PostgresProofSpineRepository(
dataSource,
NullLogger<PostgresProofSpineRepository>.Instance,
@@ -62,7 +61,7 @@ using StellaOps.TestKit;
private static async Task<ProofSpine> BuildSampleSpineAsync(string scanRunId)
{
var options = Options.Create(new ProofSpineDsseSigningOptions
var options = Microsoft.Extensions.Options.Options.Create(new ProofSpineDsseSigningOptions
{
Mode = "deterministic",
KeyId = "proofspine-test",

View File

@@ -14,7 +14,7 @@ public sealed class ProofSpineBuilderTests
[Fact]
public async Task BuildAsync_SameInputs_ProducesSameIds()
{
var options = Options.Create(new ProofSpineDsseSigningOptions
var options = Microsoft.Extensions.Options.Options.Create(new ProofSpineDsseSigningOptions
{
Mode = "deterministic",
KeyId = "proofspine-test",
@@ -68,7 +68,7 @@ public sealed class ProofSpineBuilderTests
[Fact]
public async Task VerifyAsync_DetectsTampering()
{
var options = Options.Create(new ProofSpineDsseSigningOptions
var options = Microsoft.Extensions.Options.Options.Create(new ProofSpineDsseSigningOptions
{
Mode = "deterministic",
KeyId = "proofspine-test",

View File

@@ -6,16 +6,10 @@
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\__Libraries\StellaOps.Scanner.ProofSpine\StellaOps.Scanner.ProofSpine.csproj" />
<ProjectReference Include="..\..\__Libraries\StellaOps.Scanner.Storage\StellaOps.Scanner.Storage.csproj" />
<ProjectReference Include="..\..\..\__Tests\__Libraries\StellaOps.Infrastructure.Postgres.Testing\StellaOps.Infrastructure.Postgres.Testing.csproj" />
<ProjectReference Include="../../../__Libraries/StellaOps.TestKit/StellaOps.TestKit.csproj" />
</ItemGroup>
</Project>
</Project>