Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(triage): classify pump.fun coin-lookup Cloudflare-challenge 502 as self-healing
nirholas620503691910
diff --git a/docs/ops/production-log-triage.md b/docs/ops/production-log-triage.mdindex 06ad9bd0b..4abfcde98 100644--- a/docs/ops/production-log-triage.md+++ b/docs/ops/production-log-triage.md@@ -597,6 +597,29 @@ HTTP 502 GET /api/pump/trending?limit=48&rich=1---+## 🟢 HTTP 502 on `/api/pump/coin`: `pump-coin-lookup-upstream-502` (§pump-coin-lookup-upstream)++```+HTTP 502 GET /api/pump/coin?mint=<mint>&miss=empty+```++- **Source:** `handleCoin()` in [api/pump/[action].js](../../api/pump/[action].js)+ fetches `/coins/<mint>` from pump.fun and falls back to the last-good cached+ copy (`serveStaleCoin`) on any non-2xx/non-404 upstream response. A 502+ `upstream_failed` only fires when pump.fun rejects the request AND no+ last-good copy exists yet for that specific mint.+- **What it means:** confirmed 2026-10-23 by reading the app logs for the+ sampled mint: pump.fun answered with its own Cloudflare anti-bot "Just a+ moment..." challenge page (HTTP 403), not a real pump.fun-side 404 or 500.+ Self-healing: the next successful fetch repopulates the cache for that mint.+- **Added:** 2026-10-23 triage-lane sweep found 1 occurrence with no+ app-level crash log, matching the known pump.fun Cloudflare-challenge shape+ rather than a code fault.+- **Monitor signature:** `pump-coin-lookup-upstream-502` in+ [scripts/gcp-triage.mjs](../../scripts/gcp-triage.mjs), classified `self-healing`.++---+## 🟡 `429 Client Error … huggingface.co` → `LocalEntryNotFoundError` on a model worker — `hf-hub-rate-limited````diff --git a/scripts/gcp-triage.mjs b/scripts/gcp-triage.mjsindex bf67f64c1..9b3e70ac7 100644--- a/scripts/gcp-triage.mjs+++ b/scripts/gcp-triage.mjs@@ -312,6 +312,18 @@ const KNOWN_HTTP_SIGNATURES = [class: 'self-healing',action: `Birdeye and the pump.fun board fallback both failed inside the 5s upstream timeout with no cached board (live or stale) to serve. Check healthz rpc_lanes and Birdeye's "Compute units usage limit exceeded" message (same cause as pump-price-history-upstreams-502); the 30s live cache and 10-minute stale window recover automatically once either upstream answers. Investigate only if the same route persists across multiple sweeps with both upstreams reporting healthy. ${RUNBOOK} §pump-trending-upstreams.`,},+ {+ id: 'pump-coin-lookup-upstream-502',+ // api/pump/[action].js handleCoin() hits pump.fun's /coins/<mint> and+ // falls back to the last-good cached copy (serveStaleCoin) on failure;+ // a 502 upstream_failed means pump.fun rejected the request AND no+ // last-good copy existed for that mint. Confirmed 2026-10-23: pump.fun+ // answered with its own Cloudflare "Just a moment..." challenge page+ // (403), not a real 404/500, for the sampled mint.+ test: (g) => g.service === 'three-ws-api' && g.status === 502 && g.path === '/api/pump/coin',+ class: 'self-healing',+ action: `pump.fun's own Cloudflare anti-bot challenge rejected the /coins/<mint> lookup (confirmed via app logs: a "Just a moment..." 403 challenge page, not a pump.fun-side 404/500) and no last-good cached copy existed for that specific mint to fall back to. Nothing in our code is broken: api/pump/[action].js's handleCoin() already retries and falls back to the cache when one exists. Investigate only if the same mint 502s across multiple sweeps after pump.fun's public site itself loads cleanly in a browser. ${RUNBOOK} §pump-coin-lookup-upstream.`,+ },{id: 'cc-unconfigured-503',// Every /api/community/* and /api/clash route wraps the same client anddiff --git a/tests/gcp-triage.test.js b/tests/gcp-triage.test.jsindex 96b8a9ab5..bd89fd36c 100644--- a/tests/gcp-triage.test.js+++ b/tests/gcp-triage.test.js@@ -127,6 +127,17 @@ describe('gcp-triage HTTP classification', () => {expect(finding.class).toBe('self-healing');});+ // 2026-10-23 triage-lane sweep: /api/pump/coin 502'd once with no app-level+ // crash log; app logs showed pump.fun's own Cloudflare "Just a moment..."+ // challenge page for the mint, and handleCoin() in api/pump/[action].js+ // only 502s when that upstream rejection has no last-good cache to fall+ // back to: an honest outage response, not a code fault.+ it('classifies a single-coin lookup upstream rejection as self-healing', () => {+ const [finding] = buildFindings([request({ status: 502, path: '/api/pump/coin' })]);+ expect(finding.signature).toBe('pump-coin-lookup-upstream-502');+ expect(finding.class).toBe('self-healing');+ });+// 2026-10-15 deep sweep: /api/v1/ai/text-to-3d 502'd ("lane_error") pinning// the NVIDIA NVCF TRELLIS backend, the same free-tier capacity flakiness// already tracked for /api/vision and /api/tts/synthesize under