R2-03 Virtual-Tag failure quality (arch-review round 2) #430

Closed
dohertj2 wants to merge 0 commits from r2/03-vt-failure-quality into master
Owner

Round-2 arch-review plan R2-03 (findings 02/S13, 02/S12, 02/P7).

  • S13: VT script failure/timeout now degrades the node to OpcUaQuality.Bad (carrying last-known value) once per Good→Bad transition, gated on all deps arrived (no cold-start flash); recovery force-publishes next Good. Bridge historizes 0x80020000 BadInternalError. (Fixes the stale-Good-forever hole the timeout fix created.)
  • S12: RoslynVirtualTagEvaluator.Evaluate retries once on ObjectDisposedException from a clear racing an in-flight evaluation (re-fetch recompiles into current generation).
  • P7: apply-boundary ClearCompiledScripts gated on a changed deployed expression set (HashSet.SetEquals, ordinal) — identical redeploys no longer force full VT recompilation.

10/12 tasks; T11 (full sweep) + T12 (live /run) deferred to serial heavy pass. Build clean; Runtime.Tests 372/372, RoslynVirtualTagEvaluatorTests 20/20 (S12 stress deterministically green). Plan: archreview/plans/R2-03-vt-failure-quality-plan.md.

Round-2 arch-review plan **R2-03** (findings 02/S13, 02/S12, 02/P7). - **S13**: VT script failure/timeout now degrades the node to `OpcUaQuality.Bad` (carrying last-known value) once per Good→Bad transition, gated on all deps arrived (no cold-start flash); recovery force-publishes next Good. Bridge historizes 0x80020000 BadInternalError. (Fixes the stale-Good-forever hole the timeout fix created.) - **S12**: `RoslynVirtualTagEvaluator.Evaluate` retries once on ObjectDisposedException from a clear racing an in-flight evaluation (re-fetch recompiles into current generation). - **P7**: apply-boundary `ClearCompiledScripts` gated on a changed deployed expression set (HashSet.SetEquals, ordinal) — identical redeploys no longer force full VT recompilation. 10/12 tasks; **T11 (full sweep) + T12 (live /run) deferred** to serial heavy pass. Build clean; Runtime.Tests 372/372, RoslynVirtualTagEvaluatorTests 20/20 (S12 stress deterministically green). Plan: `archreview/plans/R2-03-vt-failure-quality-plan.md`.
dohertj2 added 12 commits 2026-07-13 10:19:26 -04:00
docs(r2-03): record execution deviations (T7 stress config, test-run scope)
v2-ci / build (pull_request) Successful in 3m55s
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.Host.IntegrationTests) (pull_request) Failing after 4m14s
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests) (pull_request) Failing after 1m44s
v2-ci / unit-tests (pull_request) Failing after 9m13s
6bb91e8d1f
Author
Owner

Landed on master via merge commit 901d4e6e (local --no-ff merge, STATUS.md resolved additively, clean build barrier). Closing as merged.

Landed on `master` via merge commit `901d4e6e` (local --no-ff merge, STATUS.md resolved additively, clean build barrier). Closing as merged.
dohertj2 closed this pull request 2026-07-13 10:20:44 -04:00
Some checks are pending
v2-ci / build (pull_request) Successful in 3m55s
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.Host.IntegrationTests) (pull_request) Failing after 4m14s
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests) (pull_request) Failing after 1m44s
v2-ci / unit-tests (pull_request) Failing after 9m13s

Pull request closed

Sign in to join this conversation.