sqlinsight-pro/tests/SQLInsight.Rules.Tests
Søren Eggert Lundsteen Olsen 8db226d2b6 Dynamics AX 3.0: batch STATUS checked against customer data
Cascorp's BATCH table: every STATUS 4 row has an end time and no exception
code (finished), STATUS 1 rows have no end time and starts long passed
(waiting). So AX 3.0 uses the same order as AX 4.0+: 0 Tilbageholdt,
1 Venter, 2 Udfører, 3 Fejl, 4 Afsluttet. The old assumption (0 Venter ...
4 Tilbageholdt) treated finished jobs as held and waiting ones as running.

SQLI-AX-003 skips waiting jobs planned more than BatchAbandonedDays (30)
ago: the customer has 25 such rows from 2007-2018 that no batch server
serves; they are dead rows, not a live alarm.

Adds docs/dynamics-ax/verificer-ax30-batchstatus.sql (read-only) to repeat
the check at other AX 3.0 customers.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-03 09:36:56 +02:00
..
ActivityRuleTests.cs Long and large transactions and long-running statements (8b, 8d) 2026-10-02 10:36:41 +02:00
AnomalyRuleTests.cs Fase 2: baselines and anomaly detection 2026-09-29 08:01:11 +00:00
AvailabilityRuleTests.cs Availability groups: cluster node or witness down (D) 2026-10-02 10:56:43 +02:00
ConfigurationRuleTests.cs Configuration page with change log 2026-10-02 08:12:26 +02:00
CustomRuleTests.cs Rules the version does not support are "not applicable", not "not measurable" 2026-10-01 16:05:39 +02:00
DatabaseRuleTests.cs Separate "check by hand" from "not relevant" for version-gated rules 2026-10-02 09:59:50 +02:00
DynamicsAxRuleTests.cs Dynamics AX 3.0: batch STATUS checked against customer data 2026-10-03 09:36:56 +02:00
ErrorLogRuleTests.cs Review 1.2: say correctly what each error log source shows 2026-10-02 11:31:53 +02:00
IndexRuleTests.cs Index usage over time and never-updated statistics (8g, F) 2026-10-02 10:55:22 +02:00
ManagedInstanceTests.cs Rules the version does not support are "not applicable", not "not measurable" 2026-10-01 16:05:39 +02:00
OperationRuleTests.cs Long operations, full-text rules and statement activity 2026-10-02 09:07:29 +02:00
PatchLevelRuleTests.cs Fase 2: Azure SQL Managed Instance, docs and rule catalog test 2026-09-29 08:23:40 +00:00
PerformanceRuleTests.cs Disk speed per drive: IOPS, MB/s and latency 2026-10-02 08:03:11 +02:00
PlanRuleTests.cs Separate "check by hand" from "not relevant" for version-gated rules 2026-10-02 09:59:50 +02:00
PrivilegeRuleTests.cs Privilege audit: sysadmin and server roles with AD unfolding 2026-10-02 08:39:56 +02:00
QueryStoreRuleTests.cs Rules the version does not support are "not applicable", not "not measurable" 2026-10-01 16:05:39 +02:00
ReplicationRuleTests.cs Replication from the distributor (8f) 2026-10-02 10:48:46 +02:00
RuleCatalogTests.cs Review 1.5: SQL Scripts for Windows servers and synthetic checks follow main's structure and registry 2026-10-02 15:18:24 +02:00
RuleEngineTests.cs Rules the version does not support are "not applicable", not "not measurable" 2026-10-01 16:05:39 +02:00
ServerRuleScriptTests.cs Review 1.5: SQL Scripts for Windows servers and synthetic checks follow main's structure and registry 2026-10-02 15:18:24 +02:00
ServiceRuleTests.cs Stopped automatic SQL Server services (8e) 2026-10-02 10:43:26 +02:00
SQLInsight.Rules.Tests.csproj Dynamics AX rules SQLI-AX-001..010 and their SQL Scripts 2026-10-02 13:54:23 +02:00
SupportLifecycleRuleTests.cs Fase 2: Azure SQL Managed Instance, docs and rule catalog test 2026-09-29 08:23:40 +00:00
TempdbRuleTests.cs tempdb and version store (8c) 2026-10-02 10:42:38 +02:00
TestInstances.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
WindowsServerRuleTests.cs Review 1.5: server and check rules never pass unmeasured, cap and stabilize findings, keep sensitive text out of titles 2026-10-02 15:45:44 +02:00