fix(indexer): preserve pool coverage and bound provider failover #1454
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/cl8y-dex-terraclassic!1454
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-1453-liquidity-feed"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Successful pool reads could be discarded when later fee or book queries failed, allowing supported reserves to expire and making a partial liquidity subtotal look like a withdrawal. This change commits pool observations independently and keeps compatible hybrid reserve/book generations separate.
The pool lane acquires matching fees after committing reserves; the book lane consumes those observations. Queries pin and verify the same height. Monotonic writes preserve original timestamps, and advisory leadership plus cancellation monitoring coalesces each lane across replicas. Shared provider budgets, bounded capacity waits, healthy failover, capped backoff/Retry-After and one recovery probe limit upstream work. Discovery retains successful phases through capacity waits instead of skipping legitimate events.
Adds migration
20261009145300, full valid reserve/book storage ranges, focused failure/recovery fixtures,make verify-issue-1453, redacted operational probes and LF1453 agent guidance. Runtime still requires a separate migration job. Retail presentation stays unchanged; browser fixture matching now accepts the Vite development proxy prefix.Refs #1453. Complete removal of existing quote-triggered LCD calls remains #1452; this PR does not claim zero quote RPC or the <250 ms quote target.
Final verification:
make verify-issue-145312 PASS / 0 FAIL / 2 SKIP;make verify-issue-138013 PASS / 0 FAIL / 2 SKIP. Implementation commitb9809df5; evidence commit91c26fa9.Validation and scoped evidence: verification report, counts and fingerprint.
openbao-tools/workstation/bao-exec: three providers configured; two passed height-pinned pool probes and one lacked the required response-height header. The deployed revision was pre-fix.Issue acceptance checklist:
Reviewing agent instructions: follow the QA checklist, provision a dedicated disposable QA database, run
make verify-issue-1453, inspect the migration and pool-versus-hybrid readers, then examine the redacted operational/history receipts. Mark unavailable items SKIP with the attempted prerequisite and concrete reason; overall PASS WITH SKIPS is permitted when runnable checks pass. Leave skipped acceptance unchecked. Executed failures must be repaired and retested, and local PASS cannot establish production deployment or reconstruct missing historical inputs.Followups are deployment of the separately migrated indexer, measured live recovery/latency, #1452 integration, and evidence-supported historical reconciliation if original observations become available. This PR intentionally does not close #1453.