stabilize tests
This commit is contained in:
@@ -46,20 +46,20 @@ This enables queries like:
|
||||
|
||||
```
|
||||
src/Unknowns/
|
||||
├── __Libraries/
|
||||
│ ├── StellaOps.Unknowns.Core/
|
||||
│ │ ├── Models/
|
||||
│ │ │ └── Unknown.cs # Domain model and enums
|
||||
│ │ └── Repositories/
|
||||
│ │ └── IUnknownRepository.cs # Repository interface
|
||||
│ └── StellaOps.Unknowns.Storage.Postgres/
|
||||
│ ├── Migrations/
|
||||
│ │ └── 001_initial_schema.sql # Bitemporal schema
|
||||
│ └── Repositories/
|
||||
│ └── PostgresUnknownRepository.cs
|
||||
└── __Tests/
|
||||
└── StellaOps.Unknowns.Storage.Postgres.Tests/
|
||||
└── PostgresUnknownRepositoryTests.cs
|
||||
????????? __Libraries/
|
||||
??? ????????? StellaOps.Unknowns.Core/
|
||||
??? ??? ????????? Models/
|
||||
??? ??? ??? ????????? Unknown.cs # Domain model and enums
|
||||
??? ??? ????????? Repositories/
|
||||
??? ??? ????????? IUnknownRepository.cs # Repository interface
|
||||
??? ????????? StellaOps.Unknowns.Storage.Postgres/
|
||||
??? ????????? Migrations/
|
||||
??? ??? ????????? 001_initial_schema.sql # Bitemporal schema
|
||||
??? ????????? Repositories/
|
||||
??? ????????? PostgresUnknownRepository.cs
|
||||
????????? __Tests/
|
||||
????????? StellaOps.Unknowns.Storage.Postgres.Tests/
|
||||
????????? PostgresUnknownRepositoryTests.cs
|
||||
```
|
||||
|
||||
## Database Schema
|
||||
@@ -132,5 +132,6 @@ Tests use Testcontainers for PostgreSQL integration testing.
|
||||
## Related Documentation
|
||||
|
||||
- `docs/operations/postgresql-patterns-runbook.md` - Operational guide
|
||||
- `docs/implplan/SPRINT_3420_0001_0001_bitemporal_unknowns_schema.md` - Sprint spec
|
||||
- `docs-archived/implplan/SPRINT_3420_0001_0001_bitemporal_unknowns_schema.md` - Sprint spec
|
||||
- `devops/database/postgres/validation/001_validate_rls.sql` - RLS validation
|
||||
|
||||
|
||||
@@ -5,12 +5,13 @@
|
||||
// Description: Watchdog service to detect and handle stuck entries
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using System.Diagnostics.Metrics;
|
||||
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
using StellaOps.Unknowns.Core.Models;
|
||||
using StellaOps.Unknowns.Core.Repositories;
|
||||
using System.Diagnostics.Metrics;
|
||||
|
||||
namespace StellaOps.Unknowns.Services;
|
||||
|
||||
|
||||
8
src/Unknowns/StellaOps.Unknowns.Services/TASKS.md
Normal file
8
src/Unknowns/StellaOps.Unknowns.Services/TASKS.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# StellaOps.Unknowns.Services 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/Unknowns/StellaOps.Unknowns.Services/StellaOps.Unknowns.Services.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
@@ -5,12 +5,13 @@
|
||||
// Description: Background service for automatic band transitions based on events
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using System.Diagnostics.Metrics;
|
||||
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
using StellaOps.Unknowns.Core.Models;
|
||||
using StellaOps.Unknowns.Core.Repositories;
|
||||
using System.Diagnostics.Metrics;
|
||||
|
||||
namespace StellaOps.Unknowns.Services;
|
||||
|
||||
|
||||
@@ -5,13 +5,14 @@
|
||||
// Description: Prometheus metrics for unknowns queue operations
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Metrics;
|
||||
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
using StellaOps.Unknowns.Core.Models;
|
||||
using StellaOps.Unknowns.Core.Repositories;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.Metrics;
|
||||
|
||||
namespace StellaOps.Unknowns.Services;
|
||||
|
||||
|
||||
8
src/Unknowns/StellaOps.Unknowns.WebService/TASKS.md
Normal file
8
src/Unknowns/StellaOps.Unknowns.WebService/TASKS.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# StellaOps.Unknowns.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/Unknowns/StellaOps.Unknowns.WebService/StellaOps.Unknowns.WebService.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
@@ -1,8 +1,9 @@
|
||||
|
||||
using StellaOps.Unknowns.Core.Models;
|
||||
using System.Globalization;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using StellaOps.Unknowns.Core.Models;
|
||||
|
||||
namespace StellaOps.Unknowns.Core.Hints;
|
||||
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
// Description: Classification service for native binary unknowns.
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
using StellaOps.Unknowns.Core.Models;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using StellaOps.Unknowns.Core.Models;
|
||||
|
||||
namespace StellaOps.Unknowns.Core.Services;
|
||||
|
||||
|
||||
@@ -5,9 +5,10 @@
|
||||
// Description: Ingests runtime containment signals from container orchestrators
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using System.Text.Json;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
using StellaOps.Unknowns.Core.Models;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.Unknowns.Core.Services;
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# StellaOps.Unknowns.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/Unknowns/__Libraries/StellaOps.Unknowns.Core/StellaOps.Unknowns.Core.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json;
|
||||
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using StellaOps.Unknowns.Core.Models;
|
||||
using StellaOps.Unknowns.Core.Repositories;
|
||||
using StellaOps.Unknowns.Persistence.EfCore.Context;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.Unknowns.Persistence.EfCore.Repositories;
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# StellaOps.Unknowns.Persistence.EfCore 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/Unknowns/__Libraries/StellaOps.Unknowns.Persistence.EfCore/StellaOps.Unknowns.Persistence.EfCore.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json;
|
||||
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using StellaOps.Unknowns.Core.Models;
|
||||
using StellaOps.Unknowns.Core.Repositories;
|
||||
using StellaOps.Unknowns.Persistence.EfCore.Context;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.Unknowns.Persistence.EfCore.Repositories;
|
||||
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Npgsql;
|
||||
using NpgsqlTypes;
|
||||
using StellaOps.Unknowns.Core.Models;
|
||||
using StellaOps.Unknowns.Core.Repositories;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.Unknowns.Persistence.Postgres.Repositories;
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# StellaOps.Unknowns.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/Unknowns/__Libraries/StellaOps.Unknowns.Persistence/StellaOps.Unknowns.Persistence.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
@@ -0,0 +1,8 @@
|
||||
# StellaOps.Unknowns.Core.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/Unknowns/__Tests/StellaOps.Unknowns.Core.Tests/StellaOps.Unknowns.Core.Tests.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
@@ -0,0 +1,8 @@
|
||||
# StellaOps.Unknowns.Persistence.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/Unknowns/__Tests/StellaOps.Unknowns.Persistence.Tests/StellaOps.Unknowns.Persistence.Tests.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
@@ -0,0 +1,8 @@
|
||||
# StellaOps.Unknowns.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/Unknowns/__Tests/StellaOps.Unknowns.WebService.Tests/StellaOps.Unknowns.WebService.Tests.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
Reference in New Issue
Block a user