WIP: Draft: Unblock pending registration snapshots (issue #14) #24
Loading…
Reference in a new issue
No description provided.
Delete branch "14-fix-voting-registration-stays-pending-no-cl8y-amount-after-snapshot-timeout"
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?
Summary
/v1/registerokstill does not mean Registered or a CL8Y amount.pending_intentsSQL errors fail closed (/health.intents_ok, L12) instead of looking like an empty queue./v1/balancesalways emitsregistered/pending/as_of_height/initial_balance. Missing keys are unknown, never a live 0. Terra and BSC pending → registered paths stay distinct.Related to #14. Do not close #14 until the live writer
/healthis not 503,intents_okstays true, and a real Terra (then BSC) register leaves pending and shows the GET/v1/balancesamount. Do not close #9 instead of this issue.Test plan
cargo test --workspace --lib(ingest window: boot jump, chunk, stale cursor)LEDGER_TEST_DATABASE_URL=… cargo test --workspace --tests(pending → snapshot Terra+BSC, LCD fail leaves intent, permission error is not an empty queue, privilege grants)cd frontend && npm test(timeout+Retry CTA, missingregisteredis not a live 0, poll backoff/abort)cd frontend && npx playwright test --workers=5(pending→registered, timeout+Retry without a second seed, remount resumes poll)voting-ledger/health200,terra_heightadvancing,intents_ok: true(proxy 503 is not a poller)operator-votingso live GET/v1/balancesincludesregistered/pending/as_of_height/newshow formatted amount; propose stays gated until the ledger row existsCloses #14
Closed: this MR targeted GitLab's empty issue branch instead of fix/14-registration-pending.
Pull request closed