Preserve scheduled provider health and original quote expiry #1468

Merged
PlasticDigits merged 1 commit from fix/1464-sustained-admission into main 2026-10-10 15:54:19 +00:00
Owner

Scheduled four-second pair observations could spend 2.5 seconds on a failed provider and cancel a healthy fallback before its own attempt timeout. Cancellation then quarantined both providers, collapsing cached route availability. Trusted scheduled observations now release a closed-provider attempt neutrally on caller cancellation while retaining its rate charge. Real failures, negative HTTP evidence, generic cancellation and incomplete half-open probes still quarantine. Known negatives and typed integrity evidence are latched before asynchronous metadata recording, including caller cancellation during lock contention.

Capture pair membership and its original config deadlines together before database awaits. A pair expiring during publication can no longer inherit a fresh sibling's later global expiry. Requests remain entirely local; provider caps, identity attestation, deadlines, freshness, supported semantics and execution floors remain unchanged.

Use the temporarily accepted <=500 ms useful-result budget in the bounded public probe, with tests rejecting errors and rounded-over-budget results. The original tighter target remains deferred. Update invariants, recovery runbook, agent skill and the verification/checklist, including explicit unavailable-check skips and retained executed failures.

Validation: frozen focused first/retest 11 PASS / 0 FAIL / 2 SKIP; LCD 81, local quote 76, recovery 41 and all disposable socket/book/tax fixtures passed twice. All six local verifiers passed on the frozen final source: #1464 11/0/2; #1452 14/0/0; #1453 12/0/2; #1394 23/0/0; #1392 10/0/2; #1396 28/0/3 (PASS/FAIL/SKIP). The skips retain explicitly unverified scope; prior isolated runtime/identity controls remain scoped by their exact fingerprints. Fresh final-source identity observations passed twice (12/12 provider reads), and authenticated runtime isolation passed twice with zero unrelated CONNECT grants before/after and full owned-resource cleanup. All six exact-head hosted jobs must finish before merge. Two funded owned-chain controls used attested current contract and locked CW20 builds, verified exact tax/final-floor rollback and cleaned owned resources. Full cached-engine settlement parity and hooked/AutoLP artifact execution remain explicit skips.

The prior deployed revision still fails sustained availability and slow-tail acceptance; its receipts remain failures. This PR requires fresh exact-revision rollout and sustained desktop/phone and socket checks before deployed acceptance. No mainnet signing or broadcast. Evidence omits operational location metadata, credentials, actors and raw upstream bodies.

Related #1464; follows #1467. Keep #1456 rollout/history acceptance separate.

Scheduled four-second pair observations could spend 2.5 seconds on a failed provider and cancel a healthy fallback before its own attempt timeout. Cancellation then quarantined both providers, collapsing cached route availability. Trusted scheduled observations now release a closed-provider attempt neutrally on caller cancellation while retaining its rate charge. Real failures, negative HTTP evidence, generic cancellation and incomplete half-open probes still quarantine. Known negatives and typed integrity evidence are latched before asynchronous metadata recording, including caller cancellation during lock contention. Capture pair membership and its original config deadlines together before database awaits. A pair expiring during publication can no longer inherit a fresh sibling's later global expiry. Requests remain entirely local; provider caps, identity attestation, deadlines, freshness, supported semantics and execution floors remain unchanged. Use the temporarily accepted <=500 ms useful-result budget in the bounded public probe, with tests rejecting errors and rounded-over-budget results. The original tighter target remains deferred. Update invariants, recovery runbook, agent skill and the [verification/checklist](docs/qa/issue-1464/README.md), including explicit unavailable-check skips and retained executed failures. Validation: frozen focused first/retest 11 PASS / 0 FAIL / 2 SKIP; LCD 81, local quote 76, recovery 41 and all disposable socket/book/tax fixtures passed twice. All six local verifiers passed on the frozen final source: #1464 11/0/2; #1452 14/0/0; #1453 12/0/2; #1394 23/0/0; #1392 10/0/2; #1396 28/0/3 (PASS/FAIL/SKIP). The skips retain explicitly unverified scope; prior isolated runtime/identity controls remain scoped by their exact fingerprints. Fresh final-source identity observations passed twice (12/12 provider reads), and authenticated runtime isolation passed twice with zero unrelated CONNECT grants before/after and full owned-resource cleanup. All six exact-head hosted jobs must finish before merge. Two funded owned-chain controls used attested current contract and locked CW20 builds, verified exact tax/final-floor rollback and cleaned owned resources. Full cached-engine settlement parity and hooked/AutoLP artifact execution remain explicit skips. The prior deployed revision still fails sustained availability and slow-tail acceptance; its receipts remain failures. This PR requires fresh exact-revision rollout and sustained desktop/phone and socket checks before deployed acceptance. No mainnet signing or broadcast. Evidence omits operational location metadata, credentials, actors and raw upstream bodies. Related #1464; follows #1467. Keep #1456 rollout/history acceptance separate.
Preserve scheduled provider health and original quote expiry
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ed6ddec6af
Retain known failure evidence across cancellation and metadata contention. Capture original per-pair deadlines before publication awaits; document the temporary 500 ms target and verified scope.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/cl8y-dex-terraclassic!1468
No description provided.