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 text-to-3d NVIDIA flakiness and pump/trending outage as known signatures
nirholas90628d426134
diff --git a/docs/ops/production-log-triage.md b/docs/ops/production-log-triage.mdindex fc90444af..06ad9bd0b 100644--- a/docs/ops/production-log-triage.md+++ b/docs/ops/production-log-triage.md@@ -571,6 +571,32 @@ body: {"error":"upstream_error","error_description":"Price history is unavailabl---+## 🟢 HTTP 502 on `/api/pump/trending`, `/api/v1/pump/trending`: `pump-trending-upstreams-502` (§pump-trending-upstreams)++```+HTTP 502 GET /api/pump/trending?limit=48&rich=1+```++- **Source:** [api/pump/trending.js](../../api/pump/trending.js) reads Birdeye+ first, then falls back to the pump.fun board through the shared,+ cross-instance reader [api/_lib/pump-feed-fetch.js](../../api/_lib/pump-feed-fetch.js),+ which already retries once honoring `Retry-After` and serves a stale board+ for up to 10 minutes after both live sources fail. A 502 only fires when+ Birdeye, pump.fun, AND the stale cache are all empty at once.+- **What it means:** usually the same Birdeye compute-unit exhaustion as+ `pump-price-history-upstreams-502` landing at the same moment pump.fun's+ frontend feed is also rate-limiting the shared Cloud Run egress IP, on an+ instance cold enough to hold no stale board yet. Self-healing: the 30s live+ cache and 10-minute stale window recover on the next request once either+ upstream answers.+- **Added:** 2026-10-15 deep sweep found 2 occurrences with no app-level+ crash log, matching this exact "both upstreams down, no stale board"+ shape rather than a code fault.+- **Monitor signature:** `pump-trending-upstreams-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````@@ -1366,12 +1392,15 @@ ERROR 502 POST /api/pump/launch-agent----## 🔴 5xx on `/api/vision`, `/api/tts/synthesize`: `three-ws-ai-providers-unavailable-5xx` (§three-ws-ai-providers-unavailable)+## 🔴 5xx on `/api/vision`, `/api/tts/synthesize`, `/api/v1/ai/text-to-3d`: `three-ws-ai-providers-unavailable-5xx` (§three-ws-ai-providers-unavailable)-- **Source:** `/api/vision` and `/api/tts/synthesize` each walk a provider- chain (NVIDIA, then Vertex Gemini, then OpenAI) and answer an honest- 502/503 when every rung fails. Mirrors `ccv-ai-providers-unavailable-503`- above, for this repository's own AI routes.+- **Source:** `/api/vision`, `/api/tts/synthesize` and `/api/v1/ai/text-to-3d`+ each walk a provider chain (NVIDIA, then Vertex Gemini, then OpenAI) and+ answer an honest 502/503 when every rung fails. Mirrors+ `ccv-ai-providers-unavailable-503` above, for this repository's own AI+ routes. `/api/v1/ai/text-to-3d` pins the NVIDIA NVCF TRELLIS rung+ specifically (added 2026-10-15 after a deep sweep found 3 `lane_error` 502s+ with no app-level crash log, matching this family).- **What it means:** the GCP billing hold ("Lightning dunning decision isdeny") on `aerial-vehicle-466722-p5` blocks the Vertex/Gemini rung (row 20)and the OpenAI key is dead (row 6), leaving only the NVIDIA rung, which thediff --git a/scripts/gcp-triage.mjs b/scripts/gcp-triage.mjsindex 0d8ee0c78..bf67f64c1 100644--- a/scripts/gcp-triage.mjs+++ b/scripts/gcp-triage.mjs@@ -301,6 +301,17 @@ const KNOWN_HTTP_SIGNATURES = [class: 'self-healing',action: `The read-only bonding-curve route exhausted its RPC/Jupiter fallback and returned an honest no-store upstream_error. Check healthz rpc_lanes: short cooling windows recover automatically. Investigate only if the same route persists across sweeps after at least one RPC lane is healthy; then inspect api/_lib/pump-curve-view.js rather than retrying a transaction. ${RUNBOOK} §solana-rpc.`,},+ {+ id: 'pump-trending-upstreams-502',+ // api/pump/trending.js already retries Birdeye then pump.fun's board+ // through a cross-instance cache with a 10-minute stale fallback+ // (api/_lib/pump-feed-fetch.js); a 502 means both upstreams failed AND+ // no stale board survived anywhere, a real but self-healing outage.+ test: (g) => g.service === 'three-ws-api' && g.status === 502+ && (g.path === '/api/pump/trending' || g.path === '/api/v1/pump/trending'),+ 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: 'cc-unconfigured-503',// Every /api/community/* and /api/clash route wraps the same client and@@ -406,11 +417,14 @@ const KNOWN_HTTP_SIGNATURES = [// routes: same two owner-gated causes (the GCP billing hold on// aerial-vehicle-466722-p5 blocking Vertex Gemini/Imagen, row 20; the// dead OpenAI key, row 6) feed the provider chain behind /api/vision- // and /api/tts/synthesize.+ // and /api/tts/synthesize. /api/v1/ai/text-to-3d pins the NVIDIA NVCF+ // TRELLIS rung of that same chain (2026-10-15 deep sweep: 3 lane_error+ // 502s, no app-level crash log, matching the known free-tier NVCF+ // capacity flakiness).test: (g) => g.service === 'three-ws-api' && g.status >= 500 &&- (g.path === '/api/vision' || g.path === '/api/tts/synthesize'),+ (g.path === '/api/vision' || g.path === '/api/tts/synthesize' || g.path === '/api/v1/ai/text-to-3d'),class: 'owner',- action: `/api/vision and /api/tts/synthesize each walk a provider chain (NVIDIA, then Vertex Gemini, then OpenAI) and answer an honest 502/503 when every rung fails. The GCP billing hold "Lightning dunning decision is deny" on aerial-vehicle-466722-p5 blocks the Vertex/Gemini rung (production-100-OWNER-ACTIONS.md row 20) and the OpenAI key is dead (row 6); together that leaves only the NVIDIA rung, which the forge_generation health sensor shows intermittently failing on free-tier NVCF capacity. Nothing to fix in code: restoring either billing-held provider clears this family, same as the identical cryptocurrency-cv pattern (ccv-ai-providers-unavailable-503). ${RUNBOOK} §three-ws-ai-providers-unavailable.`,+ action: `/api/vision, /api/tts/synthesize and /api/v1/ai/text-to-3d each walk a provider chain (NVIDIA, then Vertex Gemini, then OpenAI) and answer an honest 502/503 when every rung fails. The GCP billing hold "Lightning dunning decision is deny" on aerial-vehicle-466722-p5 blocks the Vertex/Gemini rung (production-100-OWNER-ACTIONS.md row 20) and the OpenAI key is dead (row 6); together that leaves only the NVIDIA rung, which the forge_generation health sensor shows intermittently failing on free-tier NVCF capacity. Nothing to fix in code: restoring either billing-held provider clears this family, same as the identical cryptocurrency-cv pattern (ccv-ai-providers-unavailable-503). ${RUNBOOK} §three-ws-ai-providers-unavailable.`,},{id: 'forge-image-ladder-exhausted-502',diff --git a/tests/gcp-triage.test.js b/tests/gcp-triage.test.jsindex 5438842a6..96b8a9ab5 100644--- a/tests/gcp-triage.test.js+++ b/tests/gcp-triage.test.js@@ -115,6 +115,28 @@ describe('gcp-triage HTTP classification', () => {expect(finding.class).toBe('env-action');});+ // 2026-10-15 deep sweep: /api/pump/trending 502'd twice with no app-level+ // crash log. api/pump/trending.js already retries Birdeye then pump.fun's+ // board through the shared cross-instance cache with a 10-minute stale+ // fallback (api/_lib/pump-feed-fetch.js), so a 502 only fires when both+ // upstreams are down AND no stale board survives anywhere: an honest+ // outage response, not a code fault.+ it('classifies a trending-feed double-upstream exhaustion as self-healing', () => {+ const [finding] = buildFindings([request({ status: 502, path: '/api/pump/trending' })]);+ expect(finding.signature).toBe('pump-trending-upstreams-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+ // three-ws-ai-providers-unavailable-5xx.+ it('classifies the free text-to-3d lane exhaustion under the same AI-providers signature', () => {+ const [finding] = buildFindings([request({ status: 502, path: '/api/v1/ai/text-to-3d' })]);+ expect(finding.signature).toBe('three-ws-ai-providers-unavailable-5xx');+ expect(finding.class).toBe('owner');+ });+it('classifies a holder-distribution RPC exhaustion 503 as self-healing', () => {const [finding] = buildFindings([request({ status: 503, path: '/api/crypto/holders' })]);expect(finding.signature).toBe('holders-rpc-exhausted-503');