ops: post-merge Coolify + indexer stack for !378–!388 #583
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#583
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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
MRs !1096 !1097 !1098 !1099 !1101 !1102 !1104 !1105 !1106 are on
main. This issue tracks production rollout and leftover manual ACs that cannot be closed from the merge machine.Related: #573 was the previous post-merge stack.
Indexer deploy
Apply new migrations on the production indexer (auto-migrate on boot is enough if the process is restarted):
20260820100000_hub_prices_lunc.sql(#570)20260820120000_global_stats_pool_tvl.sql(#569)20260820156800_repair_candle_usd_as_of_oracle.sql(#568 — USTC/LUNC as-of repair; UST1/USTR history cannot be replayed)20260820200000_venus_vfdusd_rates.sql(#571)Env (indexer only, never
VITE_*):BSC_RPC_URLSfor VenusexchangeRateStored(#571)Confirm after restart:
Oracle: FDUSD/USDnotvFDUSD/USD(#580)GET /api/v1/oracle/price/vfdusdhasdisplay_name=FDUSD/USD, additivevenus, and/price/fdusdis 400GET /api/v1/hub-pricesincludeslunc+asset_address;/hub-prices/luncis the DEX-card snapshot;/oracle/price/luncstays CEXGET /api/v1/overviewadditivetotal_liquidity_usd/ Δ% (em-dash when young)global_stats_24h.updated_atadvances; token/trader 24h windows decay (#577)Frontend / Coolify
/og-image.pngis the community 1200×630 card andog:imageis absolutehttps://dex.cl8y.com/og-image.png(#578 AC8)/protocol: four hub cells + wrap AddressRows (#570); vFDUSD tab heading vFDUSD, CEX FDUSD reference price, Venus 1 vFDUSD Price (#571)/charts+/protocolphone-width: Last 24h trailing copy (#576)Out of scope here
UST1/USTR candle USD history replay (no hub time series) stays documented on #568.
marked as related to #568
marked as related to #569
marked as related to #570
marked as related to #571
marked as related to #576
marked as related to #577
marked as related to #578
marked as related to #579
marked as related to #580
Production verify (indexer rebuild after
1c530ec6)Live API:
https://indexer.dex.cl8y.comat ~2026-08-20 04:20 UTC. Logs from the post-rebuild boot.Venus / BSC (
BSC_RPC_URLS, #571)Pass. Poller started
Venus vFDUSD poller: enabled(not skipped). Repeated samples:1.22585335…→1.22585346…FDUSD per 1 vFDUSD (source=venus_bsc)API matches logs:
GET /api/v1/oracle/price/vfdusd→display_name=FDUSD/USD,quote_asset=FDUSD, additivevenus.fdusd_per_vfdusd=1.22585352…,source=venus_bsc, pin0xc4ef4229…ba0baGET /api/v1/oracle/price/vfdusd/venus→ same snapshotGET /api/v1/oracle/price/fdusd→ 400 (no alias)exchangeRateStoredis gone on live Core Pool vFDUSD; production is oneth_callofexchangeRateCurrent(1c530ec6). Not a tx.#580 CEX identity
Pass. Logs are
Oracle: FDUSD/USD avg $0.998…, nevervFDUSD/USD. USTC/LUNC keepvenus: null.Hub LUNC (#570)
Pass.
GET /api/v1/hub-pricestickerscustc | lunc | ust1 | ustr; LUNC hasasset_address=terra1437qslye72t7qmmahn4t5chz50r8a62g45phwkquwpyu2l62u6ksqssgdg,source_pair=null(CEX wrap 1:1)GET /api/v1/hub-prices/luncis that DEX-card snapshotGET /api/v1/oracle/price/luncstays CEX (display_name=LUNC/USD, KuCoin/MEXC/CoinGecko)Overview TVL (#569)
Pass with young Δ%.
GET /api/v1/overview:total_liquidity_usd ≈ 20871.67(priced_pair_count=3,unpriced_pair_count=11)liquidity_change_24h_pct/_30d_pctand*_agoare null (UI em-dash until a baseline exists)custc_price_usd,ust1_price_usd,ustr_price_usdCatch-up
Indexer acquired the poller lock, synced 14 factory pairs, then indexed
30027323+(e.g. height 30027326 with 88 txs). Earlycheckpoint height differs … resyncing (not a reorg)warnings settled once catch-up caught the DB cursor.Leftovers (not blockers for Venus)
WARN … Initial rolling trader volumes refresh failed: numeric field overflow— #577 window path; Venus/oracle still healthy. Needs a follow-up if it persists each boot.https://dex.cl8y.com/og-image.pngis 200image/png(~83 KB), but HTMLog:image/twitter:imageare still relative/og-image.png, not absolutehttps://dex.cl8y.com/og-image.png. X/Telegram/Discord cache reset still pending./protocolSPA copy (#570 / #571 / #576) not checked in a browser this pass (shell HTML has no hydrated StatBox text).Venus + hub + overview indexer ACs from this issue are live. Remaining work is the SPA OG absolute URL, social cache reset, and the trader-volume overflow warn.
Production verify (Coolify frontend rebuild)
Live at 2026-08-20 05:21 UTC. Frontend HTML
Last-Modified: 2026-08-20 05:09:01 GMT. IndexerGET /health→{"status":"ok"}. Playwright smoke: 5 workers againsthttps://dex.cl8y.com(risk modal dismissed; no wallet).This pass covers the leftovers from the indexer-only comment: SPA OG absolute URL,
/protocol+/chartscopy, crawler meta.#578 AC8 Open Graph
Pass. Previous relative
/og-image.pngis gone after this Coolify bake.og:image/og:image:secure_url/twitter:imagehttps://dex.cl8y.com/og-image.pngtwitter:cardsummary_large_imageog:image:width×height1200×630GET /og-image.pngimage/png, 1200×630, 660 922 bytes (~645 KB, under 1 MB / 5 MB)/,/protocol,/chartsindex.htmlshellCache-Control: no-cacheon HTML)VITE_PUBLIC_ORIGIN:"https://dex.cl8y.com"X/Twitter card cache reset and a live paste into Telegram/Discord still need an operator (no session here). Crawler HTML is now correct, so a validator refresh should pick up the medallion.
/protocolSPA (#570 / #571 / #569 / #576)Pass.
$marks (LUNC$0.0000503167, no compactT). cUSTC + LUNC show wrapAddressRow(terra1…); nosource_pair. UST1 + USTR keep source-pair rows.vFDUSD / USD). CEX StatBox FDUSD reference price ≈$0.9988. Venus 1 vFDUSD Price ≈1.22588 FDUSD(source=Venus). CoinGecko still in the CEX source table (#579 UA is live enough to fetch).0%/Infinity) — matches overviewliquidity_change_*_pct=nullwhile the indexer is younger than those windows.title=Priced swaps in the last 24 hours, not a midnight reset./chartsphone-width (#576)Pass (waited for overview fetch; first paint is skeletons).
titles.No pairs yet).Indexer re-probe (still healthy)
https://indexer.dex.cl8y.comat 05:21 UTC — same ACs as the prior comment, still live:GET /api/v1/oracle/price/vfdusd→display_name=FDUSD/USD,quote_asset=FDUSD, additivevenus.fdusd_per_vfdusd=1.225857…,source=venus_bsc, pin0xc4ef4229…ba0ba./price/fdusd→ 400.GET /api/v1/hub-pricestickerscustc \| lunc \| ust1 \| ustr; LUNCasset_address=terra1437qslye72t7qmmahn4t5chz50r8a62g45phwkquwpyu2l62u6ksqssgdg,source_pair=null./hub-prices/luncis that snapshot;/oracle/price/luncstays CEX./hub-prices/cluncand/oracle/price/{custc,ust1,ustr}→ 400.GET /api/v1/overview:total_liquidity_usd ≈ 20947(priced_pair_count=3,unpriced_pair_count=11); 24h/30d Δ% still null. Hub USD fields present.total_volume_24h_usd ≈ 6091.Leftovers (not Coolify OG / protocol blockers)
VITE_FAUCET_ADDRESS=terra1388y0ppe2c3dy4nrmnpqp7e4ggukkrnmpzfjadfeu0pu2rm9cvkslfzcen. More menu still lists Mint.VITE_SHOW_TEST_TOKENS=""; Swap home has no gemstone tickers (EMBER/ONYX/RUBY not visible). Unset faucet + rebuild to hide Mint.numeric field overflowon rolling trader volumes (#577) — logs not re-pulled this pass.#578 AC8 SPA + #570/#571/#576 protocol/charts ACs from this issue are live on
dex.cl8y.com. Remaining operator click: social-card cache reset (and optional faucet unset).Recheck:
VITE_FAUCET_ADDRESSunset (F11)Live 2026-08-20 05:34 UTC. New Coolify bake: HTML
Last-Modified: 2026-08-20 05:31:45 GMT, bundle/assets/index-BA9MMfiw.js(wasindex-DqOlxuqq.js).Pass.
VITE_FAUCET_ADDRESS:""(wasterra1388y0ppe2c3dy4nrmnpqp7e4ggukkrnmpzfjadfeu0pu2rm9cvkslfzcen). Address gone from the JS.VITE_NETWORK:"mainnet",VITE_SHOW_TEST_TOKENS:"",VITE_PUBLIC_ORIGIN:"https://dex.cl8y.com"unchanged./mintshows Mint faucet is not available. (route still exists; nav no longer advertises it.)OG absolute URL from the prior rebuild is still present.
Optional leftover (not F11): faucet contract Pause /
RemoveMinterif LCDDripshould be dead too (F9). UI hide is done.