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

@@ -875,6 +875,7 @@ signalsGroup.MapPost("/reachability/recompute", async Task<IResult> (
app.Run();
// Make Program class public for WebApplicationFactory<Program> test support
public partial class Program
{
internal static bool TryAuthorize(HttpContext httpContext, string requiredScope, bool fallbackAllowed, out IResult? failure)
@@ -935,3 +936,5 @@ public partial class Program
return false;
}
}
// Primary Program partial declaration merged above

View File

@@ -0,0 +1,12 @@
{
"profiles": {
"StellaOps.Signals": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:62543;http://localhost:62544"
}
}
}

View File

@@ -208,10 +208,10 @@ internal sealed class CallgraphIngestionService : ICallgraphIngestionService
return new CallgraphIngestResponse(
document.Id,
document.Artifact.Path,
document.Artifact.Hash,
document.Artifact.CasUri,
document.GraphHash,
document.Artifact.ManifestCasUri,
document.Artifact.Hash ?? string.Empty,
document.Artifact.CasUri ?? string.Empty,
document.GraphHash ?? string.Empty,
document.Artifact.ManifestCasUri ?? string.Empty,
schemaVersion,
document.Nodes.Count,
document.Edges.Count,
@@ -288,7 +288,7 @@ internal sealed class CallgraphIngestionService : ICallgraphIngestionService
.Append(node.Flags).Append('|')
.Append(Join(node.Evidence)).Append('|')
.Append(JoinDict(node.Analyzer)).Append('|')
.Append(JoinDict(node.Attributes))
.Append(JoinDict(node.Attributes as IReadOnlyDictionary<string, string?>))
.AppendLine();
}

View File

@@ -405,7 +405,7 @@ public sealed class ReachabilityScoringService : IReachabilityScoringService
var map = new Dictionary<(string From, string To), EdgeGateInfo>();
foreach (var edge in document.Edges)
{
if (blocked.Contains((edge.SourceId, edge.TargetId)))
if (blocked.Contains((edge.SourceId ?? string.Empty, edge.TargetId ?? string.Empty)))
{
continue;
}

View File

@@ -10,13 +10,13 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="StackExchange.Redis" Version="2.8.37" />
<PackageReference Include="StackExchange.Redis" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../../__Libraries/StellaOps.Configuration/StellaOps.Configuration.csproj" />
<ProjectReference Include="../../Authority/StellaOps.Authority/StellaOps.Auth.Abstractions/StellaOps.Auth.Abstractions.csproj" />
<ProjectReference Include="../../Authority/StellaOps.Authority/StellaOps.Auth.ServerIntegration/StellaOps.Auth.ServerIntegration.csproj" />
<ProjectReference Include="../../__Libraries/StellaOps.Messaging/StellaOps.Messaging.csproj" />
<ProjectReference Include="../../Router/__Libraries/StellaOps.Messaging/StellaOps.Messaging.csproj" />
</ItemGroup>
</Project>