Files
git.stella-ops.org/docs/implplan-blocked/audits/csproj-standards/VexLens/StellaOps.VexLens.Persistence/StellaOps.VexLens.Persistence.md

1.3 KiB

Audit - StellaOps.VexLens.Persistence

Project

  • Path: src/VexLens/StellaOps.VexLens.Persistence/StellaOps.VexLens.Persistence.csproj
  • Module: VexLens
  • Kind: Service
  • SDK: Microsoft.NET.Sdk
  • TargetFramework: net10.0
  • Audit date (UTC): 2026-01-30

Coding Standards Findings

  • Status: FAIL
  • Nullable: enable
  • TreatWarningsAsErrors: explicit true
  • Deterministic: inherited true
  • 100-line rule violations: 3
  • Service locator usage (BuildServiceProvider/GetService): 0
  • Analyzer enforcement: missing repo-wide (see summary).

Details

  • 100-line files:
    • src/VexLens/StellaOps.VexLens.Persistence/Postgres/PostgresConsensusProjectionStore.cs (587 lines)
    • src/VexLens/StellaOps.VexLens.Persistence/Repositories/ConsensusProjectionRepository.cs (284 lines)
    • src/VexLens/StellaOps.VexLens.Persistence/Repositories/IConsensusProjectionRepository.cs (117 lines)
  • Service locator matches:
    • none

Fix Guidance

  • Split files over 100 lines into smaller types or partials.

Testing Fullness Findings

  • Status: FAIL
  • Expected layers: Unit
  • Detected test projects: none
  • Missing layers: Unit

Manual checks required

  • Observability contract tests for WebService/Worker.
  • Offline execution (tests must run without network access).

Fix Guidance

  • Add a unit test project named <Project>.Tests (or document exception).