Honor provider timeouts within native observation budgets #1513

Merged
PlasticDigits merged 2 commits from fix/1505-native-observation-budget into main 2026-10-15 10:01:53 +00:00
Owner

The native router observation had a2s wrapper timeout, shorter than the deployed2.5s provider-attempt limit. A permitted2.2s response was canceled and native-output quotes returned503. Run the independent router read alongside the remaining settlement observations within existing provider limits and the original7.9s publication margin/8s outer poll. Preserve thirteen data reads, two permits/four RPS, original freshness and fail-closed behavior.

Add request-owned stale candidate witnesses for the separate native-input expiry gap. Final503s emit at most one witness per fixed component, with bounded age/expiry scalars; successful quotes emit none. No assets, actors, query strings or provider responses are logged. The bounded Grafana helper summarizes these fields. A witness alone does not establish the sole cause.

Verification: make verify-issue-1505, 1499 and 1464 passed first/retest without executed failures; source verifiers retain explicit separate live/funded skips. Native checks include18 wrapper regressions, HTTP privacy/correlation controls,36 frontend tests,38 browser QA controls and9 probe controls per pass. Normal formatting, Clippy, types and pinned secret-scanner hooks passed. Disposable integration databases remain isolated.

Both prior deployments' live failures remain retained in docs/qa/issue-1505. Release2 had four reverse503s and two browser native-input stale503s, so #1505 remains open. This PR fixes the demonstrated router timeout mismatch and adds evidence for the remaining input-side failure; exact-revision deployment and focused live acceptance follow source CI. Invariants and QA guidance are crosslinked through NR1505 and the focused results.

Related: #1505, #1510, #1509.

The native router observation had a2s wrapper timeout, shorter than the deployed2.5s provider-attempt limit. A permitted2.2s response was canceled and native-output quotes returned503. Run the independent router read alongside the remaining settlement observations within existing provider limits and the original7.9s publication margin/8s outer poll. Preserve thirteen data reads, two permits/four RPS, original freshness and fail-closed behavior. Add request-owned stale candidate witnesses for the separate native-input expiry gap. Final503s emit at most one witness per fixed component, with bounded age/expiry scalars; successful quotes emit none. No assets, actors, query strings or provider responses are logged. The bounded Grafana helper summarizes these fields. A witness alone does not establish the sole cause. Verification: `make verify-issue-1505`, `1499` and `1464` passed first/retest without executed failures; source verifiers retain explicit separate live/funded skips. Native checks include18 wrapper regressions, HTTP privacy/correlation controls,36 frontend tests,38 browser QA controls and9 probe controls per pass. Normal formatting, Clippy, types and pinned secret-scanner hooks passed. Disposable integration databases remain isolated. Both prior deployments' live failures remain retained in docs/qa/issue-1505. Release2 had four reverse503s and two browser native-input stale503s, so #1505 remains open. This PR fixes the demonstrated router timeout mismatch and adds evidence for the remaining input-side failure; exact-revision deployment and focused live acceptance follow source CI. Invariants and QA guidance are crosslinked through NR1505 and the focused results. Related: #1505, #1510, #1509.
Honor provider timeouts within native observation budgets
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was canceled
7f0033d0ef
Refuse expired router work before provider admission
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
5832ce8630
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!1513
No description provided.