Preserve scheduled observations within original producer deadlines #1518

Merged
PlasticDigits merged 1 commit from fix/1505-scheduled-provider-continuation into main 2026-10-15 23:42:29 +00:00
Owner

Scheduled native observers could abandon unused time/attempt allowance when a failed provider was followed by a briefly capacity-denied qualified alternative. They could also resume transport or accept positive data after an enclosing producer budget expired. Scheduled fallback now continues only unattempted capacity-denied alternatives inside the same original scan, attempt cap and deadline.

Explicit min-only LCD views carry original poll, floor, head, spawned-pair and nested-snapshot deadlines before futures are constructed. Data/identity guards reject expired transport starts and positive completion while retaining typed negatives and existing own-attempt, closed-provider cancellation, half-open and generic quarantine accounting. Actual timely head observations keep the original global lag policy; requested database minima are never invented as observed heights. No provider/work allowance, cadence, freshness, reference quality, economics or offline request rule changes.

Fixed diagnostics expose bounded local admission budgets without endpoints, actors or raw bodies; the existing monitoring sample needs no extra query. NR1505-10/11 and the provider, attestation, feed, solver and agent guides document the boundaries. Retained live failures and reproducible boundary controls are linked in the results.

  • OLD fallback, transport/identity and buffered-positive boundary failures retained; fixed focused FIRST/RETEST pass.
  • Final boundary controls 12, producer controls five, full LCD 129 plus one existing ignored, and wrapper 35 pass FIRST/RETEST; three independent reviews are clean.
  • Legacy height-policy test remains byte-identical; timely observed height 900 still rejects later height 860 under the original 20-block lag rule.
  • Final nine-stage frozen-source wave: 123 passing verifier groups, zero remaining failures, nine explicit scope skips; Clippy succeeds with 155 existing warnings. All 1,207 application files and 2,009 verification inputs match before/after. The repaired disposable runtime fixture passes FIRST/RETEST; the original credential-provisioning failure remains recorded.
  • Genuine CI485 on exact head 687ece34: contracts 999, frontend 3,470, library 908 and PostgreSQL 86; zero failures and two explicitly ignored cases.
  • Exact merged Coolify revision/log attestation, independent backend warmup, sustained native socket/browser FIRST/RETEST and positive original-expiry callback evidence.

Follow-up for #1505. Focused results, invariants and retained failures. Keep the issue open pending actual deployed acceptance. Original issues stay closed; wallet/device and exhaustive acceptance work remain excluded.

Scheduled native observers could abandon unused time/attempt allowance when a failed provider was followed by a briefly capacity-denied qualified alternative. They could also resume transport or accept positive data after an enclosing producer budget expired. Scheduled fallback now continues only unattempted capacity-denied alternatives inside the same original scan, attempt cap and deadline. Explicit min-only LCD views carry original poll, floor, head, spawned-pair and nested-snapshot deadlines before futures are constructed. Data/identity guards reject expired transport starts and positive completion while retaining typed negatives and existing own-attempt, closed-provider cancellation, half-open and generic quarantine accounting. Actual timely head observations keep the original global lag policy; requested database minima are never invented as observed heights. No provider/work allowance, cadence, freshness, reference quality, economics or offline request rule changes. Fixed diagnostics expose bounded local admission budgets without endpoints, actors or raw bodies; the existing monitoring sample needs no extra query. NR1505-10/11 and the provider, attestation, feed, solver and agent guides document the boundaries. Retained live failures and reproducible boundary controls are linked in the results. - [x] OLD fallback, transport/identity and buffered-positive boundary failures retained; fixed focused FIRST/RETEST pass. - [x] Final boundary controls 12, producer controls five, full LCD 129 plus one existing ignored, and wrapper 35 pass FIRST/RETEST; three independent reviews are clean. - [x] Legacy height-policy test remains byte-identical; timely observed height 900 still rejects later height 860 under the original 20-block lag rule. - [x] Final nine-stage frozen-source wave: 123 passing verifier groups, zero remaining failures, nine explicit scope skips; Clippy succeeds with 155 existing warnings. All 1,207 application files and 2,009 verification inputs match before/after. The repaired disposable runtime fixture passes FIRST/RETEST; the original credential-provisioning failure remains recorded. - [x] Genuine CI485 on exact head 687ece34: contracts 999, frontend 3,470, library 908 and PostgreSQL 86; zero failures and two explicitly ignored cases. - [ ] Exact merged Coolify revision/log attestation, independent backend warmup, sustained native socket/browser FIRST/RETEST and positive original-expiry callback evidence. Follow-up for #1505. [Focused results, invariants and retained failures](https://git.cl8y.com/code/cl8y-dex-terraclassic/src/branch/fix/1505-scheduled-provider-continuation/docs/qa/issue-1505/RESULTS.md). Keep the issue open pending actual deployed acceptance. Original issues stay closed; wallet/device and exhaustive acceptance work remain excluded.
Preserve scheduled observations within original producer deadlines
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
687ece3466
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!1518
No description provided.