more features checks. setup improvements
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"feature": "relational-call-graph-postgresql-schema",
|
||||
"module": "signals",
|
||||
"tier": 0,
|
||||
"runId": "run-001",
|
||||
"timestamp": "2026-02-12T21:58:00Z",
|
||||
"result": "pass",
|
||||
"checks": [
|
||||
{
|
||||
"name": "SignalsDbContext exists",
|
||||
"path": "src/Signals/__Libraries/StellaOps.Signals.Persistence/EfCore/Context/SignalsDbContext.cs",
|
||||
"found": true
|
||||
},
|
||||
{
|
||||
"name": "Initial schema migration exists",
|
||||
"path": "src/Signals/__Libraries/StellaOps.Signals.Persistence/Migrations/001_initial_schema.sql",
|
||||
"found": true
|
||||
},
|
||||
{
|
||||
"name": "Runtime agent schema migration exists",
|
||||
"path": "src/Signals/__Libraries/StellaOps.Signals.Persistence/Migrations/002_runtime_agent_schema.sql",
|
||||
"found": true
|
||||
},
|
||||
{
|
||||
"name": "FuncNodeDocument model exists",
|
||||
"path": "src/Signals/StellaOps.Signals/Models/ReachabilityStore/FuncNodeDocument.cs",
|
||||
"found": true
|
||||
},
|
||||
{
|
||||
"name": "PostgresCallGraphProjectionRepository exists",
|
||||
"path": "src/Signals/__Libraries/StellaOps.Signals.Persistence/Postgres/Repositories/PostgresCallGraphProjectionRepository.cs",
|
||||
"found": true
|
||||
},
|
||||
{
|
||||
"name": "PostgresCallGraphQueryRepository exists",
|
||||
"path": "src/Signals/__Libraries/StellaOps.Signals.Persistence/Postgres/Repositories/PostgresCallGraphQueryRepository.cs",
|
||||
"found": true
|
||||
},
|
||||
{
|
||||
"name": "CallGraphSyncService exists",
|
||||
"path": "src/Signals/StellaOps.Signals/Services/CallGraphSyncService.cs",
|
||||
"found": true
|
||||
}
|
||||
],
|
||||
"summary": "All key source files for relational call-graph PostgreSQL schema feature are present."
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"tier": 1,
|
||||
"type": "code_review",
|
||||
"capturedAtUtc": "2026-02-12T21:20:00Z",
|
||||
"feature": "relational-call-graph-postgresql-schema",
|
||||
"claimsVerified": true,
|
||||
"missingClaims": [],
|
||||
"presentClaims": [
|
||||
"SignalsDbContext exists at src/Signals/__Libraries/StellaOps.Signals.Persistence/EfCore/Context/SignalsDbContext.cs",
|
||||
"001_initial_schema.sql migration exists at src/Signals/__Libraries/StellaOps.Signals.Persistence/Migrations/001_initial_schema.sql",
|
||||
"002_runtime_agent_schema.sql migration exists at src/Signals/__Libraries/StellaOps.Signals.Persistence/Migrations/002_runtime_agent_schema.sql",
|
||||
"FuncNodeDocument exists at src/Signals/StellaOps.Signals/Models/ReachabilityStore/FuncNodeDocument.cs",
|
||||
"CallEdgeDocument exists at src/Signals/StellaOps.Signals/Models/ReachabilityStore/CallEdgeDocument.cs",
|
||||
"CveFuncHitDocument exists at src/Signals/StellaOps.Signals/Models/ReachabilityStore/CveFuncHitDocument.cs",
|
||||
"PostgresCallgraphRepository exists at src/Signals/__Libraries/StellaOps.Signals.Persistence/Postgres/Repositories/PostgresCallgraphRepository.cs",
|
||||
"PostgresReachabilityFactRepository exists at src/Signals/__Libraries/StellaOps.Signals.Persistence/Postgres/Repositories/PostgresReachabilityFactRepository.cs",
|
||||
"Tests exist at src/Signals/__Tests/StellaOps.Signals.Persistence.Tests/"
|
||||
],
|
||||
"verdict": "done",
|
||||
"notes": "All claimed classes, models, and migrations verified present. PostgreSQL schema with relational tables for call-graph data (func_nodes, call_edges, cve_func_hits) is implemented with EF Core context and repository pattern."
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"feature": "relational-call-graph-postgresql-schema",
|
||||
"module": "signals",
|
||||
"tier": 2,
|
||||
"runId": "run-001",
|
||||
"timestamp": "2026-02-12T21:59:00Z",
|
||||
"result": "pass",
|
||||
"testProjects": [
|
||||
{
|
||||
"project": "StellaOps.Signals.Persistence.Tests",
|
||||
"testClasses": [
|
||||
"CallGraphProjectionIntegrationTests",
|
||||
"CallGraphSyncServiceTests"
|
||||
],
|
||||
"passed": 6,
|
||||
"failed": 0,
|
||||
"skipped": 0
|
||||
},
|
||||
{
|
||||
"project": "StellaOps.Signals.Tests",
|
||||
"testClasses": [
|
||||
"CallGraphSyncServiceTests"
|
||||
],
|
||||
"passed": 8,
|
||||
"failed": 0,
|
||||
"skipped": 0
|
||||
}
|
||||
],
|
||||
"totalPassed": 14,
|
||||
"totalFailed": 0,
|
||||
"coverageSummary": {
|
||||
"CallGraphProjectionIntegrationTests": "5 tests: projection to relational tables, idempotency (no duplicates on re-sync), entrypoint projection (HTTP endpoints), deletion cascading, query repository stats verification",
|
||||
"CallGraphSyncServiceTests (persistence)": "1 test: full sync lifecycle with real PostgreSQL - node/edge/entrypoint projection, stats query (NodeCount, EdgeCount, EntrypointCount, UniquePurls, HeuristicEdgeCount, UnresolvedEdgeCount), reachable symbols traversal, idempotent re-sync",
|
||||
"CallGraphSyncServiceTests (unit)": "8 tests: in-memory call-graph sync covering node projection, edge projection with EdgeKind/Reason, entrypoint mapping, graph hash tracking"
|
||||
},
|
||||
"assertions": [
|
||||
"PostgreSQL schema has cg_nodes, cg_edges, entrypoints tables with indexes",
|
||||
"CallGraphSyncService.SyncAsync projects nodes, edges, and entrypoints to relational tables",
|
||||
"Idempotent sync does not create duplicates",
|
||||
"DeleteByScanAsync removes all projected data",
|
||||
"QueryRepository.GetStatsAsync returns accurate NodeCount, EdgeCount, EntrypointCount, UniquePurls",
|
||||
"QueryRepository.GetReachableSymbolsAsync traverses edges correctly",
|
||||
"Schema includes signals.scans, signals.artifacts, signals.graph_metrics, signals.symbol_component_map, signals.reachability_components, signals.reachability_findings, signals.unknowns tables with indexes and views"
|
||||
],
|
||||
"summary": "All 14 tests pass. Relational call-graph schema is fully functional: 507-line migration creates comprehensive PostgreSQL schema with tables, indexes, views, and materialized views. Projection, query, and sync services verified with real PostgreSQL integration tests."
|
||||
}
|
||||
Reference in New Issue
Block a user