sqlinsight-pro/tests/SQLInsight.Rules.Tests
Claude e4910aeba5
Some checks are pending
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:2019-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2022-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2025-latest) (push) Blocked by required conditions
Fase 2: Query Store analysis (plan regressions, failed forced plans, parameter sensitivity)
Collector reads the 100 heaviest queries per Query Store database, split
into the last 24 hours and the week before. Rules:
- SQLI-QS-001 plan regression: new plan >= 2x slower than the best plan
  from the week before and >= 60 s extra per day; scripts the force
- SQLI-QS-002 forced plan that fails (e.g. NO_INDEX); scripts the unforce
- SQLI-QS-003 parameter sensitivity: very different plans or volatile
  durations; suggests PSP optimization / Query Store hints on 2022+
Also: backups taken in the same second a database was created count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E3EExwndy8Z22EK2Qpt6BK
2026-09-29 07:33:14 +00:00
..
ConfigurationRuleTests.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
DatabaseRuleTests.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
PatchLevelRuleTests.cs Fase 1: patch level rule with build catalog; README status 2026-09-29 07:03:25 +00:00
PerformanceRuleTests.cs Fase 1: on-prem web UI (IIS or Windows service), light design system 2026-09-29 06:58:51 +00:00
QueryStoreRuleTests.cs Fase 2: Query Store analysis (plan regressions, failed forced plans, parameter sensitivity) 2026-09-29 07:33:14 +00:00
RuleEngineTests.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
SQLInsight.Rules.Tests.csproj Fase 0: solution structure, capability model, rule engine, least-privilege script 2026-09-29 05:40:49 +00:00
SupportLifecycleRuleTests.cs Verify SQL Server lifecycle dates and add SQL Server 2025 2026-09-29 05:47:53 +00:00
TestInstances.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00