[ablegacy] AbLegacy — Auto-demote on comm failure #255

Open
opened 2026-04-25 12:34:23 -04:00 by dohertj2 · 0 comments
Owner

Auto-managed PR — Mode B (autonomous)

Driver: ablegacy Phase: 5 Plan PR: 12
Plan: docs/plans/ablegacy-plan.md
Effort: M Cross-driver: False

Summary

AbLegacyDemoteOptions { FailureThreshold=3, DemoteFor=30s, Enabled=true }. ConsecutiveFailures, DemotedUntilUtc on DeviceState. Adds HostState.Demoted enum value.

Source files

  • src/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/AbLegacyDriverOptions.cs
  • src/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/AbLegacyDriver.cs

Docs

  • docs/drivers/AbLegacy-AutoDemote.md
  • docs/Driver.AbLegacy.Cli.md
  • docs/drivers/AbLegacy-Test-Fixture.md

Fixture

  • tests/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.IntegrationTests/Docker/docker-compose.yml

E2E

  • scripts/e2e/test-ablegacy.ps1
  • scripts/smoke/seed-ablegacy-smoke.sql

Depends on

  • canonical: ablegacy-10

Branch: auto/ablegacy/12. Target: auto/driver-gaps.

<!-- queue-meta {"id": "ablegacy-12", "driver": "ablegacy", "phase": 5, "plan_pr_id": "12", "deps": ["ablegacy-10"], "cross_driver": false} --> ## Auto-managed PR — Mode B (autonomous) **Driver**: `ablegacy` **Phase**: `5` **Plan PR**: `12` **Plan**: [`docs/plans/ablegacy-plan.md`](docs/plans/ablegacy-plan.md) **Effort**: `M` **Cross-driver**: `False` ## Summary AbLegacyDemoteOptions { FailureThreshold=3, DemoteFor=30s, Enabled=true }. ConsecutiveFailures, DemotedUntilUtc on DeviceState. Adds HostState.Demoted enum value. ## Source files - `src/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/AbLegacyDriverOptions.cs` - `src/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/AbLegacyDriver.cs` ## Docs - `docs/drivers/AbLegacy-AutoDemote.md` - `docs/Driver.AbLegacy.Cli.md` - `docs/drivers/AbLegacy-Test-Fixture.md` ## Fixture - `tests/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.IntegrationTests/Docker/docker-compose.yml` ## E2E - `scripts/e2e/test-ablegacy.ps1` - `scripts/smoke/seed-ablegacy-smoke.sql` ## Depends on - canonical: `ablegacy-10` --- _Branch: `auto/ablegacy/12`. Target: `auto/driver-gaps`._
dohertj2 added the phase/5auto-manageddriver/ablegacyqueue/queued labels 2026-04-25 12:34:23 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#255