audit notes work completed, test fixes work (95% done), new sprints, new data sources setup and configuration

This commit is contained in:
master
2026-01-14 10:48:00 +02:00
parent d7be6ba34b
commit 95d5898650
379 changed files with 40695 additions and 19041 deletions

View File

@@ -8,6 +8,7 @@ using System.Text;
using System.Text.Json;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
using MsOptions = Microsoft.Extensions.Options;
using StellaOps.Signals.Options;
using StellaOps.Signals.Scm.Models;
using StellaOps.Signals.Scm.Services;
@@ -107,7 +108,7 @@ public sealed class ScmWebhookServiceTests
{
return new ScmWebhookService(
NullLogger<ScmWebhookService>.Instance,
Options.Create(options),
MsOptions.Options.Create(options),
triggerService,
new IWebhookSignatureValidator[] { new GitHubWebhookValidator() },
new IScmEventMapper[] { new TestScmEventMapper(ScmProvider.GitHub) });

View File

@@ -531,6 +531,11 @@ public class UnknownsDecayServiceTests
{
private readonly Dictionary<string, GraphMetrics> _metrics = new();
public InMemoryGraphMetricsRepository(TimeProvider timeProvider)
{
// TimeProvider not used in this test implementation
}
public void SetMetrics(string symbolId, string callgraphId, GraphMetrics metrics)
{
_metrics[$"{symbolId}:{callgraphId}"] = metrics;

View File

@@ -752,6 +752,11 @@ public sealed class UnknownsScoringIntegrationTests
{
private readonly Dictionary<string, GraphMetrics> _metrics = new();
public InMemoryGraphMetricsRepository(TimeProvider timeProvider)
{
// TimeProvider not used in this test implementation
}
public void SetMetrics(string symbolId, string callgraphId, GraphMetrics metrics)
{
_metrics[$"{symbolId}:{callgraphId}"] = metrics;

View File

@@ -553,6 +553,11 @@ public class UnknownsScoringServiceTests
{
private readonly Dictionary<string, GraphMetrics> _metrics = new();
public InMemoryGraphMetricsRepository(TimeProvider timeProvider)
{
// TimeProvider not used in this test implementation
}
public void SetMetrics(string symbolId, string callgraphId, GraphMetrics metrics)
{
_metrics[$"{symbolId}:{callgraphId}"] = metrics;