Refactor code structure and optimize performance across multiple modules

This commit is contained in:
StellaOps Bot
2025-12-26 20:03:22 +02:00
parent c786faae84
commit b4fc66feb6
3353 changed files with 88254 additions and 1590657 deletions

View File

@@ -3,11 +3,13 @@ using System.Text.Json.Nodes;
using StellaOps.Graph.Indexer.Documents;
using StellaOps.Graph.Indexer.Ingestion.Sbom;
using StellaOps.TestKit;
namespace StellaOps.Graph.Indexer.Tests;
public sealed class GraphSnapshotBuilderTests
{
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void Build_ProducesDeterministicAdjacencyOrdering()
{
var snapshot = new SbomSnapshot
@@ -51,7 +53,8 @@ public sealed class GraphSnapshotBuilderTests
Assert.Equal(new[] { "edge-b" }, result.Adjacency.Nodes.Single(n => n.NodeId == "node-b").IncomingEdges.ToArray());
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void Build_ComputesStableManifestHash_ForShuffledInputs()
{
var snapshot = new SbomSnapshot