test(live): capture OperationComplete trigger, subtag Clear and status rows on windev (#210, #211)
ci / nightly-windev (push) Has been skipped
ci / windows-x86 (push) Successful in 2m23s
ci / java (push) Failing after 7m49s
ci / portable (push) Failing after 16m36s

Live MXAccess captures against the windev DEV Galaxy, recorded in
docs/LiveCaptures-2026-11-13.md:

- OperationComplete follows a Suspend/Activate whose synchronous MxStatus is
  Pending (advised, resolved item); one Ok row from RespondingLmx. Pinned by
  the new OperationCompleteLiveProbeTests live fact, with an
  unresolved-reference negative control. (#211 §3.1)
- No public COM event carries completion-only status bytes. All 71
  completions were typed MXSTATUS_PROXY[], so they stay raw permanently.
  (#211 §3.3)
- Subtag-mode Clear is drivable: the TestAlarm UDAs are MxSecurityOperate,
  so AuthenticateUser + WriteSecured toggles them. The new self-driven
  LiveSubtag_SelfDrivenRaiseThenClear_SynthesizesClear fact asserts the
  UnackAlm -> UnackRtn Clear (mutation-checked). (#210 §3.7)
- The B8 buffered "NoData bootstrap" is a ConfigurationError resolution
  failure (detail 6 / 1002). The DEV Galaxy has no buffered attribute, so a
  multi-sample capture needs IDE work. provider_switches was not driven. (#210)
- Status-row catalogue for lmxopcua#872: no Warning row seen, and Pending
  only on the synchronous Suspend/Activate return.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
This commit is contained in:
Joseph Doherty
2026-11-12 23:34:46 -05:00
parent 4890a3d16e
commit 9e4be25807
7 changed files with 584 additions and 24 deletions
@@ -1040,15 +1040,16 @@ public sealed class WorkerLiveMxAccessSmokeTests(ITestOutputHelper output)
// Best-effort capture of a SAMPLE-BEARING buffered batch.
//
// Live observation (B8): immediately after Advise the provider delivers an
// initial OnBufferedDataChange with data_type=NoData / raw_data_type=0 and zero
// quality+timestamp samples — the buffered analogue of the bad-quality/
// registration-state bootstrap event the OnDataChange tests skip with their
// family-match predicate. That empty bootstrap is parity, NOT a dropped payload:
// the converter ran without crashing and there were simply no samples to carry.
// We therefore match only a batch that actually carries samples, so a real
// multi-sample conversion can be validated and the empty bootstrap is skipped
// rather than mistaken for a defect.
// Live observation (B8, re-read 2026-11-13): immediately after Advise the provider
// delivers one OnBufferedDataChange with data_type=NoData and zero quality and
// timestamp samples. Its status row is ConfigurationError: detail 6
// (InvalidReference) for the (item, context) form used here, and detail 1002
// (InvalidPropertyId) for a full reference to an attribute without a buffer. It is
// a resolution failure, not a bootstrap. The DEV Galaxy has no buffered attribute,
// so no sample-bearing batch can arrive (docs/LiveCaptures-2026-11-13.md §5). The
// converter handling it without crashing is still worth keeping. We match only a
// batch that carries samples, so the test validates a multi-sample conversion if
// the item is pointed at a buffered attribute.
MxEvent? bufferedBatch = null;
try
{
@@ -1082,9 +1083,9 @@ public sealed class WorkerLiveMxAccessSmokeTests(ITestOutputHelper output)
{
// RESIDUAL (documented): the command path (AddBufferedItem +
// SetBufferedUpdateInterval + Advise) is proven and the buffered EVENT plumbing
// is live (the empty NoData bootstrap arrives and converts without crashing),
// but the rig did not drive a sample-bearing buffered batch within the timeout
// — the same environmental limitation as the externally-undrivable alarm rig.
// is live (the NoData resolution-failure event arrives and converts without
// crashing), but the rig has no buffered attribute to deliver a sample-bearing
// batch (docs/LiveCaptures-2026-11-13.md §5).
// The §3.2 OnBufferedDataChange MULTI-SAMPLE conversion therefore remains
// unverified live. This is environmental, not a defect — let the test pass.
output.WriteLine(