stabilize tests

This commit is contained in:
master
2026-02-01 21:37:40 +02:00
parent 55744f6a39
commit 5d5e80b2e4
6435 changed files with 33984 additions and 13802 deletions

View File

@@ -20,7 +20,7 @@ Deliver the VexHub aggregation service that normalizes, validates, and distribut
- `docs/modules/platform/architecture-overview.md`
- `docs/modules/excititor/architecture.md`
- `docs/modules/vex-lens/architecture.md`
- `docs/modules/vexhub/architecture.md`
- `docs/modules/vex-hub/architecture.md`
## Working Agreement
- Keep outputs deterministic (stable ordering, UTC timestamps, canonical JSON where applicable).
@@ -30,3 +30,4 @@ Deliver the VexHub aggregation service that normalizes, validates, and distribut
## Testing Expectations
- Add unit and integration tests for pipelines and APIs with deterministic fixtures.
- Prefer Postgres-backed tests via Testcontainers; no external network usage.

View File

@@ -1,11 +1,12 @@
using Microsoft.AspNetCore.Mvc;
using StellaOps.VexHub.Core;
using StellaOps.VexHub.Core.Export;
using StellaOps.VexHub.Core.Models;
using StellaOps.VexHub.WebService.Models;
using System.Text;
using System.Text.Json;
using System.Text.Json.Nodes;
using StellaOps.VexHub.Core;
using StellaOps.VexHub.Core.Models;
using StellaOps.VexHub.Core.Export;
using StellaOps.VexHub.WebService.Models;
namespace StellaOps.VexHub.WebService.Extensions;

View File

@@ -1,7 +1,8 @@
using System.Security.Claims;
using System.Text.Encodings.Web;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Options;
using System.Security.Claims;
using System.Text.Encodings.Web;
namespace StellaOps.VexHub.WebService.Middleware;

View File

@@ -1,7 +1,8 @@
using System.Collections.Concurrent;
using System.Net;
using Microsoft.Extensions.Options;
using StellaOps.VexHub.Core.Models;
using System.Collections.Concurrent;
using System.Net;
namespace StellaOps.VexHub.WebService.Middleware;

View File

@@ -1,9 +1,10 @@
using Serilog;
using StellaOps.Router.AspNet;
using StellaOps.VexHub.Core.Extensions;
using StellaOps.VexHub.Persistence.Extensions;
using StellaOps.VexHub.WebService.Extensions;
using StellaOps.VexHub.WebService.Middleware;
using StellaOps.Router.AspNet;
var builder = WebApplication.CreateBuilder(args);

View File

@@ -0,0 +1,8 @@
# StellaOps.VexHub.WebService Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/SPRINT_20260130_002_Tools_csproj_remediation_solid_review.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| REMED-05 | TODO | Remediation checklist: docs/implplan/audits/csproj-standards/remediation/checklists/src/VexHub/StellaOps.VexHub.WebService/StellaOps.VexHub.WebService.md. |
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |

View File

@@ -1,10 +1,11 @@
using System.Globalization;
using System.Text;
using System.Text.Json;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using StellaOps.VexHub.Core.Models;
using StellaOps.VexLens.Models;
using System.Globalization;
using System.Text;
using System.Text.Json;
namespace StellaOps.VexHub.Core.Export;

View File

@@ -1,5 +1,6 @@
using System.Text.Json.Serialization;
using StellaOps.VexLens.Models;
using System.Text.Json.Serialization;
namespace StellaOps.VexHub.Core.Models;

View File

@@ -1,11 +1,12 @@
using System.Security.Cryptography;
using System.Text;
using System.Text.Json;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using StellaOps.VexHub.Core.Models;
using StellaOps.VexHub.Core.Validation;
using StellaOps.VexLens.Models;
using System.Security.Cryptography;
using System.Text;
using System.Text.Json;
namespace StellaOps.VexHub.Core.Pipeline;

View File

@@ -0,0 +1,8 @@
# StellaOps.VexHub.Core Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/SPRINT_20260130_002_Tools_csproj_remediation_solid_review.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| REMED-05 | TODO | Remediation checklist: docs/implplan/audits/csproj-standards/remediation/checklists/src/VexHub/__Libraries/StellaOps.VexHub.Core/StellaOps.VexHub.Core.md. |
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |

View File

@@ -1,7 +1,8 @@
using System.Text.Json;
using Microsoft.Extensions.Logging;
using StellaOps.VexHub.Core.Models;
using StellaOps.VexLens.Models;
using System.Text.Json;
namespace StellaOps.VexHub.Core.Validation;

View File

@@ -1,7 +1,8 @@
using System.Text.Json;
using Microsoft.Extensions.Logging;
using StellaOps.VexHub.Core.Models;
using StellaOps.VexLens.Models;
using System.Text.Json;
namespace StellaOps.VexHub.Core.Validation;

View File

@@ -1,7 +1,8 @@
using System.Text.Json;
using Microsoft.Extensions.Logging;
using StellaOps.VexHub.Core.Models;
using StellaOps.VexLens.Models;
using System.Text.Json;
namespace StellaOps.VexHub.Core.Validation;

View File

@@ -1,11 +1,12 @@
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using StellaOps.VexHub.Core.Models;
using System.Diagnostics;
using System.Net.Http.Json;
using System.Security.Cryptography;
using System.Text;
using System.Text.Json;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using StellaOps.VexHub.Core.Models;
namespace StellaOps.VexHub.Core.Webhooks;

View File

@@ -1,9 +1,10 @@
using System.Text.Json;
using Dapper;
using Microsoft.Extensions.Logging;
using StellaOps.VexHub.Core;
using StellaOps.VexHub.Core.Models;
using StellaOps.VexHub.Persistence.Postgres.Models;
using System.Text.Json;
namespace StellaOps.VexHub.Persistence.Postgres.Repositories;

View File

@@ -1,10 +1,11 @@
using System.Text.Json;
using Dapper;
using Microsoft.Extensions.Logging;
using StellaOps.VexHub.Core;
using StellaOps.VexHub.Core.Models;
using StellaOps.VexHub.Persistence.Postgres.Models;
using StellaOps.VexLens.Models;
using System.Text.Json;
namespace StellaOps.VexHub.Persistence.Postgres.Repositories;

View File

@@ -0,0 +1,8 @@
# StellaOps.VexHub.Persistence Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/SPRINT_20260130_002_Tools_csproj_remediation_solid_review.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| REMED-05 | TODO | Remediation checklist: docs/implplan/audits/csproj-standards/remediation/checklists/src/VexHub/__Libraries/StellaOps.VexHub.Persistence/StellaOps.VexHub.Persistence.md. |
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |

View File

@@ -6,6 +6,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<RootNamespace>StellaOps.VexHub.Core.Tests</RootNamespace>
</PropertyGroup>

View File

@@ -0,0 +1,9 @@
using Xunit;
namespace StellaOps.VexHub.Core.Tests;
public sealed class VexHubCoreSmoke
{
[Fact]
public void ProjectLoads() => Assert.True(true);
}

View File

@@ -0,0 +1,8 @@
# StellaOps.VexHub.WebService.Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/SPRINT_20260130_002_Tools_csproj_remediation_solid_review.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| REMED-05 | TODO | Remediation checklist: docs/implplan/audits/csproj-standards/remediation/checklists/src/VexHub/__Tests/StellaOps.VexHub.WebService.Tests/StellaOps.VexHub.WebService.Tests.md. |
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |