fix(indexer): CoinGecko oracle User-Agent (#579) #1098
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!1098
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/579-coingecko-user-agent"
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
Please add a descriptive User-Agent) because the oraclereqwestclient set timeout only.cl8y-dex-indexer/<version> (+https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic)User-Agent on KuCoin / MEXC / CoinGecko polls (X7).OracleError::MissingUserAgent(error once, then debug). 429 staysRateLimited(debug). Other 403s stay truncated parse/warn. Soft-fail averaging is unchanged.Closes #579
Acceptance criteria
CARGO_PKG_VERSIONonly).user-agentheader; tests fail if it is missing.RateLimited; 403 User-Agent body is not 429 (MissingUserAgent). Other 403 → Parse, truncated.$1peg, and catalog paths untouched.docs/indexer-invariants.mddocument UA + 403 vs 429.make verify-issue-579green without live CoinGecko.Test plan (recorded)
fetch_coingecko_sends_descriptive_user_agent)RateLimited)MissingUserAgent; 1.0 USD in body not ingested).usdinclude_coingecko_on_tick)f64_to_bdtest--lib oraclemake verify-issue-579greps skill/runbook/invariantsVerify
X1–X6 ticker allowlists /
$1/volume_usdcatalog were not changed.make verify-issue-515(Postgres + frontend) was not re-run in this MR;--lib oraclestill covers ticker symbol tests.Docs
skills/AGENTS_INDEXER_EXTERNAL_ORACLE.md— X7, do/don't for UA vs 429docs/runbooks/indexer-external-oracle.md— Sources table 403 vs 429docs/indexer-invariants.md— CoinGecko User-Agent (#579) rowAGENTS.md— skill +make verify-issue-579Closes #579
marked this merge request as ready
added 7 commits
main94750756- Merge origin/main into fix/579-coingecko-user-agent.Compare with previous version
mentioned in commit
a30edba3c7mentioned in issue #579
mentioned in issue #583