sqlinsight-pro/tests/SQLInsight.IntegrationTests
Claude 0fcc31b509
Some checks are pending
CI / Integration (mcr.microsoft.com/mssql/server:2019-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2022-latest) (push) Blocked by required conditions
CI / Build og unit tests (push) Waiting to run
CI / Integration (mcr.microsoft.com/mssql/server:2017-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2025-latest) (push) Blocked by required conditions
Fase 3: SQLInsight Hub on PostgreSQL
- ASP.NET Core API POST /api/v1/findings with EF Core (Npgsql, snake_case)
  and a generated initial migration
- The hub is the authority on licenses: verifies the signature itself,
  rejects invalid (401), community/expired past grace (403), revoked
  (403, re-checked under the lock) and over the instance limit (403)
- Full-state reconciliation per instance: new findings inserted, existing
  updated, missing ones resolved, rule states upserted; idempotent by
  submission id; late older submissions are recorded but not applied
- Serialized per customer with a PostgreSQL advisory lock (found by a
  concurrency test: parallel first submissions raced on the license row)
- Size and schema validation; tests on real PostgreSQL, including the full
  path agent → queue → hub → PostgreSQL with evidence redaction

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E3EExwndy8Z22EK2Qpt6BK
2026-09-29 08:44:09 +00:00
..
AgentPipelineTests.cs Fase 1: on-prem web UI (IIS or Windows service), light design system 2026-09-29 06:58:51 +00:00
AgentSession.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
CollectorTests.cs Test: make plan-analysis probes heavy enough to rank in the top 50 2026-09-29 07:56:46 +00:00
HighAvailabilityTests.cs Fase 2: Always On availability groups and SQL Agent jobs 2026-09-29 07:53:49 +00:00
HubApiTests.cs Fase 3: SQLInsight Hub on PostgreSQL 2026-09-29 08:44:09 +00:00
HubEndToEndTests.cs Fase 3: SQLInsight Hub on PostgreSQL 2026-09-29 08:44:09 +00:00
HubFixture.cs Fase 3: SQLInsight Hub on PostgreSQL 2026-09-29 08:44:09 +00:00
InstanceProbeTests.cs Fase 0: solution structure, capability model, rule engine, least-privilege script 2026-09-29 05:40:49 +00:00
LeastPrivilegeTests.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
NotificationIntegrationTests.cs Fase 2: notifications by e-mail, Teams and webhook 2026-09-29 08:08:06 +00:00
RepositoryTests.cs Fase 2: baselines and anomaly detection 2026-09-29 08:01:11 +00:00
SQLInsight.IntegrationTests.csproj Fase 3: SQLInsight Hub on PostgreSQL 2026-09-29 08:44:09 +00:00
SqlServerFixture.cs Fase 2: Always On availability groups and SQL Agent jobs 2026-09-29 07:53:49 +00:00
WebTests.cs Fase 1: on-prem web UI (IIS or Windows service), light design system 2026-09-29 06:58:51 +00:00