OTOPCUA0001: 523 unsuppressed analyzer warnings across 13 test projects #595

Closed
opened 2026-10-08 02:31:09 -04:00 by dohertj2 · 1 comment
Owner

Directory.Build.props says projects that intentionally call capabilities unwrapped get a scoped NoWarn; 11 test projects have it, 13 don't: Modbus.Tests 115, TwinCAT.Tests 83, FOCAS.Tests 73, AbLegacy.Tests 66, Galaxy.Tests 58, Modbus.IntegrationTests 37, Mqtt.Tests 28, OpcUaClient.Tests 21, TwinCAT.IntegrationTests 18, FOCAS.IntegrationTests 10, Calculation.Tests 6, OpcUaClient.IntegrationTests 5, AbLegacy.IntegrationTests 3. None in src/. The noise hides a real regression.
Sources: Directory.Build.props:19-28; dotnet build --no-incremental on master 2026-10-08.

  • Add the documented scoped <NoWarn> (with the arch-review 07/C-1 comment) to each, or wrap the calls
  • Consider failing the build on OTOPCUA0001 in src/

Filed 2026-10-08 by the pending/deferred-work sweep after the #562–#591 issue sweep.

Directory.Build.props says projects that intentionally call capabilities unwrapped get a scoped NoWarn; 11 test projects have it, 13 don't: Modbus.Tests 115, TwinCAT.Tests 83, FOCAS.Tests 73, AbLegacy.Tests 66, Galaxy.Tests 58, Modbus.IntegrationTests 37, Mqtt.Tests 28, OpcUaClient.Tests 21, TwinCAT.IntegrationTests 18, FOCAS.IntegrationTests 10, Calculation.Tests 6, OpcUaClient.IntegrationTests 5, AbLegacy.IntegrationTests 3. None in `src/`. The noise hides a real regression. Sources: Directory.Build.props:19-28; `dotnet build --no-incremental` on master 2026-10-08. - [ ] Add the documented scoped `<NoWarn>` (with the arch-review 07/C-1 comment) to each, or wrap the calls - [ ] Consider failing the build on OTOPCUA0001 in `src/` _Filed 2026-10-08 by the pending/deferred-work sweep after the #562–#591 issue sweep._
dohertj2 added the cross-driver label 2026-10-08 02:31:09 -04:00
Author
Owner

Resolved on master (7aa77588, merge 792510c0).

  • The scoped <NoWarn>OTOPCUA0001</NoWarn> (with the arch-review 07/C-1 rationale comment) is now in all 13 listed test projects.
  • OTOPCUA0001 is an error under src/ (WarningsAsErrors in Directory.Build.props). Also pinned the SDK via global.json (#606).
  • Full build is clean (0 errors) and the full suite on 5a5f9b22 was green.

Closed 2026-10-08 by the hardware-available issue sweep (master d898262c).

Resolved on master (7aa77588, merge 792510c0). - [x] The scoped `<NoWarn>OTOPCUA0001</NoWarn>` (with the arch-review 07/C-1 rationale comment) is now in all 13 listed test projects. - [x] OTOPCUA0001 is an error under `src/` (`WarningsAsErrors` in Directory.Build.props). Also pinned the SDK via global.json (#606). - Full build is clean (0 errors) and the full suite on 5a5f9b22 was green. *Closed 2026-10-08 by the hardware-available issue sweep (master d898262c).*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#595