Files
lmxopcua/docs/plans/evidence/2026-11-13-g1-compliance/RESULTS.md
T
Joseph Doherty e299dc090a
v2-ci / unit-tests (push) Has been cancelled
chore(ga): retire G1 - delete the stale Phase 6 compliance scripts; v2 GA exit criteria all met/waived/retired
The phase-6-*.ps1 scripts checked v2 Phase 6 code that later commits deliberately
deleted (76310b88 v1 Server/Admin, #522, #524, LiteDB cache, v3 migration squash):
56/56 failures were retired files, so they could not pass. Owner retired G1; G2
plus the per-area suites cover the invariants. phase-7-compliance.ps1 is untouched.
2026-11-13 10:33:43 -05:00

2.9 KiB
Raw Blame History

G1: Phase 6 compliance scripts (2026-11-13)

Result: the scripts cannot pass as written. They check the v2 Phase 6 (2026-04) codebase. Every one of the 56 failures points at a file or symbol that a later commit deliberately deleted or replaced. None of them is a product regression.

How it was run

scripts/compliance/phase-6-all.ps1 starts each sub-script with powershell.exe, which does not exist on macOS. Each sub-script also runs the whole dotnet test itself; that duplicates G2, which runs at the same time.

  • Each sub-script was run with pwsh from a scratch copy.
  • The copy had the trailing dotnet test block removed (G2 is the test run), and the repo root hard-coded.
  • The static checks were not changed.

Master 16ddddb2.

Script PASS FAIL
6.1 Resilience & Observability 13 17
6.2 Authorization runtime 20 7
6.3 Redundancy runtime 0 21
6.4 Admin UI completion 0 11

Per-line output: 6.1.txt … 6.4.txt.

Every failure targets a retired file

missing-classified.txt gives, for each file a failing check reads, the commit that deleted it:

Commit What it retired Failing checks
76310b88 (2026-05-26) The v1 OtOpcUa.Server and OtOpcUa.Admin projects: DriverNodeManager, AuthorizationGate, ServiceLevelCalculator (the 8-band ServiceLevelBand enum), RecoveryStateManager, ApplyLeaseRegistry, HealthEndpointsHost, UnsImpactAnalyzer, EquipmentCsvImporter, ValidatedNodeAclAuthoringService. These were replaced by the Akka Runtime/ControlPlane/OpcUaServer/AdminUI projects. 6.1 ×5, 6.2 ×5, 6.3 ×21, 6.4 ×11
cbb88229 (#522) The inert driver-tier recycle machinery (MemoryTracking, MemoryRecycle, ScheduledRecycleScheduler, DriverTypeRegistry's tier). 6.1 ×5
2bae1b4c The LiteDB LocalCache (GenerationSealedCache, ResilientConfigReader, StaleConfigFlag), superseded by ZB.MOM.WW.LocalDb. 6.1 ×5
d979ac69 (#524) The dead DriverInstanceResilienceStatus table. 6.1 ×1
4d39b985 (v3 WP1) Migration AddLdapGroupRoleMapping, squashed into V3Initial (the entity survives). 6.2 ×1

Today's equivalents, where one exists:

  • ServiceLevel: Core.Cluster/Redundancy/ServiceLevelCalculator (bands 250/240/…, plus ComputeWarm, #717).
  • ACL evaluation: Core/Authorization/TriePermissionEvaluator.
  • LocalDb cache: ZB.MOM.WW.LocalDb.
  • Invariants: pinned by tests that G2 runs.

Owner decision (2026-11-13): retired

The owner retired G1. The phase-6-*.ps1 scripts were deleted (they remain in git history). The options considered were:

The 61 passing checks still hold; the 56 failing ones describe architecture that no longer exists. Options:

  1. Retire G1 as superseded by G2 plus the per-area test suites, as was done for G8.
  2. Rewrite the four scripts against the current architecture.