fix(indexer): preserve complete fee generations and bounded pool frontier #1469
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!1469
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/1464-pool-freshness"
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?
Scheduled pool observations can select a valid head older than already stored reserves, and a newly written raw generation temporarily lacks its compatible fee. These gaps leave common trading paths unavailable even while providers and reference prices are healthy.
Require the current live-pair height frontier inside the existing bounded provider scan. Preserve an exact previously qualified complete quote generation only during an explicitly validated pending fee phase, with its original time and expiry. Both quote publishers share the typed rule. Rejected headers, SQL failure, cancellation, changed fees and obsolete completion invalidate unsafe economics; cold producers cannot evade invalidation through qualification arriving during the request. Raw reserves continue publishing independently for valuation.
The phase registry has fixed namespace, marker, mirror, order and memory bounds. Quote requests perform no provider work. No provider cap, lag policy, reserve/reference freshness period, tax rule or execution floor is relaxed. The current external useful-latency target is 500 ms; tighter improvements remain deferred.
Verification and invariants: agent checklist, receipts, invariants, operator runbook, agent guidance.
b8e1888a6c7479bb362928a8e524ae7ca08b3b1f9857bb36fc012256ec0a03b6.Agents may explicitly SKIP an unavailable check with its reason and scope, marking the source review PASS WITH SKIPS when every executed check passes. An executed failure stays FAIL until fixed and retested. Source checks never establish unperformed deployment or economic acceptance. Prior deployed availability failures remain recorded; #1464 stays open until sustained deployed acceptance is established.
Refs #1464, #1452, #1453; sustained acceptance also tracked in #1456.
Issue criteria completed in their stated local scope:
Unavailable scope remains explicit: the bridge published-host path was attempted and unavailable, host IPv6 is disabled, full current local-engine funded settlement parity is not established, and historical/deployed acceptance is separate. Runtime-login and read-only identity supplements are reported independently from the scripts' built-in skips. Executed failures are preserved and corrected, including the synthetic-namespace and worker-shutdown fixture failures.