sqlinsight-pro/tests/SQLInsight.Core.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
..
BaselineTests.cs Fase 2: baselines and anomaly detection 2026-09-29 08:01:11 +00:00
ConfigurationFingerprintTests.cs Configuration page with change log 2026-10-02 08:12:26 +02:00
DeltaTests.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
DiskTests.cs Disk speed per drive: IOPS, MB/s and latency 2026-10-02 08:03:11 +02:00
DynamicsAxTests.cs Dynamics AX 3.0: batch STATUS checked against customer data 2026-10-03 09:36:56 +02:00
ErrorLogTests.cs SQL Server error log without elevated rights (8a) 2026-10-02 10:30:41 +02:00
IndexUsageTests.cs Review 1.2: index usage after a counter reset without a restart 2026-10-02 11:34:17 +02:00
InstanceCapabilitiesTests.cs Fase 2: Azure SQL Managed Instance, docs and rule catalog test 2026-09-29 08:23:40 +00:00
InstanceConfigurationTests.cs Instance configuration core: database selection, sealed credentials, agent request contracts 2026-10-02 13:21:59 +02:00
PrivilegeAnalysisTests.cs Privilege audit: sysadmin and server roles with AD unfolding 2026-10-02 08:39:56 +02:00
QueryStatsDeltaTests.cs Top SQL: collect what the heaviest statements use every 5 minutes 2026-10-01 15:46:45 +02:00
ReadOnlyQueryTests.cs Review 1.5: the read-only check of typed queries can no longer be bypassed 2026-10-02 15:08:34 +02:00
ServerGrantScriptTests.cs Review 1.5: grant-windows-server.ps1 backs up, removes exactly what it gave, and never more than read 2026-10-02 15:31:49 +02:00
SQLInsight.Core.Tests.csproj Dynamics AX core: central detector, per-version schema adapters, read-access GRANT 2026-10-02 13:52:58 +02:00
SqlServerVersionTests.cs Fase 0: solution structure, capability model, rule engine, least-privilege script 2026-09-29 05:40:49 +00:00
SyntheticCheckTests.cs Review 1.5: a check sent back from API v1 with [udeladt] login or URL query is refused, not saved 2026-10-02 15:54:38 +02:00
WaitSamplingTests.cs Wait type drill-down with active session sampling 2026-10-02 08:50:31 +02:00
WindowsServerTests.cs Review 1.5: disk forecasts, 24-hour event counts, performance gaps and per-user tasks in Core 2026-10-02 15:45:44 +02:00