ops: deploy and reconcile DeFiLlama history after #1448 #1449
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#1449
Loading…
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?
The source implementation from PRs #1447/#1448 is being consolidated into main. This issue tracks the remaining production and upstream work from #1354, #1209 and #1210; those implementation issues can close without implying deployment success.
Required work:
20261008135400_missing_protocol_fee_sources.sqland20261008140000_defillama_fee_scope.sqlthrough the separate migrator, then deploy the indexer and frontend. Preserve DB1396 runtime/migrator separation, rollback and deployment receipts.backfill-defillama --start YYYY-MM-DD --end YYYY-MM-DDafter ledger repair. Preserve historical marks and auxiliary snapshots. Obtain and verify upstream volume/fee chart reload, including the missing 2026-08-17 volume day.docker runQA cluster was reachable. Host loopback IPv6 is disabled. The stalled Compose probe was cancelled and the verifier rerun with an explicit network skip, without treating it as a socket PASS.Fresh read-only diagnostic at 2026-10-08T04:59:17Z checked 52 completed UTC days and returned FAIL with five findings and zero unavailable HTTP requests. Serving
/health.git_shawas4572e8779801c5c90b63ec95a0c7d5c38ce50bbe, earlier than the implementation:Existing PR evidence reports unavailable production SQL/SSH authentication. No production migration, deployment, paid transaction, history repair, external message or upstream reload was performed in this merge sweep. Keep credentials and raw private SQL receipts out of issue comments. CI is skipped by explicit user instruction; local passing checks are source/fixture evidence.
Ready instructions and evidence:
docs/qa/issue-1354/README.md,docs/qa/issue-1354/verification.md,scripts/qa/reconcile-defillama-fees-1354.sql, andscripts/defillama/install-drift-monitor.sh. This is substantive post-merge work, not a verification-only hold. Keep completed #631/#687 closed.Merge sweep completed: PRs #1447/#1448 are merged; source issues #1354/#1209/#1210 are closed with problem and follow-up comments. Main is pushed at
b26b762c; both PR heads are actual ancestors, local main matches origin/main, and no stashes or uncommitted source work remain. Only the other worker's registered investigation branch/worktree is retained. The drift timer now uses the durable main checkout.The local checks passed with explicit live/network skips; the separate deployed diagnostic retains five real findings. This issue owns the substantive follow-up tasks in its body, including the unavailable real settings-batch paid receipt and external alert delivery. CI was skipped. The stale-branch merge rejection and protected-main push rejection were resolved with narrow temporary gates; every original protection field was restored and verified. Complete receipt.
Scheduled DeFiLlama drift alert: FAIL.
Observed UTC: 2026-10-08T05:19:34.980458+00:00
Completed UTC window: 2026-08-17 through 2026-10-07; days: 52; unavailable requests: 0.
Checkout:
b26b762c4a870251d780715eac6eea4e2db5c14e; serving:4572e8779801c5c90b63ec95a0c7d5c38ce50bbe.This is public read-only monitoring evidence; production accounting acceptance remains separate.
External delivery uses this issue, suppresses unchanged findings and permits at most one note per hour.
Completed bounded read-only TVL/price investigation at 2026-10-08T05:18:49Z, applying DL1354-9. Factory pagination returned all 22 pairs; every Pool query was pinned to columbus-5 block 30742198, 2026-10-08T05:17:17.455356668Z, and Hexxagon's response block-height header matched. 22/22 succeeded, with 17 raw token keys after the documented cLUNC/cUSTC native substitution. Publicnode's missing height headers were rejected and the complete census rerun through Hexxagon.
On-chain token_info at that block confirms UST1 6 decimals, USTR 18, CL8Y-cb 18 and ALPHA 6. Pooled raw amounts include UST1
82678342072, USTR3199388719844055210399519, CL8Y4478057326954333541394, uluna701992638945117, and uusd15766432066169.Both current and block-time historical Llama price reads still omit UST1/USTR/CL8Y. Of the 17 reserve keys, only uluna/uusd are valued; 15 CW20 keys are unvalued. The returned native marks are from timestamp
1791435110, 1,527 seconds before the pinned block. Applying them gives an indicative native component of $120,398.1576203274605100484244; this is not an exact same-time full-basket TVL. The live hub API labels UST1/USTR marks bounded advisory spots and explicitlyoracle_grade:false; no peg, multiplier, historical price or CW20 Llama coverage was invented. Verified upstream CW20 coverage and exact same-time full valuation remain unavailable.The CL8Y/ALPHA omission is separately explained:
protocol_tvl::catalog_kindsupports native/wrapped LUNC/USTC, UST1/USTR and pinned USDT, but neither CL8Y nor ALPHA.protocol_pair_tvltherefore omits their pair when both catalog kinds are absent. Economic contract-keyed marks are used for fee ingestion and are not interchangeable with this TVL catalog. The public CL8Y/ALPHA pair response indeed omits liquidity_usd, whereas UST1/ALPHA has a one-sided catalog stamp. This is not proof of a lost on-chain reserve or permission to invent a historical mark.Upstream access review found the PlasticDigits GitHub session has pull access, with push/maintain/admin all false on the relevant Llama repositories, and no reload credential among bao-exec's inventoried names. Available dimension-adapters workflows are build/validation/comment workflows, not a writable historical chart reload endpoint. Public chart reads still lack August 17 volume (and fees); a fresh chart read is not a reload receipt. Llama's adapter documentation directs missing-price requests to its maintainers. Also, #629 is the completed Keplr registry ticket, not Llama pricing acceptance; its comments move CoinGecko platform work to #644.
No production SQL, pricing writes, paid transaction, public upstream message or chart reload was performed by this investigation. Raw public-chain receipts are retained locally; remaining upstream actions need an authenticated maintainer request and subsequent readback, tracked by this issue.
Production operations completed on 2026-10-08 using OpenBao
bao-exec, scoped Coolify maintenance/recovery jobs andfj. Main remains clean atb26b762c4a870251d780715eac6eea4e2db5c14e.1d61cb2004c8877af0afd0ee6e6b8d1cef74a121c4f1f51f890ec04f071cd5ca. Four effective-runtime permission denials passed. Indexer and frontend finished rollout to exact main at 05:32 UTC and are healthy; existing runtime authentication/guarded startup succeeded without bootstrap/migrator credentials in the server.terra:ulunaquote preceding its event by 31–1569 seconds, confidence 0.99; no current quote or peg was substituted. All nine persisted amounts/USD values independently match the canonical receipts and PostgreSQL-rounded historical quotes.backfill-defillama --start 2026-08-17 --end 2026-10-07for all 52 completed days. Final repeatable-read/read-only production audit at 06:29 UTC: PASS, 52 days, zero protocol-daily mismatches, zero Llama-volume mismatches and zero Llama day/source amount/count/unpriced/unresolved mismatches. Priced ledger/Llama-eligible total: 1583.828041972552505998 USD; 16 unpriced events remain explicit, with zero excluded gem fees and zero unresolved pair-fee scope in this window. This is stored-accounting acceptance, not proof of upstream chart reload or full price coverage.Validation:
make verify-issue-135410 PASS/0 FAIL/1 explicit live-acceptance SKIP; nested invoice harness 5/5;make verify-issue-139628 PASS/0 FAIL/2 network skips, including 582 units and authenticated isolation repeated. A synthetic role initially retained unrelated CONNECT and correctly failed; correcting only its disposable grants and rerunning passed. Final production browser checks passed 9/9 after rollout, and deployed new fee labels passed their scoped renderer check. Historical listing recovery/public retest is recorded on #1446.Auxiliary evidence limit: 44 older days retain identical recorded price/as-of/quality/oracle-grade/supply fields. An unconditional all-52 equality check failed because the regular eight-day refresher resampled the recent eight during the interval (observed current price-as-of 06:11:58); all-52 immutability is not claimed. The repair uses unchanged auxiliary-preserving library code and passing fixtures. No older historical price/supply was invented or overwritten by replay.
Recovery used an expiring, directly authenticated, non-owner login with bounded DML/sequence grants and no ownership, memberships, database/schema creation or migration-history access. It was dropped after execution. All temporary maintenance/recovery jobs were stopped, bootstrap environment fields removed, and the protected backup volume retained. Technical configuration/file-mount and audit-query errors were fixed and retested; no assertion was bypassed. Durable reviewed companions, public proofs, execution/audit receipts and diagnostics are in
~/.local/state/cl8y-dex/ops-1449/; raw private SQL and credentials are not published.Remaining acceptance, keep this issue open:
Unavailable verification was explicitly skipped under the user's instruction; it did not prevent available deployment, repair, monitoring or network work. No human-custody/signing step was needed for these operations, so no operator engineering handoff/inbox card was created. Keep completed #631/#687/#1354/#1209/#1210 closed; this issue owns the remaining external/paid acceptance.
Scheduled DeFiLlama drift alert: FAIL.
Observed UTC: 2026-10-13T01:19:31.779933+00:00
Completed UTC window: 2026-08-17 through 2026-10-12; days: 57; unavailable requests: 0.
Checkout:
33ef64a99e65f0b0c7116e79bb7c6860b303beda; serving:33ef64a99e65f0b0c7116e79bb7c6860b303beda.This is public read-only monitoring evidence; production accounting acceptance remains separate.
External delivery uses this issue, suppresses unchanged findings and permits at most one note per hour.
PlasticDigits referenced this issue2026-10-15 05:32:59 +00:00
Closed at the user's request as part of consolidating issues #1449–#1500.
Production migrations, ledger repair, reaggregation, deployment and drift delivery are completed. Remaining upstream chart reload and CW20 price coverage move to #1504.
Replacement: #1504
Wallet/device chores and verification-only holds are intentionally excluded. Historical failed receipts remain unchanged; this closure does not claim every old acceptance checkbox passed.
Scheduled DeFiLlama drift alert: FAIL.
Observed UTC: 2026-10-16T01:18:46.630009+00:00
Completed UTC window: 2026-08-17 through 2026-10-15; days: 60; unavailable requests: 0.
Checkout:
5f486532a73e6effb93a053a8d02029f78c07d4e; serving:5f486532a73e6effb93a053a8d02029f78c07d4e.This is public read-only monitoring evidence; production accounting acceptance remains separate.
External delivery uses this issue, suppresses unchanged findings and permits at most one note per hour.
Scheduled DeFiLlama drift alert: FAIL.
Observed UTC: 2026-10-26T01:18:19.942247+00:00
Completed UTC window: 2026-08-17 through 2026-10-25; days: 70; unavailable requests: 0.
Checkout:
38c154958c9eb27a683a27c8dbaa121ccdb83da6; serving:b7b08736b3529af344a693ae6d16236a4f324c13.This is public read-only monitoring evidence; production accounting acceptance remains separate.
External delivery uses this issue, suppresses unchanged findings and permits at most one note per hour.
Scheduled DeFiLlama drift alert: FAIL.
Observed UTC: 2026-11-02T01:18:18.558942+00:00
Completed UTC window: 2026-08-17 through 2026-11-01; days: 77; unavailable requests: 0.
Checkout:
38c154958c9eb27a683a27c8dbaa121ccdb83da6; serving:b7b08736b3529af344a693ae6d16236a4f324c13.This is public read-only monitoring evidence; production accounting acceptance remains separate.
External delivery uses this issue, suppresses unchanged findings and permits at most one note per hour.
Scheduled DeFiLlama drift alert: FAIL.
Observed UTC: 2026-11-03T05:32:06.362392+00:00
Completed UTC window: 2026-08-17 through 2026-11-02; days: 70; unavailable requests: 8.
Checkout:
38c154958c9eb27a683a27c8dbaa121ccdb83da6; serving:b7b08736b3529af344a693ae6d16236a4f324c13.This is public read-only monitoring evidence; production accounting acceptance remains separate.
External delivery uses this issue, suppresses unchanged findings and permits at most one note per hour.
Scheduled DeFiLlama drift alert: FAIL.
Observed UTC: 2026-11-21T01:25:47.665145+00:00
Completed UTC window: 2026-08-23 through 2026-11-20; days: 90; unavailable requests: 0.
Checkout:
38c154958c9eb27a683a27c8dbaa121ccdb83da6; serving:b7b08736b3529af344a693ae6d16236a4f324c13.This is public read-only monitoring evidence; production accounting acceptance remains separate.
External delivery uses this issue, suppresses unchanged findings and permits at most one note per hour.
Scheduled DeFiLlama drift alert: FAIL.
Observed UTC: 2026-11-23T01:18:44.677709+00:00
Completed UTC window: 2026-08-25 through 2026-11-22; days: 90; unavailable requests: 0.
Checkout:
38c154958c9eb27a683a27c8dbaa121ccdb83da6; serving:b7b08736b3529af344a693ae6d16236a4f324c13.This is public read-only monitoring evidence; production accounting acceptance remains separate.
External delivery uses this issue, suppresses unchanged findings and permits at most one note per hour.