feat(resilience): #1047 non-retrying AcquisitionSubscribe capability wraps SubscribeAcquisitionAsync (breaker + /hosts telemetry), OTOPCUA0001 suppression removed
New DriverCapability.AcquisitionSubscribe (appended): RetryCount 0 in every tier and forced 0 by the parser, 30 s timeout (outlasts the actor's 10 s acquisition timeout), breaker 5 (Tier C none). PendingAcquisition.Start routes through the invoker keyed on the driver instance; an open breaker fails fast and the capacity reservation is released. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -634,6 +634,13 @@ before touching it:
|
||||
the pipeline timeout is counted once by `OnTimeout`), and any success resets it. A Tier A Read that fails 4 attempts
|
||||
now reads 4, not 3. The non-idempotent write pipeline (cached under `host::non-idempotent`) records its failures and
|
||||
breaker on the CALLER's host, where its success already reset them — it used to show a phantom `::non-idempotent` row.
|
||||
- **Acknowledged acquisition has its own capability, `AcquisitionSubscribe` (#1047).** gRPC-data acquisition
|
||||
(`IAcknowledgedAcquisitionSource.SubscribeAcquisitionAsync`) used to call the source unwrapped (OTOPCUA0001 suppressed),
|
||||
because the Subscribe pipeline retries and a retry would orphan a physical handle `PendingAcquisition` alone owns. It now runs
|
||||
through the invoker on `AcquisitionSubscribe`: never retries (the parser forces 0), tier timeout 30 s — deliberately longer than
|
||||
the actor's 10 s acquisition timeout, which stays the effective bound — breaker 5 (Tier C: none). Polly's timeout awaits the
|
||||
call and passes a completed result through, so the handle contract is unchanged; an open breaker fails the acquisition fast
|
||||
without calling the source and the reservation is released like any failure. Keyed on the driver instance.
|
||||
- **The pipeline's own timeout is a failure (#999 / review K-6).** A call that outlasts its capability
|
||||
timeout (a blackholed device that never answers) used to reach the breaker as an
|
||||
`OperationCanceledException`, which both predicates excluded — every call burned the full timeout
|
||||
|
||||
Reference in New Issue
Block a user